|
30 | 30 | } |
31 | 31 |
|
32 | 32 | /* ------------------------------------ */ |
33 | | - /* NAVBAR - WERSJA Z INTER (JAK NA FOTO)*/ |
| 33 | + /* NAVBAR */ |
34 | 34 | /* ------------------------------------ */ |
35 | 35 | .navbar { |
36 | 36 | background: var(--bg-nav); |
37 | 37 | border-bottom: 1px solid var(--border-color); |
38 | | - padding: 15px 40px; |
| 38 | + padding: 22px 40px; |
39 | 39 | display: grid; |
40 | | - grid-template-columns: 1fr auto 1fr; /* Lewo, Środek, Prawo */ |
| 40 | + grid-template-columns: 1fr auto 1fr; |
41 | 41 | align-items: center; |
42 | 42 | position: sticky; |
43 | 43 | top: 0; |
44 | 44 | z-index: 1000; |
45 | 45 | } |
46 | 46 |
|
47 | | - /* LEWA STRONA (Logo) */ |
| 47 | + /* LEWA STRONA (Obrazek + Logo) */ |
48 | 48 | .nav-left { |
49 | 49 | display: flex; |
| 50 | + align-items: center; |
| 51 | + gap: 15px; |
50 | 52 | justify-content: flex-start; |
51 | 53 | } |
| 54 | + .nav-logo { |
| 55 | + width: 42px; |
| 56 | + height: 42px; |
| 57 | + border-radius: 8px; |
| 58 | + border: 1px solid rgba(255, 255, 255, 0.2); |
| 59 | + object-fit: cover; |
| 60 | + } |
52 | 61 | .nav-brand { |
53 | | - font-size: 1.4rem; |
| 62 | + font-size: 1.5rem; |
54 | 63 | font-weight: 900; |
55 | 64 | text-decoration: none; |
56 | 65 | color: #fff; |
57 | 66 | letter-spacing: -0.5px; |
| 67 | + /* Usunięte wymuszanie wielkich liter, żeby zachować DevLabStudy */ |
58 | 68 | } |
59 | 69 |
|
60 | | - /* ŚRODEK (Menu) */ |
| 70 | + /* ŚRODEK (Menu z kreskami i ORBIT™) */ |
61 | 71 | .nav-center { |
62 | 72 | display: flex; |
63 | 73 | justify-content: center; |
64 | 74 | align-items: center; |
65 | | - gap: 25px; /* Odstępy między linkami */ |
| 75 | + gap: 20px; |
66 | 76 | } |
67 | 77 | .nav-center a { |
68 | 78 | text-decoration: none; |
69 | 79 | color: var(--text-muted); |
70 | 80 | font-weight: 600; |
71 | 81 | font-size: 0.95rem; |
72 | 82 | transition: 0.3s; |
| 83 | + text-transform: uppercase; |
73 | 84 | } |
74 | 85 | .nav-center a:hover, .nav-center a.active { color: var(--accent-blue); } |
| 86 | + .nav-separator { color: rgba(255, 255, 255, 0.2); font-weight: 300; } |
75 | 87 |
|
76 | 88 | /* PRAWA STRONA (Community) */ |
77 | 89 | .nav-right { |
|
82 | 94 | .dropbtn { |
83 | 95 | background: #111; |
84 | 96 | color: #fff; |
85 | | - padding: 8px 14px; |
| 97 | + padding: 8px 16px; |
86 | 98 | border-radius: 6px; |
87 | 99 | border: 1px solid rgba(255, 255, 255, 0.1); |
88 | 100 | cursor: pointer; |
|
95 | 107 | display: none; |
96 | 108 | position: absolute; |
97 | 109 | right: 0; |
98 | | - top: 120%; |
| 110 | + top: 130%; |
99 | 111 | background: #0a0a0a; |
100 | 112 | min-width: 180px; |
101 | 113 | border: 1px solid rgba(255, 255, 255, 0.1); |
|
169 | 181 |
|
170 | 182 | <nav class="navbar"> |
171 | 183 | <div class="nav-left"> |
172 | | - <a href="/" class="nav-brand">DevLabStudy</a> |
| 184 | + <img src="/profileIcon_g3ffyg7edeeg1.jpeg" alt="DevLab Logo" class="nav-logo"> |
| 185 | + <a href="/" class="nav-brand">DevLabStudy©</a> |
173 | 186 | </div> |
174 | 187 |
|
175 | 188 | <div class="nav-center"> |
176 | | - <a href="/" class="active">Hub</a> |
177 | | - <a href="/blog">Blog</a> |
178 | | - <a href="/homelab">HomeLab</a> |
179 | | - <a href="/orbit">Orbit™</a> |
| 189 | + <a href="/" class="active">HUB</a> |
| 190 | + <span class="nav-separator">|</span> |
| 191 | + <a href="/blog">BLOG</a> |
| 192 | + <span class="nav-separator">|</span> |
| 193 | + <a href="/homelab">HOMELAB</a> |
| 194 | + <span class="nav-separator">|</span> |
| 195 | + <a href="/orbit">ORBIT™</a> |
180 | 196 | </div> |
181 | 197 |
|
182 | 198 | <div class="nav-right"> |
|
0 commit comments