MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
} | } | ||
@media screen and (max-width: 86.75em) { | @media screen and (max-width: 86.75em) { |
Revision as of 22:34, 8 July 2023
/* All CSS here will be loaded for users of the Vector skin */ .skin-vector-legacy #mw-panel { top: 45px; } @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) { } @media screen and (min-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; } #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); } } @media screen { .mw-workspace-container { max-width: 102em; } .mw-content-container { max-width: 80em; } }