MediaWiki:Vector.css: Difference between revisions
No edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
} | } | ||
@media screen and (max-width:650px) { | @media screen and (max-width:650px) { | ||
.vector-body, td, th { | |||
.vector-body, td, th { | font-size: 16px; | ||
} | |||
} | .vector-menu-content li a { | ||
.vector-menu-content li a { | font-size: 16px; | ||
} | |||
} | .vector-menu-tabs li { | ||
.vector-menu-tabs li { | line-height: 0; | ||
} | |||
} | div#mw-head * { | ||
div#mw-head * { | background-image: none; | ||
} | |||
} | |||
} | } | ||
@media screen and (max-width: 86.75em) { | @media screen and (max-width: 86.75em) { | ||
Line 59: | Line 55: | ||
max-width: 80em; | max-width: 80em; | ||
} | } | ||
} | |||
.mw-createacct-benefits-container{ | |||
float: none; | |||
} | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
font-family: sans-serif; | |||
} | } |
Latest revision as of 18:48, 29 February 2024
/* 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; } } .mw-createacct-benefits-container{ float: none; } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: sans-serif; }