|
15 | 15 |
|
16 | 16 | /* IDENTYCZNY NAVBAR */ |
17 | 17 | .navbar { position: sticky; top: 0; z-index: 100; background: var(--bg-nav); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-color); padding: 15px 40px; display: flex; align-items: center; justify-content: space-between; } |
18 | | - .nav-left { display: flex; align-items: center; gap: 30px; } |
| 18 | + .nav-left { flex: 1; display: flex; justify-content: flex-start; } |
19 | 19 | .nav-brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); letter-spacing: -0.5px; } |
| 20 | + .nav-center { flex: 2; display: flex; justify-content: center; gap: 30px; } |
| 21 | + .nav-center a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; } |
| 22 | + .nav-center a:hover, .nav-center a.active { color: var(--accent-blue); } |
| 23 | + .nav-right { flex: 1; display: flex; justify-content: flex-end; } |
| 24 | + |
20 | 25 | .dropdown { position: relative; display: inline-block; padding: 10px 0; } |
21 | 26 | .dropbtn { color: var(--text-main); font-weight: 700; font-size: 0.95rem; cursor: pointer; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-color); transition: 0.3s; } |
22 | 27 | .dropdown:hover .dropbtn { background: rgba(255,255,255,0.2); } |
23 | | - .dropdown-content { display: none; position: absolute; left: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; } |
| 28 | + .dropdown-content { display: none; position: absolute; right: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; } |
24 | 29 | .dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); } |
25 | 30 | .dropdown-content a { color: var(--text-main) !important; padding: 12px 20px; text-decoration: none; display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid var(--border-color); transition: background 0.2s; } |
26 | 31 | .dropdown-content a:hover { background: rgba(255,255,255,0.1); padding-left: 25px; } |
27 | | - .nav-right { display: flex; align-items: center; gap: 25px; } |
28 | | - .nav-right a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; } |
29 | | - .nav-right a:hover, .nav-right a.active { color: var(--accent-blue); } |
30 | 32 |
|
31 | 33 | .container { max-width: 900px; margin: 40px auto; padding: 0 20px; min-height: 60vh; } |
32 | 34 | .post-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 25px; margin-bottom: 20px; transition: 0.2s; border-left: 4px solid var(--accent-blue); } |
|
40 | 42 | <nav class="navbar"> |
41 | 43 | <div class="nav-left"> |
42 | 44 | <a href="/" class="nav-brand">DevLabStudy</a> |
| 45 | + </div> |
| 46 | + <div class="nav-center"> |
| 47 | + <a href="/">Hub</a> |
| 48 | + <a href="/blog" class="active">Blog</a> |
| 49 | + <a href="/homelab">HomeLab</a> |
| 50 | + <a href="/orbit">Orbit™</a> |
| 51 | + </div> |
| 52 | + <div class="nav-right"> |
43 | 53 | <div class="dropdown"> |
44 | 54 | <span class="dropbtn">Community ▾</span> |
45 | 55 | <div class="dropdown-content"> |
|
51 | 61 | </div> |
52 | 62 | </div> |
53 | 63 | </div> |
54 | | - <div class="nav-right"> |
55 | | - <a href="/">Hub</a> |
56 | | - <a href="/blog" class="active">Blog</a> |
57 | | - <a href="/homelab">HomeLab</a> |
58 | | - <a href="/orbit">Orbit™</a> |
59 | | - </div> |
60 | 64 | </nav> |
61 | 65 |
|
62 | 66 | <main class="container"> |
63 | 67 | <h1 style="border-bottom: 2px solid var(--border-color); padding-bottom: 10px;">Articles & Research</h1> |
64 | 68 | <ul style="list-style: none; padding: 0;"> |
65 | 69 |
|
66 | 70 | <li class="post-item"> |
67 | | - <div style="font-size: 0.9rem; color: var(--text-muted);">Zawsze Widoczny</div> |
| 71 | + <div style="font-size: 0.9rem; color: var(--text-muted);">March 2024</div> |
68 | 72 | <h2 class="post-title"><a href="#">Welcome to DevLab Blog</a></h2> |
69 | | - <p style="color: #cbd5e1;">Tutaj wkrótce pojawią się moje wpisy z plików Markdown. Jeśli widzisz tylko ten wpis, sprawdź poprawność dat w folderze _posts.</p> |
| 73 | + <p style="color: #cbd5e1;">Pamiętaj, aby zmienić datę w nazwie swoich wpisów Markdown (np. na 2024 zamiast 2026), żeby Jekyll mógł je poprawnie odczytać!</p> |
70 | 74 | </li> |
71 | 75 |
|
72 | 76 | {% for post in site.posts %} |
|
0 commit comments