„MediaWiki:Timeless.css” változatai közötti eltérés
aNincs szerkesztési összefoglaló |
only show button when the sidebar && bugfix for smaller breakpoints |
||
| 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 { | ||
| 37. sor: | 40. sor: | ||
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 { | ||