Skip to content

Commit f8a99c7

Browse files
authored
Update index.html
1 parent 373eb9f commit f8a99c7

1 file changed

Lines changed: 53 additions & 33 deletions

File tree

‎index.html‎

Lines changed: 53 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,29 @@
99
padding-right: 60px !important;
1010
}
1111

12+
/* ESTETYCZNE NAGŁÓWKI SEKCJI */
13+
.section-tag {
14+
display: inline-flex;
15+
align-items: center;
16+
gap: 10px;
17+
font-family: 'JetBrains Mono', monospace;
18+
font-size: 0.8rem;
19+
font-weight: 800;
20+
color: var(--accent-blue);
21+
background: rgba(0, 210, 255, 0.08);
22+
border: 1px solid rgba(0, 210, 255, 0.2);
23+
padding: 6px 14px;
24+
border-radius: 6px;
25+
text-transform: uppercase;
26+
letter-spacing: 1.5px;
27+
margin-top: 55px;
28+
margin-bottom: 20px;
29+
}
30+
.section-tag::before {
31+
content: '#';
32+
color: var(--accent-contrast);
33+
}
34+
1235
.hero {
1336
margin-top: 20px;
1437
margin-bottom: 60px;
@@ -83,7 +106,7 @@
83106
display: grid;
84107
grid-template-columns: repeat(2, 1fr);
85108
gap: 25px;
86-
margin-bottom: 60px;
109+
margin-bottom: 20px;
87110
}
88111

89112
.stat-card {
@@ -133,12 +156,12 @@
133156
.stat-external { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; transition: 0.2s; }
134157
.stat-card:hover .stat-external { color: var(--accent-blue); transform: translateX(3px); }
135158

136-
/* SEKCJA NEWSÓW NA STRONIE GŁÓWNEJ */
159+
/* SEKCJA NEWSÓW NA STRONIE GŁÓWNEJ – 4 W POZIOMIE */
137160
.newsy-home-grid {
138161
display: grid;
139-
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
140-
gap: 25px;
141-
margin-bottom: 60px;
162+
grid-template-columns: repeat(4, 1fr);
163+
gap: 20px;
164+
margin-bottom: 20px;
142165
}
143166

144167
.home-news-card {
@@ -157,7 +180,7 @@
157180
box-shadow: 0 10px 30px rgba(0,210,255,0.15);
158181
}
159182
.home-news-content {
160-
padding: 20px;
183+
padding: 16px;
161184
display: flex;
162185
flex-direction: column;
163186
justify-content: space-between;
@@ -167,7 +190,7 @@
167190
/* MINIATURKA / IKONA NEWSA */
168191
.news-thumb {
169192
width: 100%;
170-
height: 230px;
193+
height: 160px;
171194
display: flex;
172195
align-items: center;
173196
justify-content: center;
@@ -176,27 +199,20 @@
176199
overflow: hidden;
177200
}
178201
.news-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
179-
.news-thumb-img.is-icon {
180-
width: 96px; height: 96px;
181-
object-fit: cover;
182-
border-radius: 18px;
183-
border: 1px solid rgba(0, 210, 255, 0.25);
184-
background: rgba(0, 210, 255, 0.08);
185-
}
186202
.news-thumb-fallback {
187-
font-size: 3.2rem;
188-
width: 96px; height: 96px;
203+
font-size: 2.5rem;
204+
width: 70px; height: 70px;
189205
display: flex; align-items: center; justify-content: center;
190206
background: rgba(0, 210, 255, 0.08);
191207
border: 1px solid rgba(0, 210, 255, 0.25);
192-
border-radius: 18px;
208+
border-radius: 14px;
193209
}
194210

195211
.sponsors-grid {
196212
display: grid;
197213
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
198214
gap: 25px;
199-
margin-bottom: 60px;
215+
margin-bottom: 20px;
200216
}
201217

202218
.sponsor-card {
@@ -238,7 +254,7 @@
238254
display: grid;
239255
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
240256
gap: 25px;
241-
margin-bottom: 60px;
257+
margin-bottom: 20px;
242258
}
243259

244260
.extra-card {
@@ -283,7 +299,7 @@
283299
.archive-list {
284300
display: flex;
285301
flex-direction: column;
286-
margin-bottom: 60px;
302+
margin-bottom: 40px;
287303
border-top: 1px solid var(--border);
288304
}
289305

@@ -328,16 +344,20 @@
328344
text-align: right;
329345
}
330346

331-
@media (max-width: 1024px) {
347+
@media (max-width: 1200px) {
348+
.newsy-home-grid { grid-template-columns: repeat(2, 1fr); }
349+
}
350+
@media (max-width: 768px) {
332351
.stats-grid { grid-template-columns: 1fr; }
352+
.newsy-home-grid { grid-template-columns: 1fr; }
333353
.archive-item { grid-template-columns: 1fr; gap: 10px; padding: 20px 10px; }
334354
.archive-date { text-align: left; }
335355
}
336356
</style>
337357

338358
<!-- SEKCJA HERO -->
339359
<section class="hero">
340-
<span class="section-tag">INFRASTRUKTURA & KOD</span>
360+
<div class="section-tag" style="margin-top: 0;">Infrastruktura & Kod</div>
341361
<h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
342362
<p class="hero-desc">
343363
Dokumentuję rozbudowę mojego środowiska homelab (Cisco, MikroTik, Proxmox), konfigurację sieci LAN/VLAN i optymalizację energetyczną. Dodatkowo tworzę autorskie aplikacje z linii DevLab Network Toolkit.
@@ -349,7 +369,7 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
349369
</section>
350370

351371
<!-- STATYSTYKI YOUTUBE -->
352-
<span class="section-tag">AKTYWNE WĘZŁY SPOŁECZNOŚCI</span>
372+
<div class="section-tag">Aktywne Węzły Społeczności</div>
353373
<div class="stats-grid">
354374
<a href="https://www.youtube.com/channel/UCisFPSU_Y8hznpqrcewcJAg" target="_blank" class="stat-card">
355375
<div>
@@ -393,10 +413,10 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
393413
</div>
394414

395415
<!-- SEKCJA NAJNOWSZE NEWSY -->
396-
<span class="section-tag">NAJNOWSZE RAPORTY TECHNOLOGICZNE (NEWSY)</span>
416+
<div class="section-tag">Najnowsze Raporty Technologiczne (Newsy)</div>
397417
<div class="newsy-home-grid">
398418
{% assign sorted_newsy = site.newsy | sort: 'date' | reverse %}
399-
{% for post in sorted_newsy limit:3 %}
419+
{% for post in sorted_newsy limit:4 %}
400420
<a href="{{ post.url | relative_url }}" class="home-news-card">
401421
{% assign t = post %}
402422
{% assign thumb = t.icon | default: t.image %}
@@ -428,7 +448,7 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
428448
{% assign thumb_src = thumb | relative_url %}
429449
{% endunless %}
430450
<img src="{{ thumb_src }}" alt="" loading="lazy"
431-
class="news-thumb-img {% if is_icon %}is-icon{% endif %}"
451+
class="news-thumb-img"
432452
onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
433453
<span class="news-thumb-fallback" style="display:none">{{ emoji }}</span>
434454
{% else %}
@@ -437,23 +457,23 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
437457
</div>
438458
<div class="home-news-content">
439459
<div>
440-
<div style="font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--accent-contrast); margin-bottom: 8px; font-weight: 800;">
460+
<div style="font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--accent-contrast); margin-bottom: 6px; font-weight: 800;">
441461
[{{ post.category | default: "BRIEF" | upcase }}] // {{ post.date | date: "%Y.%m.%d" }}
442462
</div>
443-
<h3 style="font-size: 1.15rem; font-weight: 800; color: #fff; margin: 0 0 10px 0; line-height: 1.3;">
463+
<h3 style="font-size: 1rem; font-weight: 800; color: #fff; margin: 0 0 10px 0; line-height: 1.25;">
444464
{{ post.title }}
445465
</h3>
446466
</div>
447-
<div style="font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--accent-blue); margin-top: 15px; font-weight: 700;">
448-
// CZYTAJ ARTYKUŁ &rarr;
467+
<div style="font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--accent-blue); margin-top: 12px; font-weight: 700;">
468+
// CZYTAJ &rarr;
449469
</div>
450470
</div>
451471
</a>
452472
{% endfor %}
453473
</div>
454474

455475
<!-- SEKCJA SPONSORÓW -->
456-
<span class="section-tag">PARTNERZY TECHNOLOGICZNI</span>
476+
<div class="section-tag">Partnerzy Technologiczni</div>
457477
<div class="sponsors-grid">
458478
<div class="sponsor-card">
459479
<div>
@@ -473,7 +493,7 @@ <h3 style="font-size: 1.15rem; font-weight: 800; color: #fff; margin: 0 0 10px 0
473493
</div>
474494

475495
<!-- MARKETPLACE & SUPPORT -->
476-
<span class="section-tag">MARKETPLACE & WSPARCIE</span>
496+
<div class="section-tag">Marketplace & Wsparcie</div>
477497
<div class="extra-grid">
478498
<div class="extra-card">
479499
<div style="position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #00bfb2;"></div>
@@ -502,7 +522,7 @@ <h3 style="font-size: 0.8rem; color: var(--accent-blue); margin: 0 0 10px 0; tex
502522
</div>
503523

504524
<!-- DYNAMICZNY DZIENNIK SYSTEMOWY (BLOG) -->
505-
<span class="section-tag">OSTATNIE WPISY / DZIENNIK SYSTEMOWY</span>
525+
<div class="section-tag">Ostatnie Wpisy / Dziennik Systemowy</div>
506526
<div class="archive-list">
507527
{% assign sorted_posts = site.posts | sort: 'date' | reverse %}
508528
{% for post in sorted_posts limit:5 %}

0 commit comments

Comments
 (0)