Skip to content

Commit daf9309

Browse files
authored
Refactor support section for better layout
Removed old support section and added a new support container with improved layout.
1 parent 0d2117d commit daf9309

1 file changed

Lines changed: 15 additions & 37 deletions

File tree

‎index.html‎

Lines changed: 15 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
}
3838
.card h2 { margin-top: 0; font-size: 1.25rem; color: var(--accent); margin-bottom: 15px; }
3939

40-
/* Infrastructure Grid */
4140
.infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
4241
.infra-item {
4342
background: var(--card);
@@ -49,7 +48,6 @@
4948
.status { color: var(--green); font-size: 0.65rem; font-weight: bold; margin-bottom: 10px; display: block; }
5049
.specs { font-size: 0.8rem; color: var(--text-sub); line-height: 1.4; margin-top: 8px; }
5150

52-
/* Funding Goals */
5351
.goals-list { margin: 0; padding: 0; list-style: none; }
5452
.goals-list li {
5553
padding: 12px 0;
@@ -61,8 +59,20 @@
6159
.goals-list strong { color: #000; display: block; font-size: 0.95rem; }
6260
.goals-list span { font-size: 0.9rem; color: var(--text-sub); line-height: 1.5; }
6361

64-
/* Support Section */
65-
.support-box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
62+
/* Poprawiona sekcja wsparcia */
63+
.support-container {
64+
display: flex;
65+
flex-direction: column;
66+
align-items: center;
67+
gap: 25px;
68+
padding: 10px 0;
69+
}
70+
.support-item {
71+
width: 100%;
72+
display: flex;
73+
justify-content: center;
74+
min-height: 40px; /* Rezerwuje miejsce, by przycisk nie znikał */
75+
}
6676
.qr-img { width: 130px; border: 1px solid #ddd; border-radius: 10px; padding: 5px; background: #fff; }
6777

6878
footer { text-align: center; margin-top: 30px; font-size: 0.8rem; color: #a0aec0; }
@@ -121,36 +131,4 @@ <h2>How your support helps</h2>
121131
<div style="font-size: 1.2rem;">💾</div>
122132
<div>
123133
<strong>Hardware Upgrades</strong>
124-
<span>Upgrading existing nodes with larger SSDs (1TB+) and expanding HP RAM capacity to 16GB/32GB for better testing.</span>
125-
</div>
126-
</li>
127-
<li>
128-
<div style="font-size: 1.2rem;">⚡</div>
129-
<div>
130-
<strong>24/7 Infrastructure</strong>
131-
<span>Covering electricity costs for the home-lab and maintaining the high-speed Gigabit Fiber connectivity.</span>
132-
</div>
133-
</li>
134-
</ul>
135-
</div>
136-
137-
<div class="card support-box">
138-
<h2>Support my work</h2>
139-
140-
<iframe src="https://github.com/sponsors/TobiMessi/button" title="Sponsor TobiMessi" height="32" width="114" style="border: 0; border-radius: 6px;"></iframe>
141-
142-
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="TobiK0" data-color="#FFDD00" data-emoji="" data-font="Cookie" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script>
143-
144-
<div style="margin-top: 10px;">
145-
<p style="font-size: 0.8rem; color: var(--text-sub); margin-bottom: 10px;">Mobile Quick Support (QR Code):</p>
146-
<img src="qr-code.png" alt="Support QR" class="qr-img">
147-
</div>
148-
</div>
149-
150-
<footer>
151-
1 Gbps Fiber • Linux Mint 22.2 • Docker Ecosystem • Project Orbit 2026
152-
</footer>
153-
</div>
154-
155-
</body>
156-
</html>
134+
<span>Upgrading existing nodes with larger SSDs (1TB+) and expanding HP RAM capacity to 16GB

0 commit comments

Comments
 (0)