MediaWiki:Vector.css
Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5.
- Opera: Naciśnij klawisze Ctrl+F5.
#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;
}