MediaWiki:Vector.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
mNie podano opisu zmian |
mNie podano opisu zmian |
||
Linia 22: | Linia 22: | ||
font-size: 19px; | font-size: 19px; | ||
line-height: 1.4; | line-height: 1.4; | ||
width: 200px; /* ustaw stałą szerokość sidebaru */ | |||
padding-left: 0; /* usuń padding z lewej strony */ | |||
box-sizing: border-box; /* padding nie zwiększa szerokości */ | |||
} | } | ||
#mw-panel a { | #mw-panel a { | ||
color: #666 !important; | color: #666 !important; | ||
text-decoration: none; | text-decoration: none; | ||
padding: | padding: 6px 8px; /* daj trochę paddingu, ale nie za dużo */ | ||
display: block; | display: block; | ||
border-radius: 4px; | border-radius: 4px; | ||
max-width: 180px; /* ogranicz maksymalną szerokość przycisku */ | |||
white-space: nowrap; /* zapobiega łamaniu tekstu na dwie linie */ | |||
overflow: hidden; /* ukrywa tekst, który się nie mieści */ | |||
text-overflow: ellipsis;/* jeśli tekst jest dłuższy - pokazuje "..." */ | |||
transition: background 0.2s ease, color 0.2s ease; | transition: background 0.2s ease, color 0.2s ease; | ||
} | } | ||
#mw-panel a:hover:not(#p-logo a) { | #mw-panel a:hover:not(#p-logo a) { |
Wersja z 23:19, 16 lip 2025
#p-logo a { background-size: contain !important; width: 160px !important; height: 160px !important; display: block !important; } #p-logo a:hover { background-color: transparent !important; color: inherit !important; box-shadow: none !important; } #p-tb { display: none; } #mw-panel { font-size: 19px; line-height: 1.4; width: 200px; /* ustaw stałą szerokość sidebaru */ padding-left: 0; /* usuń padding z lewej strony */ box-sizing: border-box; /* padding nie zwiększa szerokości */ } #mw-panel a { color: #666 !important; text-decoration: none; padding: 6px 8px; /* daj trochę paddingu, ale nie za dużo */ display: block; border-radius: 4px; max-width: 180px; /* ogranicz maksymalną szerokość przycisku */ white-space: nowrap; /* zapobiega łamaniu tekstu na dwie linie */ overflow: hidden; /* ukrywa tekst, który się nie mieści */ text-overflow: ellipsis;/* jeśli tekst jest dłuższy - pokazuje "..." */ transition: background 0.2s ease, color 0.2s ease; } #mw-panel a:hover:not(#p-logo a) { background-color: #555 !important; color: #f0f0f0 !important; } #footer a { color: #666; text-decoration: none; margin: 0 6px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s ease, color 0.2s ease; } #footer a:hover { background-color: #555 !important; color: #f0f0f0 !important; } #pt-login a, #pt-createaccount a { color: #666; text-decoration: none; margin: 0 6px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s ease, color 0.2s ease; } #pt-login a:hover, #pt-createaccount a:hover { background-color: #555 !important; color: #f0f0f0 !important; } body.page-Strona_główna h1.firstHeading { display: none; }