User:Wikiloop/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
:root {
	--blue: rgb(163, 211, 255);
	--red: rgb(255, 200, 200);
}

div#content, table.diff, span.flaggedrevs-color-1 { background-color: #c2dce5 } /* kinda lessens eye fatigue */

/* inefficient space usage is a horrible sin */
div#content { padding: 0.5em 1em 1em }
div#p-personal { top: 0 }
div#left-navigation, div#right-navigation { margin-top: 1.5em }
div#mw-page-base, div#mw-head-base { height: 4em }
div#mw-head-base { margin-top: -4em }
#siteSub, #t-upload, #t-print, #t-permalink, #n-aboutsite, #n-recentchanges { display: none }
div#mw-panel div.portal h3 { font-size: 0.5em }

ol.references li:target,sup.reference:target,span.citation:target {
   background-color: var(--red); /* improved reference highlighting visibility */
}

div#simpleSearch { /* widen the search box */
	width: 30em;
	max-width: 30em;
}

DIV#mw-panel {
   position: fixed;
}

div#p-lang {
   height: 250px;
   overflow-y: auto;
}

a#top { position: absolute } /* fix */

/* useful for fast visual scanning */
a.mw-thanks-thank-link { color: fuchsia }
a.mw-changeslist-date { color: black }
a.mw-changeslist-date:visited { color: dimgray }

form.mw-contributions-form ~ ul > li:hover { background-color: var(--blue) }

/* default visibility sucks */
td.diff-deletedline { border-color: var(--red) }
td.diff-deletedline .diffchange { background-color: var(--red) }
td.diff-addedline .diffchange { background-color: var(--blue) }
td.diff-addedline, td.diff-deletedline, td.diff-context { font-family: Consolas }