|
4 | 4 | --- |
5 | 5 |
|
6 | 6 | <style> |
| 7 | + @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap'); |
| 8 | + |
7 | 9 | /* Zmiana kontenera hero na flexbox, by umieścić przycisk z prawej */ |
8 | 10 | .hero-homelab { |
9 | 11 | display: flex; |
|
15 | 17 | } |
16 | 18 | .hero-text { text-align: left; } |
17 | 19 | .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; } |
18 | | - .hero-homelab p { color: var(--text-muted); font-size: 0.95rem; font-family: 'JetBrains Mono', monospace; margin: 0; } |
| 20 | + .hero-homelab p { color: var(--text-muted, #888); font-size: 0.95rem; font-family: 'JetBrains Mono', monospace; margin: 0; } |
19 | 21 |
|
20 | 22 | /* Przycisk dopasowany do stylu akcentu niebieskiego z Inventory */ |
21 | 23 | .btn-kuma-live { |
|
39 | 41 |
|
40 | 42 | .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; } |
41 | 43 |
|
42 | | - .nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; } |
| 44 | + .nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; } |
43 | 45 |
|
44 | | - .node-card { background: rgba(10, 10, 10, 0.7); border: 1px solid var(--border-color); padding: 30px; border-radius: 12px; position: relative; transition: all 0.3s; backdrop-filter: blur(10px); } |
| 46 | + .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); } |
45 | 47 | .node-card:hover { border-color: #3b82f6; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(59,130,246,0.1); } |
46 | 48 |
|
47 | 49 | .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; } |
48 | 50 | .status-badge.inactive { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); } |
49 | 51 | .status-badge.migration { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); } |
50 | 52 | .status-badge.mobile { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.2); } |
| 53 | + |
| 54 | + .node-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; display: block; padding-right: 60px; color: #fff; font-family: 'JetBrains Mono', monospace; } |
| 55 | + |
| 56 | + .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; } |
| 57 | + .spec-label { color: var(--text-muted, #9ca3af); width: 100px; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; flex-shrink: 0; } |
51 | 58 | </style> |
52 | 59 |
|
53 | 60 | <section class="hero-homelab"> |
|
0 commit comments