MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
@import url('https://fonts.googleapis.com/css?family=Spectral:300,300i,400,400i,500,500i,600,600i&display=swap'); @import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap&subset=latin-ext'); h1 { display:none } h2, .mw-body-content h2 { font-family: 'ribes black'; font-size: 8em; line-height: calc(2 * var(--line-height)); color: royalblue; margin-top: 0; margin-bottom: 0; } h3, .mw-body-content h3 { font-weight: normal; font-family: "Poppins"; font-size: 1.5em; font-weight: 600; letter-spacing: 0.03em; } p, .mw-body-content p { font-family: 'Spectral',serif; font-size: var(--font-size); max-width: 40em; line-height: var(--line-height); margin: 0 0 0 0; text-rendering: optimizelegibility; } a { font-family: "Poppins"; font-size: 0.87em; letter-spacing: 0.025em; font-weight: 500; } em { font-family: "Poppins"; } p:first-of-type { var(--line-height); } p + p { margin: 0em 0 0em 0; text-indent: 24pt; } li { margin-bottom: 0.8em; } .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { margin: 2.8em 0px 0 35.6em; padding: 0; font-family: "Poppins"; font-size: 0.95em; font-weight: 600; letter-spacing: 0.04em; line-height: 1.55em; } sup.reference { font-size: 0.55em; font-weight: 600; letter-spacing: 0.04em; line-height: 0; } #mw-panel .portal .body { background-image: none; } .vectorTabs, .vectorTabs ul, .vectorTabs ul li, .vectorTabs ul li.selected, .vectorTabs span { background-image: none; } @media screen { :root { --font-size: 1.75em; --line-height: 1.3em; } .mw-body, .mw-body-content { color: royalblue; } #mw-head { background: royalblue; color: white !important; } #mw-head a { color: white; } #mw-panel { background-color: royalblue; width: 15em; } #mw-panel .portal h3, #mw-panel .portal .body li a { color:white; } .vectorTabs li.selected a, .vectorTabs li.selected a:visited { color: white; font-weight: bold; } .mw-body, #mw-head-base, #left-navigation, #footer { margin-left: 18em; margin-right: 12em; } .timeline { position:fixed; bottom:0; left:0; right:0; white-space:nowrap } .timeline--entry[data-loading]::before { content:"Loading"; padding:2em } .timeline--entry { display:inline-block; background:brown; border-radius:1em; height:1.5em; width:5px; margin-right:.5em; cursor:pointer; position:relative } .timeline--entry.active, .timeline--entry:hover { background:green } .timeline--entry .timeline--entry--data { display:none } .timeline--entry:hover .timeline--entry--data { transform:rotate(-90deg); transform-origin:top left; display:block; position:absolute; left:0; bottom:1em } .timeline--entry--data { white-space:nowrap } .revisions { max-height:80vh; white-space:nowrap; max-width:100%; overflow-x:auto } .revisions--revision { display:inline-block; height:80vh; width:100%; overflow-y:auto; white-space:normal; margin-right:2em } } @media print { :root { --line-height: 12pt; --font-size: 9pt; } .timeline { display:none } .revision:nth-of-type(n+2) { display:none } h2 { border-bottom: none; } p { text-align: left; margin-top: 0; } .mw-parser-output { columns: 2; column-gap: 10mm; } h2 { /* column-span: all; */ } h2 + h3 { margin-top: 0; } img { max-width: 100%; display: none; } [data-section] { page-break-after: always; } sup.reference { line-height: 0.5; /** Just for now to make sure all lines have the same height */ } a { text-decoration: none; border-bottom: none; } }