MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
.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; | ||
} | |||
} | |||
@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); | |||
} | } | ||
} | } |
Revision as of 22:43, 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-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); } }