MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Nie podano opisu zmian Znacznik: Wycofane |
Nie podano opisu zmian Znacznik: Ręczne wycofanie zmian |
||
| (Nie pokazano 2 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
| Linia 127: | Linia 127: | ||
width: auto !important; /* Allow natural width from inline styles */ | width: auto !important; /* Allow natural width from inline styles */ | ||
min-width: 0 !important; /* Remove minimum width constraints */ | min-width: 0 !important; /* Remove minimum width constraints */ | ||
} | } | ||
Aktualna wersja na dzień 21:55, 28 lis 2025
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
/* Wyłączenie klikalności PageBanner */
/* Wyłączenie klikalności PageBanner */
.wpb-topbanner a {
pointer-events: none;
cursor: default;
}
/* Wyłączenie podpisu strony w PageBanner */
/* Wyłączenie podpisu strony w PageBanner */
.wpb-name {
display: none !important;
}
/* Wyłączenie dyskusji stron */
/* Wyłączenie dyskusji stron */
#ca-talk { display: none !important; }
/* Skalowanie obrazka Infoboxa */
/* Skalowanie obrazka Infoboxa */
.infobox-image {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* Podświetlanie przycisków pod banerem na głównej stronie */
/* Podświetlanie przycisków pod banerem na głównej stronie */
.hover-table td:hover,
.hover-table th:hover {
background-color: #fffacd !important;
}
.hover-table-alt td:hover,
.hover-table-alt th:hover {
background-color: #f0fff0 !important;
}
/* Wykluczenie podświetlenia */
.hover-table td.no-hover:hover,
.hover-table th.no-hover:hover,
.hover-table-alt td.no-hover:hover,
.hover-table-alt th.no-hover:hover {
background-color: inherit !important;
}
/* Klikalność przycisków */
.clickable-cell {
padding: 0 !important;
height: 100%;
}
.clickable-cell a {
display: block;
padding: 0px;
text-decoration: none;
color: inherit;
width: 100%;
height: 100%;
}
/* Class skalowania do tabelek ze zdjęciami */
/* Class skalowania do tabelek ze zdjęciami */
table.responsive-table {
max-width: 100%;
width: 100% !important;
table-layout: fixed;
}
/* Zdjęcia do skalowania */
table.responsive-table img {
max-width: 100% !important;
height: auto !important;
width: auto !important;
}
/* Thumb do skalowania */
table.responsive-table .thumbinner {
width: auto !important;
max-width: 100% !important;
}
table.responsive-table .thumbimage {
max-width: 100% !important;
height: auto !important;
width: auto !important;
}
/*AAAAAAAAAAAAAAAAAAAAA*/
/* Responsive table that preserves custom column widths */
table.responsive-table-2 {
max-width: 100%;
width: auto !important;
/* Remove table-layout: fixed to allow custom widths */
}
/* Scale images but preserve column structure */
table.responsive-table-2 img {
max-width: 100% !important;
height: auto !important;
}
/* Target thumbnail containers */
table.responsive-table-2 .thumbinner {
max-width: 100% !important;
width: auto !important;
}
table.responsive-table-2 .thumbimage {
max-width: 100% !important;
height: auto !important;
width: auto !important;
}
/* Ensure table cells respect their defined widths */
table.responsive-table-2 td,
table.responsive-table-2 th {
width: auto !important; /* Allow natural width from inline styles */
min-width: 0 !important; /* Remove minimum width constraints */
}