Skip to content

Commit f52aa56

Browse files
authored
Update index.html
1 parent d2ab925 commit f52aa56

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

‎index.html‎

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
/* --- PRZYCISKI (Sleek design) --- */
8989
.btn {
9090
display: inline-block;
91-
padding: 8px 16px;
9291
border-radius: 8px;
9392
text-decoration: none;
9493
font-weight: 600;
@@ -98,14 +97,19 @@
9897
box-shadow: var(--shadow-sm);
9998
text-align: center;
10099
box-sizing: border-box;
100+
white-space: nowrap; /* Zakaz łamania tekstu */
101101
}
102102

103-
/* SZTYWNE SZEROKOŚCI DLA IDEALNEJ SYMETRII */
103+
/* SZTYWNE SZEROKOŚCI DLA IDEALNEJ SYMETRII (Flexbox override) */
104104
.nav-links .btn {
105-
width: 125px;
105+
flex: 0 0 130px; /* Sztywna szerokość bez możliwości zmiany */
106+
width: 130px;
107+
padding: 8px 0; /* Usunięcie bocznych paddingów, aby tekst się zmieścił */
106108
}
107109
.support-links .btn {
108-
width: 165px;
110+
flex: 0 0 170px;
111+
width: 170px;
112+
padding: 8px 0;
109113
}
110114

111115
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
@@ -127,7 +131,8 @@
127131
margin: 20px auto;
128132
max-width: 300px;
129133
border-radius: 8px;
130-
width: auto; /* Ten przycisk ma być dopasowany do tekstu */
134+
width: auto;
135+
white-space: normal; /* Ten przycisk może mieć normalny tekst */
131136
}
132137

133138
/* --- GŁÓWNY KONTENER --- */
@@ -266,8 +271,11 @@
266271
.nav-links { justify-content: center; }
267272
.hero h1 { font-size: 1.8rem; }
268273
.container { margin-top: 20px; }
269-
/* Na małych ekranach ujednolicamy szerokość wszystkich przycisków */
270-
.nav-links .btn, .support-links .btn { width: 140px; }
274+
/* Na małych ekranach ujednolicamy szerokość wszystkich przycisków i przywracamy flex */
275+
.nav-links .btn, .support-links .btn {
276+
flex: 0 0 140px;
277+
width: 140px;
278+
}
271279
}
272280
</style>
273281
</head>
@@ -289,7 +297,7 @@
289297
<h1>Self-Taught Infrastructure Enthusiast</h1>
290298
<p>Building, learning, and optimizing home-lab environments, Linux systems, and Docker containers.</p>
291299

292-
<a href="https://blog.devlabstudy.ovh/" target="_blank" class="btn btn-orbit">Read Project Orbit™ Blog</a>
300+
<a href="https://blog.devlabstudy.ovh/" target="_blank" class="btn btn-orbit">Read my blog</a>
293301
</section>
294302

295303
<div class="focus-box">

0 commit comments

Comments
 (0)