MediaWiki:Common.css
Strona MediaWiki
Inne akcje
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.
.ubp-tile details {
width: 100%;
height: 100%;
border-radius: 6px;
overflow: hidden;
}
.ubp-tile summary {
font-weight: bold;
font-size: 1.4em;
cursor: pointer;
list-style: none;
padding: 20px;
background-color: rgba(0, 0, 0, 0.6);
color: white !important;
text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
transition: background-color 0.3s ease;
border-radius: 6px;
}
.ubp-tile summary::-webkit-details-marker {
display: none;
}
.ubp-tile summary:hover {
background-color: rgba(0, 0, 0, 0.4);
}
/* Opened tile content */
.ubp-tile .tile-content {
padding: 15px;
background-color: var(--background-color-base);
border-top: 1px solid var(--border-color-quiet);
opacity: 0;
transform: translateY(-10px);
transition: all 0.4s ease-in-out;
}
/* Animation activation when details is opened */
.ubp-tile details[open] .tile-content {
opacity: 1;
transform: translateY(0);
}
/* Responsive iframe for YouTube */
.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
border-radius: 8px;
}
.video-container iframe, .video-container object, .video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}