MediaWiki
Vector.css: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
Line 95: | Line 95: | ||
} | } | ||
@media screen and ( | @media screen and (max-width: 1024px) | ||
.mw-body, #mw-data-after-content { | .mw-body, #mw-data-after-content { | ||
margin-left: 10em; | margin-left: 10em; |
Revision as of 05:48, 19 January 2024
/* All CSS here will be loaded for users of the Vector skin */ /* Hiding content to discourage use */ li#ca-talk { display: none; } nav#p-tb { display: none; } /* Backgrounds */ div#mw-head { background: url(https://cdn.discordapp.com/attachments/755155800212767092/811302118115377192/unknown.png) top left scroll; } body { background: url(https://cdn.discordapp.com/attachments/755155800212767092/811302118115377192/unknown.png) top left scroll; } /* Text */ a { color: #5388a0; } a:visited { color: #5388a0; } .toctogglelabel { color: #5388a0; } .mw-parser-output a.extiw, .mw-parser-output a.external { color: #5388a0; } /* Sidebar */ .vector-menu-content { background: #252525; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited { color: #5388a0; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a { color: #5388a0; } .mw-portlet .vector-menu-heading { background: none; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { color: white; font-size: .9em; font-weight: bold; background-image: none; margin-bottom: -15px; } nav#p-navigation { margin-top: -2.4em; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-content { padding: 10px; padding: 10px; margin-right: 10px; margin-left: 0px; } h3#p-Test_Pages-label { padding: 10px; margin-right: 10px; margin-left: 0px; } .mw-body, #mw-data-after-content { margin-left: 10em; margin-right: 5em; } @media screen and (min-width: 982px) .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 10.47em !important; margin-right: 5em; } @media screen and (max-width: 1024px) .mw-body, #mw-data-after-content { margin-left: 10em; margin-right: 0em !important; } div#mw-panel { background: #252525; height: 100vh; position: fixed; } li#ca-nstab-mediawiki { display: none; } li#ca-nstab-main { display: none; } li#ca-nstab-main { display: none; } div#left-navigation .vector-menu-tabs { background: none; } /* Top Navigation */ .vector-menu-tabs-legacy li { background: white; } .vector-menu-tabs a { background: none; } nav#p-cactions { background: white; } .vector-menu-tabs-legacy li a { background-position: right bottom; color: #5388a0; } nav#p-personal .vector-menu-content { background: none; } nav#p-personal .vector-menu-content a { color: white; } /* Footer */ .mw-footer { background: #252525; margin-left: 10.47em !important; margin-right: 5em; height: 100px; } .mw-footer li { color: white; } .mw-footer li a { color: #5388a0; } li#footer-places-privacy { display: none; } /* Home Page */ .imagegrid { display: flex; flex-wrap: wrap; margin-top: 20px; } .gridimage { padding: 10px; } .gridimage img { height: 150px; width: auto; }