Skip to content

Commit d68cc17

Browse files
authored
Update blog.html
1 parent 7cf4dd1 commit d68cc17

1 file changed

Lines changed: 105 additions & 16 deletions

File tree

‎blog.html‎

Lines changed: 105 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,115 @@
1+
---
2+
layout: null
3+
---
14
<!DOCTYPE html>
25
<html lang="en">
36
<head>
47
<meta charset="UTF-8">
5-
<title>Blog | DevLabStudy</title>
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9+
<title>Blog | DevLabStudy©</title>
10+
11+
<link rel="icon" type="image/png" href="qr-code.png?v=fixed_buttons">
12+
<link rel="shortcut icon" type="image/png" href="qr-code.png?v=fixed_buttons">
13+
614
<style>
7-
body { font-family: -apple-system, sans-serif; max-width: 800px; margin: 40px auto; padding: 20px; line-height: 1.6; }
8-
a { color: #2563eb; text-decoration: none; }
9-
ul { list-style-type: none; padding: 0; }
10-
li { margin-bottom: 10px; }
15+
/* --- BAZA I ZMIENNE KOLORÓW (Light Mode) --- */
16+
:root {
17+
--bg-body: #f4f7fa;
18+
--bg-nav: #ffffff;
19+
--bg-card: #ffffff;
20+
--text-main: #1e293b;
21+
--text-muted: #64748b;
22+
--border-color: #e2e8f0;
23+
--accent-blue: #2563eb;
24+
--accent-green: #10b981;
25+
--shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
26+
--shadow-md: 0 10px 25px rgba(0,0,0,0.05);
27+
--radius: 12px;
28+
}
29+
30+
/* --- TRYB CIEMNY (Dark Mode) --- */
31+
@media (prefers-color-scheme: dark) {
32+
:root {
33+
--bg-body: #0f172a;
34+
--bg-nav: #1e293b;
35+
--bg-card: #1e293b;
36+
--text-main: #f8fafc;
37+
--text-muted: #94a3b8;
38+
--border-color: #334155;
39+
--accent-blue: #3b82f6;
40+
--accent-green: #10b981;
41+
--shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
42+
--shadow-md: 0 10px 25px rgba(0,0,0,0.4);
43+
}
44+
.btn { box-shadow: none !important; border: 1px solid var(--border-color); }
45+
.btn-gh { background: #111827 !important; }
46+
.btn-x { background: #000000 !important; }
47+
.btn-tiktok { background: #111827 !important; }
48+
.focus-box { background: rgba(59, 130, 246, 0.1) !important; }
49+
}
50+
51+
body {
52+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
53+
background: var(--bg-body);
54+
color: var(--text-main);
55+
margin: 0; padding: 0; line-height: 1.6; -webkit-font-smoothing: antialiased;
56+
}
57+
58+
.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; box-shadow: var(--shadow-sm); }
59+
.nav-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-main); text-decoration: none; }
60+
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
61+
62+
.btn { display: inline-block; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.85rem; color: white !important; transition: all 0.2s ease; box-shadow: var(--shadow-sm); text-align: center; box-sizing: border-box; white-space: nowrap; padding: 8px 16px; }
63+
.nav-links .btn { width: 140px !important; min-width: 140px !important; max-width: 140px !important; flex: none !important; padding-left: 0 !important; padding-right: 0 !important; }
64+
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
65+
.btn-gh { background: #24292e; } .btn-reddit { background: #FF4500; } .btn-yt { background: #FF0000; } .btn-x { background: #000000; } .btn-tiktok { background: #010101; }
66+
67+
.container { max-width: 900px; margin: 40px auto; padding: 0 20px; }
68+
.section-title { font-size: 1.8rem; font-weight: 700; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; margin-bottom: 25px; color: var(--text-main); }
69+
70+
/* Style dla listy postów */
71+
.post-list { list-style: none; padding: 0; margin: 0; }
72+
.post-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
73+
.post-item:hover { border-color: var(--accent-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
74+
.post-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 10px 0; }
75+
.post-title a { color: var(--text-main); text-decoration: none; }
76+
.post-title a:hover { color: var(--accent-blue); }
77+
.post-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
78+
.post-excerpt { color: var(--text-main); opacity: 0.8; font-size: 0.95rem; margin: 0; }
79+
80+
footer { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 50px 0 30px 0; padding-top: 20px; border-top: 1px solid var(--border-color); }
81+
82+
@media (max-width: 768px) { .navbar { flex-direction: column; gap: 15px; padding: 15px; } .nav-links { justify-content: center; } }
1183
</style>
1284
</head>
1385
<body>
14-
<a href="/">&larr; Wróć do Dashboardu</a>
15-
<h1>Wpisy z laboratorium</h1>
16-
17-
<ul>
18-
{% for post in site.posts %}
19-
<li>
20-
<span style="color: #64748b;">{{ post.date | date: "%Y-%m-%d" }}</span> &raquo;
21-
<a href="{{ post.url }}">{{ post.title }}</a>
22-
</li>
23-
{% endfor %}
24-
</ul>
86+
87+
<nav class="navbar">
88+
<a href="/" class="nav-brand">DevLabStudy©</a>
89+
<div class="nav-links">
90+
<a href="https://github.com/DevLabStudy" class="btn btn-gh">GitHub</a>
91+
<a href="https://www.youtube.com/channel/UCisFPSU_Y8hznpqrcewcJAg?app=desktop" class="btn btn-yt">YouTube</a>
92+
<a href="https://x.com/DevLabStudy" class="btn btn-x">X / Twitter</a>
93+
</div>
94+
</nav>
95+
96+
<main class="container">
97+
<h1 class="section-title">DevLab Notes & Blog</h1>
98+
99+
<ul class="post-list">
100+
{% for post in site.posts %}
101+
<li class="post-item">
102+
<div class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</div>
103+
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
104+
<p class="post-excerpt">{{ post.excerpt | strip_html | truncatewords: 30 }}</p>
105+
</li>
106+
{% endfor %}
107+
</ul>
108+
</main>
109+
110+
<footer>
111+
<p>1 Gbps Fiber - Linux Mint 22.3 - Orbit™ Project 2026</p>
112+
</footer>
113+
25114
</body>
26115
</html>

0 commit comments

Comments
 (0)