Skip to content

Commit 6e40569

Browse files
authored
Update homelab.html
1 parent 7b1eaa9 commit 6e40569

1 file changed

Lines changed: 17 additions & 23 deletions

File tree

‎homelab.html‎

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,23 @@
1313
}
1414
body { font-family: 'Inter', sans-serif; background: var(--bg-body); color: var(--text-main); margin: 0; line-height: 1.6; }
1515

16-
/* --- IDENTYCZNY NAVBAR JAK NA RESZCIE STRON --- */
16+
/* IDENTYCZNY NAVBAR */
1717
.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; }
18-
19-
.nav-left { display: flex; align-items: center; gap: 30px; }
18+
.nav-left { flex: 1; display: flex; justify-content: flex-start; }
2019
.nav-brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); letter-spacing: -0.5px; }
20+
.nav-center { flex: 2; display: flex; justify-content: center; gap: 30px; }
21+
.nav-center a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
22+
.nav-center a:hover, .nav-center a.active { color: var(--accent-green); }
23+
.nav-right { flex: 1; display: flex; justify-content: flex-end; }
2124

2225
.dropdown { position: relative; display: inline-block; padding: 10px 0; }
2326
.dropbtn { color: var(--text-main); font-weight: 700; font-size: 0.95rem; cursor: pointer; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-color); transition: 0.3s; }
2427
.dropdown:hover .dropbtn { background: rgba(255,255,255,0.2); }
25-
.dropdown-content { display: none; position: absolute; left: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
28+
.dropdown-content { display: none; position: absolute; right: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
2629
.dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
2730
.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; }
28-
.dropdown-content a:last-child { border-bottom: none; }
2931
.dropdown-content a:hover { background: rgba(255,255,255,0.1); padding-left: 25px; }
3032

31-
.nav-right { display: flex; align-items: center; gap: 25px; }
32-
.nav-right a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
33-
.nav-right a:hover, .nav-right a.active { color: var(--accent-green); }
34-
35-
/* --- STYLIZACJA KART SERWERÓW --- */
3633
.container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
3734
.hero { text-align: center; margin-bottom: 50px; }
3835
.hero h1 { font-size: 2.8rem; margin-bottom: 10px; background: linear-gradient(to right, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@@ -41,19 +38,27 @@
4138
.nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 25px; margin-bottom: 60px; }
4239
.node-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; border-radius: var(--radius); position: relative; transition: all 0.3s; }
4340
.node-card:hover { border-color: var(--accent-green); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(16,185,129,0.15); }
44-
.status-badge { position: absolute; top: 30px; right: 30px; background: rgba(16, 185, 129, 0.1); color: var(--accent-green); padding: 5px 12px; border-radius: 20px; font-weight: 800; font-size: 0.7rem; border: 1px solid rgba(16, 185, 129, 0.2); text-transform: uppercase;}
41+
.status-badge { position: absolute; top: 30px; right: 30px; background: rgba(16, 185, 129, 0.1); color: var(--accent-green); padding: 5px 12px; border-radius: 20px; font-weight: 800; font-size: 0.7rem; border: 1px solid rgba(16, 185, 129, 0.2); text-transform: uppercase; }
4542
.node-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; display: block; padding-right: 60px; }
4643
.spec-line { display: flex; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; }
4744
.spec-line:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
4845
.spec-label { color: var(--text-muted); width: 80px; font-weight: 600; }
4946

50-
@media (max-width: 768px) { .navbar { flex-direction: column; gap: 15px; } .nav-left, .nav-right { justify-content: center; width: 100%; flex-wrap: wrap; } }
47+
@media (max-width: 768px) { .navbar { flex-direction: column; gap: 15px; } .nav-left, .nav-center, .nav-right { justify-content: center; width: 100%; flex-wrap: wrap; } }
5148
</style>
5249
</head>
5350
<body>
5451
<nav class="navbar">
5552
<div class="nav-left">
5653
<a href="/" class="nav-brand">DevLabStudy</a>
54+
</div>
55+
<div class="nav-center">
56+
<a href="/">Hub</a>
57+
<a href="/blog">Blog</a>
58+
<a href="/homelab" class="active">HomeLab</a>
59+
<a href="/orbit">Orbit™</a>
60+
</div>
61+
<div class="nav-right">
5762
<div class="dropdown">
5863
<span class="dropbtn">Community ▾</span>
5964
<div class="dropdown-content">
@@ -65,12 +70,6 @@
6570
</div>
6671
</div>
6772
</div>
68-
<div class="nav-right">
69-
<a href="/">Hub</a>
70-
<a href="/blog">Blog</a>
71-
<a href="/homelab" class="active">HomeLab</a>
72-
<a href="/orbit">Orbit™</a>
73-
</div>
7473
</nav>
7574

7675
<main class="container">
@@ -87,7 +86,6 @@ <h1>Infrastructure & HomeLab</h1>
8786
<div class="spec-line"><span class="spec-label">RAM</span><span>16GB DDR3</span></div>
8887
<div class="spec-line"><span class="spec-label">Storage</span><span>256GB SSD + 250GB SSD + 1TB HDD + 500GB HDD</span></div>
8988
</div>
90-
9189
<div class="node-card">
9290
<span class="status-badge">Online</span>
9391
<span class="node-name">Packard Bell (pve-laptop)</span>
@@ -97,7 +95,6 @@ <h1>Infrastructure & HomeLab</h1>
9795
<div class="spec-line"><span class="spec-label">Storage</span><span>120GB SSD</span></div>
9896
<div class="spec-line"><span class="spec-label">OS</span><span>Proxmox VE</span></div>
9997
</div>
100-
10198
<div class="node-card">
10299
<span class="status-badge">Online</span>
103100
<span class="node-name">Motherboard Node</span>
@@ -106,7 +103,6 @@ <h1>Infrastructure & HomeLab</h1>
106103
<div class="spec-line"><span class="spec-label">GPU</span><span>GeForce 920M</span></div>
107104
<div class="spec-line"><span class="spec-label">Storage</span><span>128GB Flash OS</span></div>
108105
</div>
109-
110106
<div class="node-card">
111107
<span class="status-badge">Online</span>
112108
<span class="node-name">Asus Legacy Node</span>
@@ -115,15 +111,13 @@ <h1>Infrastructure & HomeLab</h1>
115111
<div class="spec-line"><span class="spec-label">GPU</span><span>GT 120M</span></div>
116112
<div class="spec-line"><span class="spec-label">Storage</span><span>500GB HDD + 160GB HDD</span></div>
117113
</div>
118-
119114
<div class="node-card">
120115
<span class="status-badge">Online</span>
121116
<span class="node-name">Asus VivoBook 15</span>
122117
<div class="spec-line"><span class="spec-label">CPU</span><span>Celeron N4000</span></div>
123118
<div class="spec-line"><span class="spec-label">RAM</span><span>4GB</span></div>
124119
<div class="spec-line"><span class="spec-label">Storage</span><span>256GB SSD</span></div>
125120
</div>
126-
127121
<div class="node-card">
128122
<span class="status-badge" style="background: rgba(59, 130, 246, 0.1); color: #3b82f6; border-color: rgba(59, 130, 246, 0.2);">Cloud Node</span>
129123
<span class="node-name">VPS Cloud Instance</span>

0 commit comments

Comments
 (0)