|
97 | 97 | box-shadow: var(--shadow-sm); |
98 | 98 | text-align: center; |
99 | 99 | box-sizing: border-box; |
100 | | - white-space: nowrap; /* Zakaz łamania tekstu */ |
| 100 | + white-space: nowrap; |
| 101 | + padding: 8px 16px; |
101 | 102 | } |
102 | 103 |
|
103 | | - /* SZTYWNE SZEROKOŚCI DLA IDEALNEJ SYMETRII (Flexbox override) */ |
| 104 | + /* BRUTALNA SIŁA CSS - Wymuszenie identycznych rozmiarów */ |
104 | 105 | .nav-links .btn { |
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ł */ |
| 106 | + width: 140px !important; |
| 107 | + min-width: 140px !important; |
| 108 | + max-width: 140px !important; |
| 109 | + flex: none !important; /* Blokuje elastyczność Flexboxa */ |
| 110 | + padding-left: 0 !important; |
| 111 | + padding-right: 0 !important; |
108 | 112 | } |
109 | 113 | .support-links .btn { |
110 | | - flex: 0 0 170px; |
111 | | - width: 170px; |
112 | | - padding: 8px 0; |
| 114 | + width: 170px !important; |
| 115 | + min-width: 170px !important; |
| 116 | + max-width: 170px !important; |
| 117 | + flex: none !important; |
| 118 | + padding-left: 0 !important; |
| 119 | + padding-right: 0 !important; |
113 | 120 | } |
114 | 121 |
|
115 | 122 | .btn:hover { transform: translateY(-2px); opacity: 0.9; } |
|
124 | 131 |
|
125 | 132 | .btn-orbit { |
126 | 133 | background: #4b0082; |
127 | | - padding: 12px 24px; |
| 134 | + padding: 12px 24px !important; |
128 | 135 | font-size: 1rem; |
129 | 136 | display: inline-block; |
130 | 137 | text-align: center; |
131 | 138 | margin: 20px auto; |
132 | | - max-width: 300px; |
| 139 | + max-width: 300px !important; |
133 | 140 | border-radius: 8px; |
134 | | - width: auto; |
135 | | - white-space: normal; /* Ten przycisk może mieć normalny tekst */ |
| 141 | + width: auto !important; |
| 142 | + white-space: normal !important; |
136 | 143 | } |
137 | 144 |
|
138 | 145 | /* --- GŁÓWNY KONTENER --- */ |
|
271 | 278 | .nav-links { justify-content: center; } |
272 | 279 | .hero h1 { font-size: 1.8rem; } |
273 | 280 | .container { margin-top: 20px; } |
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 | | - } |
279 | 281 | } |
280 | 282 | </style> |
281 | 283 | </head> |
|
0 commit comments