Skip to content

Commit ee969f4

Browse files
authored
Update homelab.html
1 parent a691019 commit ee969f4

1 file changed

Lines changed: 100 additions & 17 deletions

File tree

‎homelab.html‎

Lines changed: 100 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,115 @@
44
---
55

66
<style>
7-
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap');
8-
97
.hero-homelab {
10-
margin-bottom: 40px;
8+
margin-bottom: 50px;
119
}
1210
.hero-text { text-align: left; }
13-
.hero-homelab h2 { font-size: 2.2rem; margin: 0 0 10px 0; background: linear-gradient(to right, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; letter-spacing: -1px; }
14-
.hero-homelab p { color: var(--text-muted, #888); font-size: 0.95rem; font-family: 'JetBrains Mono', monospace; margin: 0; }
11+
12+
.hero-homelab h2 {
13+
font-size: 2.8rem;
14+
margin: 0 0 12px 0;
15+
background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-blue) 100%);
16+
-webkit-background-clip: text;
17+
-webkit-text-fill-color: transparent;
18+
font-weight: 900;
19+
letter-spacing: -1.5px;
20+
}
21+
22+
.hero-homelab p {
23+
color: var(--accent-contrast);
24+
font-size: 0.95rem;
25+
font-family: 'JetBrains Mono', monospace;
26+
margin: 0;
27+
font-weight: 700;
28+
letter-spacing: 1px;
29+
}
1530

16-
.section-title { font-family: 'JetBrains Mono', monospace; color: #fff; border-left: 4px solid #3b82f6; padding-left: 15px; margin: 40px 0 20px 0; font-size: 1.5rem; text-transform: uppercase; }
31+
.section-title {
32+
font-family: 'JetBrains Mono', monospace;
33+
color: #fff;
34+
border-left: 4px solid var(--accent-contrast);
35+
padding-left: 15px;
36+
margin: 50px 0 25px 0;
37+
font-size: 1.3rem;
38+
text-transform: uppercase;
39+
letter-spacing: 1px;
40+
}
1741

18-
.nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; }
42+
.nodes-grid {
43+
display: grid;
44+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
45+
gap: 25px;
46+
margin-bottom: 30px;
47+
}
1948

20-
.node-card { background: rgba(10, 10, 10, 0.7); border: 1px solid var(--border-color, #222); padding: 30px; border-radius: 12px; position: relative; transition: all 0.3s; backdrop-filter: blur(10px); }
21-
.node-card:hover { border-color: #3b82f6; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(59,130,246,0.1); }
49+
.node-card {
50+
background: var(--card-bg);
51+
border: 1px solid var(--border);
52+
padding: 30px;
53+
border-radius: 12px;
54+
position: relative;
55+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
56+
backdrop-filter: blur(10px);
57+
}
2258

23-
.status-badge { position: absolute; top: 25px; right: 25px; background: rgba(59, 130, 246, 0.1); color: #3b82f6; padding: 5px 12px; border-radius: 20px; font-weight: 800; font-size: 0.7rem; border: 1px solid rgba(59, 130, 246, 0.2); text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
24-
.status-badge.inactive { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); }
25-
.status-badge.migration { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); }
26-
.status-badge.mobile { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.2); }
27-
.status-badge.phone { background: rgba(168, 85, 247, 0.1); color: #a855f7; border-color: rgba(168, 85, 247, 0.2); }
59+
.node-card:hover {
60+
border-color: var(--accent-blue);
61+
transform: translateY(-4px);
62+
box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
63+
background: rgba(10, 15, 25, 0.8);
64+
}
65+
66+
/* Status Badge z nową paletą kolorów */
67+
.status-badge {
68+
position: absolute;
69+
top: 25px;
70+
right: 25px;
71+
background: rgba(0, 210, 255, 0.08);
72+
color: var(--accent-blue);
73+
padding: 5px 12px;
74+
border-radius: 20px;
75+
font-weight: 800;
76+
font-size: 0.7rem;
77+
border: 1px solid rgba(0, 210, 255, 0.25);
78+
text-transform: uppercase;
79+
font-family: 'JetBrains Mono', monospace;
80+
}
81+
.status-badge.inactive { background: rgba(255, 94, 0, 0.08); color: var(--accent-contrast); border-color: rgba(255, 94, 0, 0.25); }
82+
.status-badge.migration { background: rgba(245, 158, 11, 0.08); color: #f59e0b; border-color: rgba(245, 158, 11, 0.25); }
83+
.status-badge.mobile { background: rgba(0, 210, 255, 0.08); color: var(--accent-blue); border-color: rgba(0, 210, 255, 0.25); }
84+
.status-badge.phone { background: rgba(168, 85, 247, 0.08); color: #c084fc; border-color: rgba(168, 85, 247, 0.25); }
2885

29-
.node-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; display: block; padding-right: 60px; color: #fff; font-family: 'JetBrains Mono', monospace; }
86+
.node-name {
87+
font-size: 1.15rem;
88+
font-weight: 800;
89+
margin-bottom: 20px;
90+
display: block;
91+
padding-right: 70px;
92+
color: var(--text-main);
93+
font-family: 'JetBrains Mono', monospace;
94+
letter-spacing: -0.5px;
95+
}
3096

31-
.spec-line { display: flex; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,0.05); font-size: 0.9rem; font-family: 'JetBrains Mono', monospace; color: #e5e7eb; }
32-
.spec-label { color: var(--text-muted, #9ca3af); width: 100px; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; flex-shrink: 0; }
97+
.spec-line {
98+
display: flex;
99+
align-items: center;
100+
margin-bottom: 10px;
101+
padding-bottom: 10px;
102+
border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
103+
font-size: 0.88rem;
104+
font-family: 'JetBrains Mono', monospace;
105+
color: var(--text-main);
106+
}
107+
108+
.spec-label {
109+
color: var(--text-muted);
110+
width: 105px;
111+
font-weight: 600;
112+
font-family: 'JetBrains Mono', monospace;
113+
font-size: 0.78rem;
114+
flex-shrink: 0;
115+
}
33116
</style>
34117

35118
<section class="hero-homelab">

0 commit comments

Comments
 (0)