Skip to content

Commit b8a438d

Browse files
authored
Update post.html
1 parent 79daa1b commit b8a438d

1 file changed

Lines changed: 190 additions & 25 deletions

File tree

‎_layouts/post.html‎

Lines changed: 190 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,217 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{{ page.title }} | DevLabStudy</title>
77
<link rel="icon" type="image/jpeg" href="/profileIcon_g3ffyg7edeeg1.jpeg">
8+
<!-- Czcionki Google Fonts dopasowane do reszty portalu -->
9+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&family=JetBrains+Mono:wght@400;700;800&display=swap" rel="stylesheet">
810

911
<style>
1012
:root {
11-
--bg-nav: rgba(5, 5, 5, 0.85); --text-main: #f8fafc; --text-muted: #94a3b8;
12-
--border-color: rgba(255, 255, 255, 0.1); --accent-blue: #3b82f6;
13+
--bg-nav: rgba(5, 5, 5, 0.9);
14+
--card-bg: rgba(10, 15, 25, 0.75);
15+
--text-main: #f8fafc;
16+
--text-muted: #94a3b8;
17+
--border: rgba(255, 255, 255, 0.1);
18+
--accent-blue: #00d2ff;
19+
--accent-contrast: #ff5e00;
1320
}
21+
1422
body {
15-
font-family: 'Inter', -apple-system, sans-serif; margin: 0; min-height: 100vh;
23+
font-family: 'Inter', -apple-system, sans-serif;
24+
margin: 0;
25+
min-height: 100vh;
1626
background: #000 url('/background.png') no-repeat center center fixed;
17-
background-size: cover; color: var(--text-main); line-height: 1.8;
27+
background-size: cover;
28+
color: var(--text-main);
29+
line-height: 1.8;
30+
}
31+
32+
.navbar {
33+
position: sticky;
34+
top: 0;
35+
z-index: 100;
36+
background: var(--bg-nav);
37+
backdrop-filter: blur(15px);
38+
border-bottom: 1px solid var(--border);
39+
padding: 15px 40px;
40+
display: flex;
41+
align-items: center;
42+
justify-content: space-between;
43+
}
44+
.nav-brand {
45+
font-size: 1.3rem;
46+
font-weight: 900;
47+
text-decoration: none;
48+
color: var(--text-main);
49+
font-family: 'JetBrains Mono', monospace;
50+
letter-spacing: -0.5px;
51+
}
52+
.nav-brand span { color: var(--accent-contrast); }
53+
.back-link {
54+
color: var(--accent-blue);
55+
text-decoration: none;
56+
font-weight: 700;
57+
font-size: 0.85rem;
58+
font-family: 'JetBrains Mono', monospace;
59+
text-transform: uppercase;
60+
transition: 0.2s;
61+
}
62+
.back-link:hover { opacity: 0.8; transform: translateX(-3px); }
63+
64+
.container {
65+
max-width: 900px;
66+
margin: 50px auto;
67+
padding: 50px;
68+
background: var(--card-bg);
69+
backdrop-filter: blur(15px);
70+
border-radius: 14px;
71+
border: 1px solid var(--border);
72+
box-shadow: 0 20px 50px rgba(0,0,0,0.6);
73+
position: relative;
74+
overflow: hidden;
75+
}
76+
/* Cienki pasek akcentu po lewej stronie kontenera w stylu terminala */
77+
.container::before {
78+
content: '';
79+
position: absolute;
80+
top: 0; left: 0; width: 4px; height: 100%;
81+
background: var(--accent-blue);
1882
}
19-
.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; }
20-
.nav-brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); }
21-
.back-link { color: var(--accent-blue); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
22-
.back-link:hover { text-decoration: underline; }
2383

24-
.container { max-width: 800px; margin: 40px auto; padding: 40px; background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(10px); border-radius: 12px; border: 1px solid var(--border-color); }
84+
.article-header {
85+
border-bottom: 1px dashed var(--border);
86+
padding-bottom: 25px;
87+
margin-bottom: 35px;
88+
}
89+
90+
.article-meta-bar {
91+
display: flex;
92+
justify-content: space-between;
93+
align-items: center;
94+
margin-bottom: 15px;
95+
font-family: 'JetBrains Mono', monospace;
96+
font-size: 0.78rem;
97+
}
98+
99+
.article-category {
100+
color: var(--accent-contrast);
101+
font-weight: 800;
102+
text-transform: uppercase;
103+
background: rgba(255, 94, 0, 0.1);
104+
padding: 4px 10px;
105+
border-radius: 4px;
106+
border: 1px solid rgba(255, 94, 0, 0.2);
107+
}
108+
109+
.article-date {
110+
color: var(--text-muted);
111+
}
25112

26-
.article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
27-
.article-title { font-size: 2.2rem; margin: 0 0 10px 0; font-weight: 800; }
28-
.article-date { color: var(--text-muted); font-size: 0.95rem; }
113+
.article-title {
114+
font-size: 2.4rem;
115+
margin: 0;
116+
font-weight: 900;
117+
letter-spacing: -1px;
118+
line-height: 1.2;
119+
}
29120

30-
/* Zaktualizowane style treści - zabezpieczenie przed rozciąganiem */
31-
.article-content { font-size: 1.1rem; color: #cbd5e1; overflow-wrap: break-word; }
32-
.article-content h2, .article-content h3 { margin-top: 40px; color: var(--text-main); }
33-
.article-content a { color: var(--accent-blue); text-decoration: none; }
121+
/* Stylizacja treści wpisu */
122+
.article-content {
123+
font-size: 1.05rem;
124+
color: #cbd5e1;
125+
overflow-wrap: break-word;
126+
}
127+
.article-content h2, .article-content h3 {
128+
margin-top: 45px;
129+
color: #fff;
130+
font-family: 'JetBrains Mono', monospace;
131+
letter-spacing: -0.5px;
132+
}
133+
.article-content h2 { font-size: 1.5rem; border-left: 3px solid var(--accent-blue); padding-left: 12px; }
134+
.article-content h3 { font-size: 1.2rem; color: var(--accent-blue); }
135+
136+
.article-content a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
137+
.article-content a:hover { text-decoration: underline; }
34138

35-
/* Kluczowe poprawki dla zdjęć i kodu */
36-
.article-content img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 8px; border: 1px solid var(--border-color); }
37-
.article-content pre { max-width: 100%; overflow-x: auto; background: rgba(0,0,0,0.5); padding: 15px; border-radius: 8px; }
38-
.article-content code { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-family: monospace; }
139+
/* Tabeli w markdownie nadajemy inżynieryjny sznyt */
140+
.article-content table {
141+
width: 100%;
142+
border-collapse: collapse;
143+
margin: 30px 0;
144+
font-size: 0.9rem;
145+
font-family: 'JetBrains Mono', monospace;
146+
}
147+
.article-content th, .article-content td {
148+
border: 1px solid var(--border);
149+
padding: 12px 15px;
150+
text-align: left;
151+
}
152+
.article-content th {
153+
background: rgba(0, 210, 255, 0.08);
154+
color: var(--accent-blue);
155+
}
156+
.article-content tr:nth-child(even) {
157+
background: rgba(255, 255, 255, 0.02);
158+
}
159+
160+
/* Zabezpieczenie zdjęć i kodu */
161+
.article-content img {
162+
max-width: 100%;
163+
height: auto;
164+
display: block;
165+
margin: 30px auto;
166+
border-radius: 8px;
167+
border: 1px solid var(--border);
168+
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
169+
}
170+
.article-content pre {
171+
max-width: 100%;
172+
overflow-x: auto;
173+
background: rgba(0,0,0,0.6);
174+
border: 1px solid var(--border);
175+
padding: 20px;
176+
border-radius: 8px;
177+
font-family: 'JetBrains Mono', monospace;
178+
}
179+
.article-content code {
180+
background: rgba(255,255,255,0.07);
181+
padding: 3px 7px;
182+
border-radius: 4px;
183+
font-family: 'JetBrains Mono', monospace;
184+
font-size: 0.9em;
185+
color: var(--accent-blue);
186+
}
187+
.article-content pre code { background: none; padding: 0; color: #f8fafc; }
39188

40-
footer { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 50px; margin-bottom: 30px; }
189+
footer {
190+
text-align: center;
191+
color: var(--text-muted);
192+
font-size: 0.8rem;
193+
font-family: 'JetBrains Mono', monospace;
194+
margin-top: 60px;
195+
margin-bottom: 40px;
196+
}
197+
198+
@media (max-width: 768px) {
199+
.container { margin: 20px 15px; padding: 25px; }
200+
.article-title { font-size: 1.8rem; }
201+
.navbar { padding: 15px 20px; }
202+
}
41203
</style>
42204
</head>
43205
<body>
44206

45207
<nav class="navbar">
46-
<a href="/" class="nav-brand">DevLabStudy</a>
47-
<a href="/blog" class="back-link">&larr; Powrót do bloga</a>
208+
<a href="/" class="nav-brand">DEVLABSTUDY<span>_</span></a>
209+
<a href="/blog" class="back-link">&larr; [ POWRÓT DO REJESTRU ]</a>
48210
</nav>
49211

50212
<main class="container">
51213
<header class="article-header">
214+
<div class="article-meta-bar">
215+
<span class="article-category">[{{ page.category | default: "SYSTEM" | upcase }}]</span>
216+
<span class="article-date">// {{ page.date | date: "%Y.%m.%d" }}</span>
217+
</div>
52218
<h1 class="article-title">{{ page.title }}</h1>
53-
<div class="article-date">{{ page.date | date: "%B %d, %Y" }}</div>
54219
</header>
55220

56221
<article class="article-content">
@@ -59,7 +224,7 @@ <h1 class="article-title">{{ page.title }}</h1>
59224
</main>
60225

61226
<footer>
62-
<p>1 Gbps Fiber - Linux Fedora - Orbit™ Project 2026</p>
227+
<p>// 1 Gbps Fiber - Linux Fedora - DevLabStudy System Hub 2026</p>
63228
</footer>
64229

65230
</body>

0 commit comments

Comments
 (0)