Skip to content

Commit 44c25f9

Browse files
authored
Update post.html
1 parent d68cc17 commit 44c25f9

1 file changed

Lines changed: 64 additions & 10 deletions

File tree

‎_layouts/post.html‎

Lines changed: 64 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,73 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>{{ page.title }} | DevLabStudy</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>{{ page.title }} | DevLabStudy©</title>
7+
8+
<link rel="icon" type="image/png" href="/qr-code.png?v=fixed_buttons">
9+
<link rel="shortcut icon" type="image/png" href="/qr-code.png?v=fixed_buttons">
10+
611
<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; }
12+
/* Te same zmienne co na stronie głównej */
13+
: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; --shadow-sm: 0 1px 3px rgba(0,0,0,0.1); --radius: 12px;
17+
}
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; --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
23+
}
24+
}
25+
26+
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; -webkit-font-smoothing: antialiased; }
27+
28+
.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); }
29+
.nav-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-main); text-decoration: none; }
30+
.back-link { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
31+
.back-link:hover { text-decoration: underline; }
32+
33+
.container { max-width: 800px; margin: 40px auto; padding: 0 20px; }
34+
35+
/* Styl treści artykułu */
36+
.article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
37+
.article-title { font-size: 2.2rem; margin: 0 0 10px 0; line-height: 1.2; }
38+
.article-date { color: var(--text-muted); font-size: 0.95rem; }
39+
40+
.article-content { font-size: 1.1rem; line-height: 1.8; color: var(--text-main); }
41+
.article-content h2 { margin-top: 40px; color: var(--accent-blue); }
42+
.article-content a { color: var(--accent-blue); text-decoration: none; }
43+
.article-content a:hover { text-decoration: underline; }
44+
.article-content code { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.9em; }
45+
.article-content pre { background: var(--bg-card); border: 1px solid var(--border-color); padding: 15px; border-radius: 8px; overflow-x: auto; }
46+
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
47+
48+
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); }
949
</style>
1050
</head>
1151
<body>
12-
<a href="/">&larr; Wróć do Dashboardu</a>
13-
<h1>{{ page.title }}</h1>
14-
<p><em>{{ page.date | date: "%Y-%m-%d" }}</em></p>
15-
16-
<article>
17-
{{ content }}
18-
</article>
52+
53+
<nav class="navbar">
54+
<a href="/" class="nav-brand">DevLabStudy©</a>
55+
<a href="/blog.html" class="back-link">&larr; Back to Blog</a>
56+
</nav>
57+
58+
<main class="container">
59+
<header class="article-header">
60+
<h1 class="article-title">{{ page.title }}</h1>
61+
<div class="article-date">{{ page.date | date: "%B %d, %Y" }}</div>
62+
</header>
63+
64+
<article class="article-content">
65+
{{ content }}
66+
</article>
67+
</main>
68+
69+
<footer>
70+
<p>1 Gbps Fiber - Linux Mint 22.3 - Orbit™ Project 2026</p>
71+
</footer>
72+
1973
</body>
2074
</html>

0 commit comments

Comments
 (0)