|
4 | 4 | --- |
5 | 5 |
|
6 | 6 | <style> |
7 | | - .hero-homelab { text-align: left; margin-bottom: 40px; } |
8 | | - .hero-homelab h2 { font-size: 2.2rem; margin-bottom: 10px; background: linear-gradient(to right, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; letter-spacing: -1px; } |
9 | | - .hero-homelab p { color: var(--text-muted); font-size: 0.95rem; font-family: 'JetBrains Mono', monospace; } |
| 7 | + /* Zmiana kontenera hero na flexbox, by umieścić przycisk z prawej */ |
| 8 | + .hero-homelab { |
| 9 | + display: flex; |
| 10 | + justify-content: space-between; |
| 11 | + align-items: center; |
| 12 | + margin-bottom: 40px; |
| 13 | + flex-wrap: wrap; |
| 14 | + gap: 20px; |
| 15 | + } |
| 16 | + .hero-text { text-align: left; } |
| 17 | + .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; } |
10 | 19 |
|
| 20 | + /* Przycisk dopasowany do stylu akcentu niebieskiego z Inventory */ |
| 21 | + .btn-kuma-live { |
| 22 | + background: rgba(59, 130, 246, 0.1); |
| 23 | + color: #3b82f6; |
| 24 | + border: 1px solid rgba(59, 130, 246, 0.2); |
| 25 | + padding: 10px 20px; |
| 26 | + border-radius: 8px; |
| 27 | + font-size: 0.85rem; |
| 28 | + font-weight: bold; |
| 29 | + text-decoration: none; |
| 30 | + font-family: 'JetBrains Mono', monospace; |
| 31 | + transition: all 0.3s ease; |
| 32 | + } |
| 33 | + .btn-kuma-live:hover { |
| 34 | + background: #3b82f6; |
| 35 | + color: #fff; |
| 36 | + border-color: #3b82f6; |
| 37 | + box-shadow: 0 5px 20px rgba(59,130,246,0.2); |
| 38 | + } |
| 39 | + |
11 | 40 | .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; } |
12 | 41 |
|
13 | 42 | .nodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; } |
|
26 | 55 | </style> |
27 | 56 |
|
28 | 57 | <section class="hero-homelab"> |
29 | | - <h2>Infrastructure & HomeLab</h2> |
30 | | - <p>>_ Current Network Backbone, Compute Nodes & Cloud</p> |
| 58 | + <div class="hero-text"> |
| 59 | + <h2>Infrastructure & HomeLab</h2> |
| 60 | + <p>>_ Current Network Backbone, Compute Nodes & Cloud</p> |
| 61 | + </div> |
| 62 | + <a href="https://uptime.devlabstudy.ovh" target="_blank" class="btn-kuma-live"> |
| 63 | + LIVE MONITORING → |
| 64 | + </a> |
31 | 65 | </section> |
32 | 66 |
|
33 | 67 | <h3 class="section-title">Network Layer (Connectivity)</h3> |
|
0 commit comments