MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
@media screen and (max-width: 86.75em) { | @media screen and (max-width: 86.75em) { | ||
#mw-sidebar-button { | |||
display: none; | |||
} | |||
.mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-content-container, .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-article-toolbar-container { | .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-content-container, .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-article-toolbar-container { | ||
margin-left: 11.5em; | margin-left: 11.5em; |
Revision as of 22:44, 11 November 2022
/* All CSS here will be loaded for users of the Vector skin */ @media screen and (max-width:650px) { .vector-body, td, th { font-size: 16px; } .vector-menu-content li a { font-size: 16px; } .vector-menu-tabs li { line-height: 0; } div#mw-head * { background-image: none; } } @media screen and (max-width: 86.75em) { #mw-sidebar-button { display: none; } .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-content-container, .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-article-toolbar-container { margin-left: 11.5em; } } @media screen and (min-width: 86.75em) { #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar { visibility: visible; opacity: 1; -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); } #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar { -webkit-transform: translateX(0em); -ms-transform: translateX(0em); transform: translateX(0em); } }