Skip to content

Commit 1de6ee2

Browse files
authored
Update blog.html
1 parent 3708bd1 commit 1de6ee2

1 file changed

Lines changed: 39 additions & 22 deletions

File tree

‎blog.html‎

Lines changed: 39 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,45 +7,63 @@
77
<head>
88
<meta charset="UTF-8">
99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10-
<title>Blog | DevLabStudy©</title>
11-
<link rel="icon" type="image/png" href="/qr-code.png?v=fixed_buttons">
10+
<title>Blog | DevLabStudy</title>
11+
<link rel="icon" type="image/png" href="/qr-code.png">
1212
<style>
1313
:root {
14-
--bg-body: #f4f7fa; --bg-nav: #ffffff; --bg-card: #ffffff;
15-
--text-main: #1e293b; --text-muted: #64748b; --border-color: #e2e8f0;
16-
--accent-blue: #2563eb; --radius: 12px;
14+
--bg-body: #0f172a; --bg-nav: rgba(15, 23, 42, 0.85); --bg-card: #1e293b;
15+
--text-main: #f8fafc; --text-muted: #94a3b8; --border-color: #334155;
16+
--accent-blue: #3b82f6; --radius: 12px;
1717
}
18-
@media (prefers-color-scheme: dark) {
19-
:root {
20-
--bg-body: #0f172a; --bg-nav: #1e293b; --bg-card: #1e293b;
21-
--text-main: #f8fafc; --text-muted: #94a3b8; --border-color: #334155;
22-
--accent-blue: #3b82f6;
23-
}
24-
}
25-
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg-body); color: var(--text-main); margin: 0; padding: 0; line-height: 1.6; }
26-
.navbar { background: var(--bg-nav); border-bottom: 1px solid var(--border-color); padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
27-
.nav-brand { font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; }
28-
.nav-links a { margin-left: 20px; text-decoration: none; color: var(--text-muted); font-weight: 600; }
29-
.nav-links a.active { color: var(--accent-blue); }
18+
body { font-family: 'Inter', sans-serif; background: var(--bg-body); color: var(--text-main); margin: 0; line-height: 1.6; }
19+
20+
/* --- UNIWERSALNY NAVBAR --- */
21+
.navbar { background: var(--bg-nav); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); padding: 15px 40px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; }
22+
.nav-brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); letter-spacing: -0.5px; margin-right: 40px; }
23+
.nav-center { display: flex; gap: 25px; align-items: center; }
24+
.nav-center a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
25+
.nav-center a:hover, .nav-center a.active { color: var(--accent-blue); }
26+
27+
.dropdown { position: relative; display: inline-block; padding: 10px 0; }
28+
.dropbtn { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: 0.3s; cursor: pointer; }
29+
.dropdown:hover .dropbtn { color: var(--accent-blue); }
30+
.dropdown-content { display: none; position: absolute; left: 0; top: 100%; background-color: var(--bg-card); min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
31+
.dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
32+
.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; }
33+
.dropdown-content a:last-child { border-bottom: none; }
34+
.dropdown-content a:hover { background: rgba(255,255,255,0.05); padding-left: 25px; }
35+
3036
.container { max-width: 900px; margin: 40px auto; padding: 0 20px; min-height: 60vh; }
3137
.post-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 25px; margin-bottom: 20px; transition: 0.2s; }
3238
.post-item:hover { border-color: var(--accent-blue); transform: translateY(-3px); }
3339
.post-title a { color: var(--text-main); text-decoration: none; font-size: 1.4rem; font-weight: 700; }
34-
footer { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 50px; padding: 20px; border-top: 1px solid var(--border-color); }
40+
41+
@media (max-width: 768px) { .navbar { flex-direction: column; padding: 15px; gap: 15px; } .nav-brand { margin-right: 0; } .nav-center { flex-wrap: wrap; justify-content: center; } }
3542
</style>
3643
</head>
3744
<body>
3845
<nav class="navbar">
39-
<a href="/" class="nav-brand">DevLabStudy©</a>
40-
<div class="nav-links">
46+
<a href="/" class="nav-brand">DevLabStudy</a>
47+
<div class="nav-center">
4148
<a href="/">Hub</a>
49+
<div class="dropdown">
50+
<span class="dropbtn">Community</span>
51+
<div class="dropdown-content">
52+
<a href="https://github.com/DevLabStudy">GitHub <span>↗</span></a>
53+
<a href="https://www.youtube.com/@devlabstudy">YouTube <span>↗</span></a>
54+
<a href="https://x.com/DevLabStudy">X / Twitter <span>↗</span></a>
55+
<a href="https://www.tiktok.com/@devlabstudy">TikTok <span>↗</span></a>
56+
<a href="https://www.reddit.com/user/devlabstudy">Reddit <span>↗</span></a>
57+
</div>
58+
</div>
4259
<a href="/blog" class="active">Blog</a>
4360
<a href="/homelab">HomeLab</a>
4461
<a href="/orbit">Orbit™</a>
4562
</div>
4663
</nav>
64+
4765
<main class="container">
48-
<h1>Articles & Research</h1>
66+
<h1 style="border-bottom: 2px solid var(--border-color); padding-bottom: 10px;">Articles & Research</h1>
4967
<ul style="list-style: none; padding: 0;">
5068
{% for post in site.posts %}
5169
<li class="post-item">
@@ -56,6 +74,5 @@ <h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
5674
{% endfor %}
5775
</ul>
5876
</main>
59-
<footer><p>Orbit™ Project 2026</p></footer>
6077
</body>
6178
</html>

0 commit comments

Comments
 (0)