Spaces:
Runtime error
Runtime error
File size: 2,571 Bytes
d52cc5e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /* =========================================
3. شريط التصفح (Navbar)
========================================= */
.navbar {
position: fixed;
top: 0;
left: 0;
transform: none;
width: 100%;
padding: 20px 50px;
backdrop-filter: blur(15px);
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
border-radius: 0;
background: rgba(10, 15, 28, 0.4);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo {
color: white;
font-size: 24px;
font-weight: 900;
text-decoration: none;
}
.logo i {
color: var(--primary-color);
}
nav ul {
display: flex;
gap: 40px;
list-style: none;
font-size: 18px;
font-weight: 700;
}
nav ul li a {
color: #ffffff;
text-decoration: none;
font-weight: 700;
transition: 0.3s;
position: relative;
}
nav ul li a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -6px;
left: 0;
background-color: var(--primary-color);
transition: width 0.3s ease;
}
nav ul li a:hover::after {
width: 100%;
}
nav ul li a:hover {
color: var(--primary-color);
}
.nav-actions {
display: flex;
align-items: center;
gap: 25px;
font-weight: 700;
font-size: 16px;
}
/* =========================================
4. الأزرار ومبدل الثيم (Buttons & Toggle)
========================================= */
.theme-toggle {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
padding-bottom: 4px;
transition: 0.3s;
}
.theme-toggle i {
color: #ffd43b;
font-size: 15px;
}
.theme-toggle span {
font-size: 15px;
font-weight: 500;
color: white;
}
.sign-btn {
padding: 10px 32px;
border-radius: 50px;
background: rgba(0, 242, 254, 0.05);
border: 1px solid var(--primary-color);
color: var(--primary-color);
font-weight: 800;
font-size: 15px;
letter-spacing: 0.5px;
text-decoration: none;
transition: all 0.3s ease;
backdrop-filter: blur(4px);
}
.sign-btn:hover {
background: var(--primary-color);
color: #05080f;
box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
transform: translateY(-2px);
}
@media screen and (max-width: 768px) {
/* الكود ده هيخلي الصور متخرجش برة شاشة الموبايل */
img {
max-width: 100% !important;
height: auto !important;
}
} |