„MediaWiki:Timeless.css” változatai közötti eltérés
aNincs szerkesztési összefoglaló |
bugfix: ease and index |
||
| (3 közbenső módosítás ugyanattól a felhasználótól nincs mutatva) | |||
| 21. sor: | 21. sor: | ||
} | } | ||
/* Sidebar hiding */ | /* | ||
* Sidebar hiding | |||
#mw-related-navigation.hidden { display: none; } | */ | ||
#mw-related-navigation.hide { animation: hide 0.4s forwards; } | @media screen and (min-width: 1340px) { | ||
#mw-related-navigation.show { animation: show 0.4s forwards; } | #mw-related-navigation.hidden { display: none; } | ||
#mw-related-navigation.hide { animation: hide 0.4s forwards; } | |||
#mw-related-navigation.show { animation: show 0.4s forwards; } | |||
} | |||
@keyframes hide { | @keyframes hide { | ||
from { margin-right: 0; } | from { margin-right: 0; } | ||
99% { margin-right: - | 99% { margin-right: -16em; opacity: 0; position: relative; } | ||
to { | to { opacity: 0; position: absolute; z-index: -999; } | ||
} | } | ||
@keyframes show { | @keyframes show { | ||
from { margin-right: - | from { margin-right: -16em; opacity: 0; } | ||
to { margin-right: 0; opacity: 100; } | to { margin-right: 0; opacity: 100; } | ||
} | } | ||
/* Only show the button when the sidebar is shown */ | |||
@media screen and (max-width: 1339px) { #sidebar-toggle-btn { display: none; } } | |||
#sidebar-toggle-btn > a { | #sidebar-toggle-btn > a { | ||