MediaWiki
Vector.css: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
Line 201: | Line 201: | ||
display: none; | display: none; | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* Image Thumbs and Frames */ | |||
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] { | |||
margin-left: 50vw; | |||
margin-right: 30vw; | |||
} | } |
Revision as of 18:00, 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 fixed; } body { background: url(https://cdn.discordapp.com/attachments/755155800212767092/811302118115377192/unknown.png) top left fixed; } /* 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; } 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; } /* Collapsible Headers */ h2.h-collapsible span.mw-headline:before { background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png); background-position: 50% 50%; background-repeat: no-repeat; background-size: 100% auto; content: ''; display: block; height: 12px; left: 0; margin: 0 0.25em; min-height: 1.5em; position: absolute; right: 0; width: 12px; } h2.h-collapsible span.mw-headline { margin-left: 1em; } .c-content { display: none; overflow: hidden; } /* Image Thumbs and Frames */ .mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] { margin-left: 50vw; margin-right: 30vw; }