More languages
More actions
No edit summary |
fixing 'you must login again' notification box not appearing correctly |
||
| (315 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* Template styles merged in from MediaWiki:Templates.css on 2026-11-05. | ||
Previously loaded via @import, which cost one full PHP request per page view. */ | |||
/*This lets smooth scrolling happen when clicking on anchor links, while respecting each brower's settings*/ | |||
@media ( prefers-reduced-motion: no-preference ) { | |||
html { | |||
scroll-behavior: smooth; | |||
} | |||
} | } | ||
. | /* Middle-click autoscroll (the browser's "auto scroll" mode) and scroll-behavior: smooth | ||
do not coexist well: every autoscroll step becomes its own smooth animation, so the view | |||
keeps springing back toward where the auto-scroll started instead of following the | |||
pointer. Editing does not need animated anchor jumps - the editor has none - so editor | |||
pages opt out. VisualEditor puts "ve-active" on <html> while it is open. */ | |||
html.ve-active { | |||
scroll-behavior: auto; | |||
} | |||
. | /**************************/ | ||
/** Template:Message box **/ | |||
/**************************/ | |||
.mbox { | |||
border: 1px solid var(--border-color-base); | |||
background-color: var(--color-surface-2); | |||
border-left: 10px solid #b50014; | |||
} | } | ||
/**********************/ | |||
/** Template:Infobox **/ | |||
/**********************/ | |||
/* (removed: .infobox.skin-citizen-light / -dark rules never matched - the theme class is on :root, | |||
not on infoboxes - and both had an invalid 'background-color: --color-surface-2'.) */ | |||
.infobox { | .infobox { | ||
border: 1px solid | border: 1px solid var(--border-color-1); | ||
border-spacing: 3px; | border-spacing: 3px; | ||
/* @noflip */ | /* @noflip */ | ||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
padding: | padding: 1em; | ||
/* @noflip */ | /* @noflip */ | ||
float: right; | float: right; | ||
| Line 59: | Line 68: | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border: 1px solid | border: 1px solid var(--border-color-1); | ||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
.infobox.bordered .borderless th { | .infobox.bordered .borderless th { | ||
border: 0; | border: 0; | ||
} | } | ||
| Line 84: | Line 79: | ||
.infobox.bordered .mergedtoprow th { | .infobox.bordered .mergedtoprow th { | ||
border: 0; | border: 0; | ||
border-top: 1px solid | border-top: 1px solid var(--border-color-1); | ||
/* @noflip */ | /* @noflip */ | ||
border-right: 1px solid | border-right: 1px solid var(--border-color-1); | ||
} | } | ||
| Line 93: | Line 88: | ||
border: 0; | border: 0; | ||
/* @noflip */ | /* @noflip */ | ||
border-right: 1px solid | border-right: 1px solid var(--border-color-1); | ||
} | } | ||
| Line 106: | Line 101: | ||
.infobox.geography td, | .infobox.geography td, | ||
.infobox.geography th { | .infobox.geography th { | ||
border-top: 1px solid | border-top: 1px solid var(--border-color-1); | ||
padding: 0.4em | padding: 0.4em 1.5em 0.4em 1.5em; | ||
} | } | ||
.infobox.geography .mergedtoprow td, | .infobox.geography .mergedtoprow td, | ||
.infobox.geography .mergedtoprow th { | .infobox.geography .mergedtoprow th { | ||
border-top: 1px solid | border-top: 1px solid var(--border-color-1); | ||
padding: 0.4em | padding: 0.4em 1.5em 0.2em 1.5em; | ||
} | } | ||
| Line 118: | Line 113: | ||
.infobox.geography .mergedrow th { | .infobox.geography .mergedrow th { | ||
border: 0; | border: 0; | ||
padding: 0 | padding: 0 1.5em 0.2em 1.5em; | ||
} | } | ||
| Line 124: | Line 119: | ||
.infobox.geography .mergedbottomrow th { | .infobox.geography .mergedbottomrow th { | ||
border-top: 0; | border-top: 0; | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--border-color-1); | ||
padding: 0 | padding: 0 1.5em 0.4em 1.5em; | ||
} | } | ||
| Line 132: | Line 127: | ||
border: 0; | border: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
/**********************/ | |||
/** Template:Sidebar **/ | |||
/**********************/ | |||
.sidebar { | |||
width: 25em; | |||
background-color: var(--color-surface-2); | |||
float: right; | |||
clear: right; | |||
margin: 0.5em 0 1em 1em; | |||
border: 1px solid #aaa; | |||
padding: 0.2em; | |||
border-spacing: 0.4em 0; | |||
text-align: center; | |||
line-height: 1.4em; | |||
font-size: 88%; | |||
display: table; | |||
} | |||
/*** | |||
**** | |||
**** CSS Variables | |||
**** | |||
***/ | |||
@media screen{ | |||
/* Light-family base: Light, Sepia, Trans, Neobrutalism, Auto. | |||
Values are the ones previously declared for Light only. */ | |||
:root.skin-citizen-light, | |||
:root.skin-citizen-sepia, | |||
:root.skin-citizen-trans, | |||
:root.skin-citizen-neobrutalism, | |||
:root.skin-citizen-auto, | |||
:root.skin-theme-clientpref-day { | |||
color-scheme: light; | |||
/* surfaces - Citizen defines 0-4; 5-7 are this wiki's own names */ | |||
--color-surface-0: white; /* site background */ | |||
--color-surface-1: white; /* modals, dropdowns */ | |||
--color-surface-2: hsl(0,0%,97%); | |||
--color-surface-3: hsl(220,20%,90%); | |||
--color-surface-4: hsl(213,30%,85%); | |||
--color-surface-5: hsl(220,17%,93%); /* wiki-only; Citizen has no surface-5 */ | |||
--color-surface-6: hsl(200,2%,60%); | |||
--color-surface-7: hsl(180,2%,40%); | |||
--color-progressive: #3366CC; | |||
--color-link: hsl(220,60%,50%); | |||
--color-link-red: #d60021; | |||
--color-inverted-primary: #fff; | |||
--border-color-base: rgba(0,0,0,0.08); | |||
/* text */ | |||
--color-base: #262e35; | |||
--color-base--subtle: #646464; | |||
--color-base--emphasized: #202020; | |||
--color-subtle: hsl(220,30%,35%); | |||
--color-emphasized: hsl(220,85%,5%); | |||
/* accents */ | |||
--color-success2: hsl(167,70%,31%); | |||
--color-surface-subtle-red: hsl(0,100%,97%); | |||
--color-red-2: #900010; | |||
--color-red-3: #b50014; | |||
--color-red-detail-3: #c33242; | |||
/* borders */ | |||
--border-color-1: #b0b0b0; | |||
--border-color-2: #c7c7c7; | |||
/* icons and reading mode */ | |||
--filter-invert: invert(0) hue-rotate(0deg); | |||
--filter-icon: none; /* was never defined -> rule was invalid */ | |||
--color-hoverline: rgba(255,255,150,0.2); | |||
--color-progress-bar: #B6B6B6; | |||
--color-progress-bar-tooltip: #333; | |||
/* syntax editor */ | |||
--color-codeeditor-select: #b5d5ff; | |||
--color-codeeditor-similar: #fafaff; | |||
--color-codeeditor-similar-border: #c8c8fa; | |||
} | |||
/* ---------- Dark ---------- */ | |||
:root.skin-citizen-dark { | |||
color-scheme: dark; | |||
--color-surface-0: hsl(220,20%,8%); | |||
--color-surface-1: hsl(220,25%,10%); | |||
--color-surface-2: hsl(220,25%,13%); | |||
--color-surface-3: hsl(220,15%,18%); | |||
--color-surface-4: hsl(220,15%,23%); | |||
--color-surface-5: hsl(220,18%,15%); | |||
--color-surface-6: hsl(220,10%,45%); | |||
--color-surface-7: hsl(220,10%,65%); | |||
--color-progressive: hsl(220,60%,60%); | |||
--color-link: hsl(220,60%,60%); | |||
--color-link-red: #d60021; | |||
--color-inverted-primary: #fff; | |||
--border-color-base: rgba(255,255,255,0.05); | |||
--color-base: hsl(220,25%,80%); | |||
--color-base--subtle: hsl(220,25%,65%); | |||
--color-base--emphasized: hsl(220,80%,95%); | |||
--color-subtle: hsl(220,25%,65%); | |||
--color-emphasized: hsl(220,80%,95%); | |||
--color-success2: hsl(167,45%,45%); | |||
--color-surface-subtle-red: hsl(0,45%,28%); | |||
--color-red-2: #900010; | |||
--color-red-3: #800000; | |||
--color-red-detail-3: #6d0000; | |||
--border-color-1: hsl(220,28%,23%); | |||
--border-color-2: hsl(220,25%,20%); | |||
--filter-invert: invert(1) hue-rotate(180deg); | |||
--filter-icon: none; | |||
--color-hoverline: rgba(73,86,109,0.2); | |||
--color-progress-bar: rgb(73,86,109); | |||
--color-progress-bar-tooltip: #333; | |||
--color-codeeditor-select: #485465; | |||
--color-codeeditor-similar: #394350; | |||
--color-codeeditor-similar-border: #4c5561; | |||
} | |||
/* ---------- Sepia ---------- */ | |||
:root.skin-citizen-sepia { | |||
color-scheme: light; | |||
--color-surface-0: hsl(35,100%,91%); | |||
--color-surface-1: hsl(35,100%,91%); | |||
--color-surface-2: hsl(35,100%,91%); | |||
--color-surface-3: hsl(35,45%,84%); | |||
--color-surface-4: hsl(213,30%,85%); | |||
--color-surface-5: hsl(220,17%,93%); | |||
--color-base: #0A1219; | |||
--color-base--subtle: hsl(220,30%,35%); | |||
--color-base--emphasized: hsl(220,85%,5%); | |||
--color-subtle: hsl(220,30%,35%); | |||
--color-emphasized: hsl(220,85%,5%); | |||
--color-link: hsl(220,55%,45%); | |||
--color-progressive: hsl(220,55%,45%); | |||
--color-link-red: #DE2F44; | |||
--color-red-3: hsl(353,100%,25%); | |||
--color-red-detail-3: hsl(353,100%,20%); | |||
--filter-invert: invert(0) hue-rotate(0deg); | |||
--filter-icon: none; | |||
--color-hoverline: rgba(180,156,124,0.2); | |||
--color-progress-bar: rgb(180,156,124); | |||
} | |||
/* ---------- Trans (June) ---------- */ | |||
:root.skin-citizen-trans { | |||
color-scheme: light; | |||
--color-surface-0: #FADBE2; | |||
--color-surface-1: #C6E4EE; | |||
--color-surface-2: var(--color-surface-1); | |||
--color-surface-3: hsl(197,45%,88%); | |||
--color-surface-5: hsl(190,40%,93%); | |||
--color-base: black; | |||
--color-base--subtle: #333333; | |||
--color-base--emphasized: black; | |||
--color-subtle: hsl(220,30%,35%); | |||
--color-emphasized: black; | |||
--color-link: #05749C; | |||
--color-progressive: #05749C; | |||
--color-link-red: #DE2F75; | |||
--color-red-3: white; | |||
--color-red-detail-3: var(--color-surface-1); | |||
--color-inverted-primary: #333333; | |||
--border-color-1: #5CB9D8; | |||
--border-color-2: #a8d8e6; | |||
--filter-invert: invert(0) hue-rotate(0deg); | |||
--filter-icon: none; | |||
--color-progress-bar: #B6B6B6; | |||
} | |||
/* ---------- Auto ---------- */ | |||
/* skin-citizen-auto takes the light-family base above; this makes it follow | |||
the OS when the visitor's system asks for dark. */ | |||
@media (prefers-color-scheme: dark) { | |||
:root.skin-citizen-auto { | |||
color-scheme: dark; | |||
--color-surface-0: hsl(220,20%,8%); | |||
--color-surface-1: hsl(220,25%,10%); | |||
--color-surface-2: hsl(220,25%,13%); | |||
--color-surface-3: hsl(220,15%,18%); | |||
--color-surface-4: hsl(220,15%,23%); | |||
--color-surface-5: hsl(220,18%,15%); | |||
--color-surface-6: hsl(220,10%,45%); | |||
--color-surface-7: hsl(220,10%,65%); | |||
--color-progressive: hsl(220,60%,60%); | |||
--color-link: hsl(220,60%,60%); | |||
--color-link-red: #d60021; | |||
--color-inverted-primary: #fff; | |||
--border-color-base: rgba(255,255,255,0.05); | |||
--color-base: hsl(220,25%,80%); | |||
--color-base--subtle: hsl(220,25%,65%); | |||
--color-base--emphasized: hsl(220,80%,95%); | |||
--color-subtle: hsl(220,25%,65%); | |||
--color-emphasized: hsl(220,80%,95%); | |||
--color-success2: hsl(167,45%,45%); | |||
--color-surface-subtle-red: hsl(0,45%,28%); | |||
--color-red-2: #900010; | |||
--color-red-3: #800000; | |||
--color-red-detail-3: #6d0000; | |||
--border-color-1: hsl(220,28%,23%); | |||
--border-color-2: hsl(220,25%,20%); | |||
--filter-invert: invert(1) hue-rotate(180deg); | |||
--filter-icon: none; | |||
--color-hoverline: rgba(73,86,109,0.2); | |||
--color-progress-bar: rgb(73,86,109); | |||
--color-progress-bar-tooltip: #333; | |||
--color-codeeditor-select: #485465; | |||
--color-codeeditor-similar: #394350; | |||
--color-codeeditor-similar-border: #4c5561; | |||
} | |||
} | |||
/*end :root styling after auto but stay in media screen*/ | |||
.skin-citizen-dark .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */ | |||
filter:invert(1); | |||
} | |||
/*sepia skin custom*/ | |||
.skin-citizen-sepia #skin-client-prefs-skin-theme .citizen-client-prefs-radio__label{ | |||
border-color: hsl(35, 45%, 70%)!important; | |||
} | |||
.skin-citizen-sepia .citizen-client-prefs-radio__input:checked ~ .citizen-client-prefs-radio__label, .skin-citizen-sepia .citizen-client-prefs-radio__label:hover{ | |||
border-color:hsl(34, 19%, 48%)!important; | |||
} | |||
.skin-citizen-sepia .citizen-header__logo img{ | |||
filter:sepia(0.5)!important; | |||
} | |||
.skin-citizen-sepia .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */ | |||
filter:none; | |||
} | |||
/*neobrut skin*/ | |||
:root.skin-citizen-neobrutalism body{ | |||
background-image: radial-gradient(black 1px, transparent 0); | |||
background-size: 60px 60px; | |||
background-color: #f2f4f8; | |||
color:black; | |||
} | |||
:root.skin-citizen-neobrutalism .citizen-page-heading{ | |||
font-family: "JetBrains Mono", Monospace; | |||
} | |||
:root.skin-citizen-neobrutalism #firstHeading{ | |||
font-size:4em; | |||
padding-top:0; | |||
} | |||
:root.skin-citizen-neobrutalism #siteSub{ | |||
text-transform:lowercase; | |||
color:black; | |||
} | |||
:root.skin-citizen-neobrutalism .page-actions > .mw-portlet li > a, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-edit{ | |||
box-shadow: 0 -1px 2px #fff, 0 1px 1px #666, inset 0 -1px 1px rgba(0,0,0,0.5), inset 0 -1px 1px rgba(255,255,255,0.8); | |||
border-radius:0px!important; | |||
background-color:white; | |||
} | |||
:root.skin-citizen-neobrutalism .page-actions > .mw-portlet li > a:hover, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit:hover, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-edit:hover{ | |||
box-shadow: 0 -1px 2px #fff, 0 1px 1px #666 inset, 0 -1px 1px rgba(0,0,0,0.5), 0 -1px 1px rgba(255,255,255,0.8); /*invert prior shadow*/ | |||
background-color: #f0f0f0; | |||
} | |||
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-edit span, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span::before, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-edit span::before | |||
{ /*text needs coloring too*/ | |||
color:#020918!important; /*var(--color-emphasized) for live*/ | |||
filter:none; | |||
} | |||
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span::before, | |||
:root.skin-citizen-neobrutalism .page-actions #ca-edit span::before | |||
{ | |||
opacity: 0.6; /*var(--opacity-icon-base)*/ | |||
} | |||
:root.skin-citizen-neobrutalism .editor{ | |||
background-color:white!important; | |||
} | |||
:root.skin-citizen-neobrutalism #citizen-section-0{ | |||
background-color: #f798a9; | |||
box-shadow: -5px -5px #ffc0cbf7, -10px -10px #ffcbd4b5; | |||
} | |||
:root.skin-citizen-neobrutalism .mw-parser-output { | |||
background-color: #f2f4f8; | |||
border-radius: 10px; | |||
} | |||
:root.skin-citizen-neobrutalism .citizen-section{ | |||
padding:15px; | |||
} | |||
:root.skin-citizen-neobrutalism h1, | |||
:root.skin-citizen-neobrutalism h2{ | |||
padding-top: 1em; | |||
font-family: "JetBrains Mono Extrabold",Monospace; | |||
font-weight: bolder; | |||
text-shadow: 1px 2px 0px pink; | |||
} | |||
:root.skin-citizen-neobrutalism .mw-parser-output h2{ | |||
box-shadow: -10px -10px black; | |||
margin-left: 40px; | |||
background-color: #85eab6; | |||
padding-left:10px; | |||
} | |||
:root.skin-citizen-neobrutalism .infobox { | |||
border: 2px solid black; | |||
border-spacing: 3px; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 1em; | |||
float: right; | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
opacity: 100%; | |||
border-radius: 12px; | |||
box-shadow: 5px 5px black; | |||
background: #FFAC8D; | |||
background: linear-gradient(180deg, rgb(255, 172, 141) 95%, rgb(242, 156, 125) 100%); | |||
} | |||
:root.skin-citizen-neobrutalism .mbox { | |||
background-color: #e2e2e3 !important; | |||
border: none!important; | |||
border-radius: 2px; | |||
box-shadow:2px 2px 1px #3C3C3C inset; | |||
} | |||
:root.skin-citizen-neobrutalism .mw-parser-output a { | |||
color: black; | |||
text-decoration: none; | |||
border-bottom: 3px solid black; | |||
transition: all 0.2s ease; | |||
} | |||
:root.skin-citizen-neobrutalism .mw-parser-output a:hover { | |||
border-bottom: 6px solid black; | |||
padding-bottom: 2px; | |||
} | |||
:root.skin-citizen-neobrutalism .mw-parser-output a.new{ | |||
color:#ef2828!important; | |||
border-bottom-color:#ef2828!important; | |||
} | |||
/*pride skin*/ | |||
.skin-citizen-trans .citizen-header__logo img{ | |||
filter:hue-rotate(-142deg); | |||
} | |||
.skin-citizen-trans .citizen-header{ | |||
background:linear-gradient(to bottom, rgb(237, 34, 36), rgb(243, 91, 34), rgb(249, 150, 33), rgb(245, 193, 30), rgb(241, 235, 27) 27%, rgb(241, 235, 27), rgb(241, 235, 27) 33%, rgb(99, 199, 32), rgb(12, 155, 73), rgb(33, 135, 141), rgb(57, 84, 165), rgb(97, 55, 155), rgb(147, 40, 142)); | |||
} | |||
.skin-citizen-trans #ca-ve-edit a, .skin-citizen-trans #ca-edit a{ | |||
color:#333!important; | |||
} | |||
.skin-citizen-trans #ca-ve-edit a:hover, .skin-citizen-trans #ca-edit a:hover{ | |||
color:white; | |||
} | |||
.skin-citizen-trans #ca-edit a span:before, .skin-citizen-trans #ca-ve-edit a span:before{ | |||
filter:invert(0) hue-rotate(0deg)!important; | |||
} | |||
.skin-citizen-trans .mw-portlet a::before{ | |||
filter:none; | |||
} | |||
/*Typefaces settings - sans serif doesn't need styling, it's just the Citizen default mode*/ | |||
:root.font-serif { | |||
--font-family-base: Georgia, Times, "Times New Roman", serif; | |||
} | |||
:root.font-dyslexic { | |||
--font-family-base: 'Comic Sans MS', 'Comic Sans', 'Signika', "Open Dyslexic", "opendyslexic", "eulexia", Tahoma, Arial, Verdana, sans-serif; | |||
} | |||
/*reading mode displays*/ | |||
:root.reading-mode .citizen-search, | |||
:root.reading-mode .citizen-drawer, | |||
:root.reading-mode .sidebar-library, | |||
:root.reading-mode .sidebar-essays, | |||
:root.reading-mode .sidebar-upload, | |||
:root.reading-mode .citizen-header__start, | |||
:root.reading-mode #p-notifications, | |||
:root.reading-mode .citizen-userMenu, | |||
:root.reading-mode .citizen-page-sidebar, | |||
:root.reading-mode .page-actions, | |||
:root.reading-mode .citizen-page-header, /*will remove page title and TM as well*/ | |||
:root.reading-mode .mw-editsection | |||
{ | |||
display:none; | |||
} | |||
:root.reading-mode .citizen-header__logo,:root.reading-mode #citizen-pref-toggle,:root.reading-mode .heading-hyperlink{ | |||
opacity:0.5; | |||
} | |||
:root.reading-mode .sidebar-reading-mode > div{ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-accessibility&image=eye&format=original&skin=citizen); | |||
opacity:0.5; | |||
} | |||
} | |||
/*exit media screen*/ | |||
/*** | |||
*** Custom BUTTON styling (in settings menu) | |||
***/ | |||
/*color picker buttons*/ | |||
#sepia-style-label{ | |||
background-color:hsl(35, 100%, 91%)!important; | |||
border-color:hsl(35, 45%, 70%)!important; | |||
color:#0A1219; | |||
} | |||
#neobrutalism-style-label{ | |||
background-color:#ffac8d!important; | |||
border:none; | |||
box-shadow:1px 1px black!important; | |||
} | |||
#trans-style-label{ | |||
background:linear-gradient(to bottom, rgb(85, 205, 252), rgb(179, 157, 233), rgb(247, 168, 184), rgb(246, 216, 221), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(246, 216, 221), rgb(247, 168, 184), rgb(179, 157, 233), rgb(85, 205, 252))!important; | |||
} | |||
/*typeface buttons*/ | |||
#sans-font-label{ | |||
font-family:"Roboto",sans-serif; | |||
} | |||
#serif-font-label{ | |||
font-family:Georgia,serif; | |||
} | |||
#dyslexic-font-label{ | |||
font-family:"Comic Sans MS","Comic Sans",'Signika',Arial,Verdana,sans-serif; | |||
} | |||
/*** | |||
**** | |||
**** Mobile Citizen CSS | |||
**** | |||
***/ | |||
@media (max-width: 720px) { | |||
table { | |||
width:100% !important; | |||
display: table; | |||
float: unset !important; | |||
margin: auto !important; | |||
} | |||
.skin-citizen-trans .citizen-header{ | |||
background:linear-gradient(to right, rgb(237, 34, 36), rgb(243, 91, 34), rgb(249, 150, 33), rgb(245, 193, 30), rgb(241, 235, 27) 27%, rgb(241, 235, 27), rgb(241, 235, 27) 33%, rgb(99, 199, 32), rgb(12, 155, 73), rgb(33, 135, 141), rgb(57, 84, 165), rgb(97, 55, 155), rgb(147, 40, 142)); | |||
} | |||
} | |||
/****** | |||
****** General theming | |||
****** | |||
*******/ | |||
/* Adds bottom border for Title and level 1 headers */ | |||
h1,h2 { | |||
border-bottom: 1px solid #a2a9b1; | |||
} | |||
h1 { | |||
width: 100%; | |||
} | |||
/* Removes bottom border from sticky title heading */ | |||
.citizen-body-header--sticky h1 { | |||
border: none; | |||
} | |||
/*** | |||
**** CSS for edit buttons | |||
***/ | |||
#ca-edit > a:hover, #ca-ve-edit > a:hover, #ca-request-account > a:hover { | |||
background-color: var(--color-red-detail-3); | |||
} | |||
.client-js .citizen-ve-edit-merged#ca-edit { | |||
border-left-color: var(--color-red-detail-3); | |||
} | |||
#ca-edit > a, #ca-ve-edit > a, #ca-request-account > a { | |||
background-color: var(--color-red-3); | |||
color: #fff; | |||
} | |||
#citizen-languages__buttonCheckbox::after { | |||
background: var(--color-red-3); | |||
} | |||
.mw-ui-icon-wikimedia-edit:before{ | |||
background-image:url(/load.php?modules=skins.citizen.icons&image=wikiText&format=original&lang=en&skin=citizen&version=xqufm); | |||
} | |||
.mw-ui-icon-wikimedia-edit.mw-editsection-visualeditor:before , .citizen-ui-icon.mw-ui-icon-edit.mw-ui-icon-wikimedia-edit:before{ | |||
background-image:url(/load.php?modules=skins.citizen.icons&image=edit&format=original&lang=en&skin=citizen&version=xqufm); | |||
} | |||
/* | |||
/*** | |||
**** CSS for article references | |||
***/ | |||
.rt-tooltip { | |||
/*background-color: var(--color-surface-2);*/ | |||
/*color: var(--color-base);*/ | |||
/*border:1px solid var(--border-color-1);*/ | |||
} | |||
.rt-tooltipTail::after { | |||
/*background: var(--color-surface-2);*/ | |||
} | |||
.rt-tooltipTail { | |||
/*background:linear-gradient(to top right,var(--border-color-1) 50%,rgba(0,0,0,0) 50%);*/ | |||
} | |||
.rt-target { | |||
/*background-color: var(--color-surface-4);*/ | |||
} | |||
.toccolours { | |||
/*background-color: var(--color-surface-2);*/ | |||
/*border: 1px solid var(--border-color-1);*/ | |||
} | |||
blockquote { | |||
font-family: inherit; | |||
color: inherit; | |||
font-style: inherit; | |||
font-size: 95%; | |||
} | |||
/*** | |||
**** CSS for input textboxes | |||
***/ | |||
.mw-ui-input { | |||
/*border-color: var(--border-color-1);*/ | |||
} | |||
/*** | |||
**** CSS for wikitables | |||
***/ | |||
/*table fix*/ | |||
.wikitable{ | |||
border:none!important; | |||
} | |||
.wikitable th { | |||
border: 1px solid var(--border-color-2); | |||
background-color: var(--color-surface-3); | |||
} | |||
.wikitable td { | |||
background-color: var(--color-surface-2); | |||
} | |||
.wikitable { | |||
border: 1px solid var(--border-color-2); | |||
} | |||
/*** | |||
**** CSS for Navboxes | |||
***/ | |||
.navbox th, .navbox-title { | |||
/*background-color: var(--color-surface-4);*/ | |||
} | |||
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { | |||
/*background-color: var(--color-surface-5);*/ | |||
} | |||
.navbox { | |||
/*background-color: var(--color-surface-1);*/ | |||
/*border: 1px solid var(--border-color-1);*/ | |||
} | |||
.navbox-list { | |||
/*border-color: var(--border-color-2);*/ | |||
} | |||
.navbox-even { | |||
/*background-color: var(--color-surface-2);*/ | |||
} | |||
tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list { | |||
/*border-top: 2px solid var(--border-color-2);*/ | |||
} | |||
/*** | |||
**** CSS for Message boxes | |||
***/ | |||
.mbox { | |||
/*border: 1px solid var(--border-color-1) !important;*/ | |||
/*background-color: var(--color-surface-2) !important;*/ | |||
border-left: 10px solid var(--color-red-3) !important; | |||
} | |||
/*** | |||
**** Sidebar CSS | |||
***/ | |||
.skin-citizen .sidebar { | |||
/*background: var(--color-surface-2) !important;*/ | |||
/*border: 1px solid var(--border-color-1) !important;*/ | |||
} | |||
/*CSS for tooltips/warning messages*/ | |||
.cdx-message__content{ /*"you must log in again to verify... <- glitches because width is set to 0 */ | |||
width:auto; | |||
word-wrap: normal; /* initial for overflow-wrap */ | |||
} | |||
/*Megamenu list*/ | |||
#p-RecentChanges ul{ | |||
list-style-type: none; | |||
margin:0; | |||
} | |||
/** | |||
* StructuredDiscussions theming (discussion pages) | |||
* | |||
**/ | |||
/** | |||
* ConfirmAcccount AND RequestAccount theming | |||
* | |||
**/ | |||
.mw-confirmaccount-type-0 { | |||
background-color: var(--color-surface-4); | |||
} | |||
.mw-confirmaccount-body-0 { | |||
background-color: var(--color-surface-5); | |||
} | |||
.wpNewBio { | |||
background-color: var(--color-surface-2); | |||
} | |||
.mw-special-ConfirmAccounts fieldset { | |||
border: 1px solid var(--border-color-1); | |||
} | |||
.mw-confirmaccount-bar { | |||
border: 1px solid var(--border-color-1); | |||
background-color: var(--color-surface-2); | |||
} | |||
input, select, textarea { | |||
border: 1px solid var(--border-color-1); | |||
background-color: var(--color-surface-2); | |||
color: var(--color-base--emphasized); | |||
} | |||
/*RequestAccount*/ | |||
#wpBio{ | |||
background:var(--color-surface-0)!important; /*fix for dark mode*/ | |||
} | |||
/*** | |||
**** Code editor interface | |||
***/ | |||
.ace-tm .ace_indent-guide { | |||
filter:invert(1); | |||
} | |||
.ace-tm .ace_gutter { | |||
/*background-color:var(--color-surface-2);*/ | |||
/*border-right:1px solid var(--border-color-2);*/ | |||
} | |||
.ace-tm .ace_marker-layer .ace_selection { | |||
/*background: var(--color-codeeditor-select);*/ | |||
} | |||
.ace-tm .ace_marker-layer .ace_selected-word { | |||
/*background:var(--color-codeeditor-similar);*/ | |||
/*border: 1px solid var(--color-codeeditor-similar-border);*/ | |||
} | |||
.ace_search { | |||
/*background-color: var(--color-surface-2);*/ | |||
/*color: var(--color-base);*/ | |||
/*border: 1px solid var(--border-color-2);*/ | |||
} | |||
.ace_search_field { | |||
/*color: var(--color-base);*/ | |||
/*background-color: var(--color-surface-1);*/ | |||
/*border-color: var(--border-color-2)*/ | |||
} | |||
.ace_searchbtn { | |||
/*color: var(--color-base);*/ | |||
/*background-color: var(--color-surface-2);*/ | |||
/*border-color: var(--border-color-2);*/ | |||
} | |||
.ace_searchbtn:hover { | |||
/*background-color: var(--color-surface-4);*/ | |||
} | |||
.ace_searchbtn:last-child { | |||
/*border-color: var(--border-color-2);*/ | |||
} | |||
.ace_button { | |||
/*color: var(--color-base);*/ | |||
} | |||
.ace_button:hover { | |||
/*background-color: var(--color-surface-4);*/ | |||
} | |||
/*.ace-tm .ace_constant.ace_numeric {*/ | |||
/* color: rgb(200, 100, 200);*/ | |||
/*}*/ | |||
/*.ace-tm .ace_storage,*/ | |||
/*.ace-tm .ace_keyword {*/ | |||
/* color: rgb(0,150,200);*/ | |||
/*}*/ | |||
/*** | |||
**** | |||
**** Visual editor interface | |||
**** | |||
***/ | |||
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before { | |||
/*border-bottom-color: var(--border-color-1);*/ | |||
} | |||
.oo-ui-popupWidget-popup { | |||
/*border: 1px solid var(--border-color-2);*/ | |||
} | |||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link { | |||
background-color: var(--color-red-3); | |||
} | |||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover { | |||
background-color:var(--color-red-detail-3); | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | |||
background-color:var(--color-red-3); | |||
border-color: var(--color-red-detail-3); | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { | |||
border-color: var(--color-red-detail-3); | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover{ | |||
background-color:var(--color-red-detail-3); | |||
} | |||
.mw-body-header.citizen-page-header{ | |||
z-index:1; | |||
} | |||
/*** | |||
**** | |||
**** Source editor interface | |||
**** | |||
***/ | |||
.wikiEditor-ui-toolbar { | |||
padding: 0.25em; | |||
box-shadow: 0px 3px 5px rgba(0,0,0,0.1); | |||
background-color:var(--color-surface-2); | |||
} | |||
.wikiEditor-ui .wikiEditor-ui-view { | |||
border:1px solid var(--border-color-1); | |||
} | |||
.wikiEditor-ui .wikiEditor-ui-top::before { | |||
backdrop-filter: none; | |||
background-color: transparent; | |||
} | |||
.CodeMirror-gutters { | |||
background-color:var(--color-surface-2); | |||
border-right:1px solid var(--border-color-2); | |||
} | |||
.skin-citizen .mw-editform .editOptions { | |||
background-color: var(--color-surface-5); | |||
border: 1px solid var(--border-color-1); | |||
border-top: 0px; | |||
} | |||
.oo-ui-buttonGroupWidget { | |||
border:1px solid var(--border-color-1); | |||
} | |||
.oo-ui-textInputWidget .oo-ui-inputWidget-input { | |||
background-color: var(--color-surface-0); | |||
border: 1px solid var(--border-color-1); | |||
} | |||
.oo-ui-checkboxInputWidget [type="checkbox"] + span { | |||
background-color: var(--color-surface-0); | |||
border: 1px solid var(--border-color-1); | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { | |||
border: 1px solid var(--border-color-1); | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | |||
border-color: var(--border-color-2); | |||
} | |||
/*** | |||
**** Recent changes theming | |||
***/ | |||
.rc-sidebar-user { | |||
/*color: var(--color-base--subtle);*/ | |||
} | |||
/*** | |||
**** Page view CSS | |||
***/ | |||
/* Image CSS */ | |||
.citizen-body a.image:hover:not(.lazy):not(.new) > img{ | |||
transform: scale(1.03); | |||
} | |||
/*not sure why the reduced scaling effect broke and why it needs @media screen, but this is exactly how it renders on a page since 1.40*/ | |||
@media screen{ | |||
figure[typeof~="mw:File"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Frameless"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Thumb"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Frame"] > a:first-child:hover:not(.lazy):not(.new) > img { | |||
transform:scale(1.03); | |||
} | |||
} | |||
/* Table of Content styling */ | |||
.citizen-toc-level--1 > a{ | |||
font-weight:bold; | |||
font-style:normal; | |||
} | |||
.citizen-toc-level--3 > a{ | |||
font-weight:lighter; | |||
font-style:normal; | |||
} | |||
.citizen-toc-level--4 > a{ | |||
font-size:0.9em; | |||
font-style:normal; | |||
font-weight:lighter; | |||
} | |||
.citizen-toc-level--5 > a{ | |||
display:none; | |||
} | |||
/* Wheel scrolling in the desktop outline. | |||
Citizen's .citizen-menu__card is a scroll container (overflow:auto) with | |||
overscroll-behavior:contain. That is right for the popover it becomes on narrow | |||
screens, but on desktop the card sits inside .citizen-toc, which is the real | |||
scroller. The card therefore took the wheel, had nothing of its own to scroll, and | |||
refused to chain to its parent - the outline could be dragged but never wheeled. | |||
Scoped to the same 1120px breakpoint Citizen uses, so the popover keeps its scrolling. */ | |||
@media screen and ( min-width: 1120px ) { | |||
.citizen-toc .citizen-menu__card { | |||
overflow: visible; | |||
} | |||
} | |||
/*** | |||
**** Success message after publishing an edit | |||
***/ | |||
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) { | |||
color: var(--color-success2); | |||
} | |||
/*** | |||
**** | |||
**** Bug fixes | |||
**** | |||
***/ | |||
.oo-ui-windowManager-modal > .oo-ui-dialog { | |||
z-index: 450; | |||
} | |||
/*** | |||
**** | |||
**** Megamenu icons | |||
**** | |||
***/ | |||
#n-Library a::before,#n-wantedpages a::before,#n-accrequest a::before,#n-Essays a::before,#n-Articles a::before,#n-Quotes a::before{ | |||
background-repeat:no-repeat; | |||
content:""; | |||
height:1rem; | |||
width:1rem; | |||
opacity:var(--opacity-icon-base); | |||
background-size:100%; | |||
} | |||
/* adding icons for megamenu items */ | |||
#n-Library a::before{ /*Library*/ | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen); | |||
} | |||
#n-wantedpages a::before { /*Wanted pages*/ | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=articleNotFound&format=original&skin=citizen); | |||
} | |||
#n-accrequest a::before { /*Recruitment*/ | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-user&image=userGroup&format=original&skin=citizen); | |||
} | |||
#n-Essays a::before { /*Essays*/ | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen); | |||
} | |||
#n-Articles a::before { /*All pages*/ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=articles&format=original&skin=citizen); | |||
} | |||
#n-Quotes a::before{ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-alerts&image=speechBubbles&format=original&skin=citizen); | |||
} | |||
.prolewiki-ui-icon-sandbox::before { /*Sandbox (in bottom left sidebar)*/ | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-advanced&image=sandbox&format=original&skin=citizen); | |||
} | |||
/*Adds an icon to Request Account link when not logged in*/ | |||
@media screen{ | |||
#ca-request-account > a::before{ | |||
width:var(--size-icon); | |||
height:var(--size-icon); | |||
background-position:var(--size-icon); | |||
background-repeat:var(--size-icon); | |||
background-size:var(--size-icon); | |||
content:''; | |||
filter:invert(1); | |||
opacity:1; | |||
background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22m19.5 9.8 2.2-2.2c.4-.4.4-1.1 0-1.6L18 2.3c-.4-.4-1.1-.4-1.6 0l-2.2 2.2 5.3 5.3zm-6.4-4.1L2 16.7V22h5.3l11.1-11.1c-.1 0-5.3-5.2-5.3-5.2z%22/%3E %3C/g%3E%3C/svg%3E"); | |||
} | |||
} | |||
/** | |||
* Appended icons in the Citizen sidebar (see Common.js for code) | |||
**/ | |||
.sidebar-library > div, .sidebar-essays > div, .sidebar-upload > div, .sidebar-reading-mode > div{ | |||
height:40px; | |||
width:100%; | |||
background-repeat:no-repeat; | |||
background-size:auto; | |||
background-position:center; | |||
opacity:var(--opacity-icon-base); | |||
content:""; | |||
filter:var(--filter-invert); /* for dark mode */ | |||
} | |||
.sidebar-library > div{ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen); | |||
} | |||
.sidebar-essays > div { | |||
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen); | |||
} | |||
.sidebar-upload > div{ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=upload&format=original&skin=citizen); | |||
} | |||
.sidebar-reading-mode > div{ | |||
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-accessibility&image=eyeClosed&format=original&skin=citizen); | |||
} | |||
/*** | |||
**** Custom pages/templates specific CSS | |||
**** for responsiveness, custom skin and dark mode use | |||
**** | |||
***/ | |||
/* New library */ | |||
.library-card-content{ | |||
background:var(--color-surface-0); | |||
} | |||
/* New essays page */ | |||
.mw-parser-output .essays-sidebar-item > div{ | |||
background:var(--color-surface-2)!important; | |||
} | |||
/*heading hyperlink icon css*/ | |||
.mw-headline { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 0.25rem; | |||
} | |||
.heading-hyperlink { | |||
width: 1.875rem; | |||
height: 1.875rem; | |||
transition: var(--transition-hover); | |||
transition-property: opacity; | |||
text-indent: -9999px; | |||
overflow: hidden; | |||
position: relative; | |||
display: inline-flex; | |||
align-items: center; | |||
filter:var(--filter-invert); | |||
} | |||
.heading-hyperlink::before { | |||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
content: ''; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-image: url(/load.php?modules=oojs-ui.styles.icons-editing-core&image=link&format=original&skin=citizen)!important; | |||
background-size: var(--size-icon); | |||
filter: var(--filter-icon); | |||
} | |||
.heading-hyperlink:hover, | |||
.heading-hyperlink:focus { | |||
opacity: 0.8; /*should be a variable but i lost patience*/ | |||
} | |||
/* Mobile touch optimization */ | |||
@media (pointer: coarse) { | |||
.heading-hyperlink { | |||
width: 2.5rem; | |||
height: 2.5rem; | |||
} | |||
} | |||
/* misc? */ | |||
#editpage-copywarn { | |||
line-height: 1em; | |||
margin-top: .75em; | |||
} | |||
.test01 { | |||
text-align: center; | |||
} | |||
.mainpage-header{ /* gap between "contribute" and "news" got removed somehow, this adds it back*/ | |||
column-gap:1em; | |||
align-items:stretch!important; /*makes all flex items have the same height*/ | |||
} | |||
/* Wiki theming */ | |||
#siteSub { /* Size of text "From ProleWiki, the proletarian encyclopedia" below the title of the article. */ | |||
display: block; | |||
font-size: 85% !important; /* Attaching !important because a new update did some shit it wasn't supposed to do */ | |||
} | |||
.mw-body { | |||
box-shadow: 0 0.25em 0.6em -0.15em rgba(0,0,0,0.15); | |||
} | |||
.page-ProleWiki_Main_page .firstHeading, | |||
.page-ProleWiki_Main_page #siteSub { | |||
display: none; | |||
} | |||
/*add icons to quick links in main page*/ | |||
.mainpage-articles>a:before,.mainpage-library>a:before,.mainpage-essays>a:before,.mainpage-categories>a:before,.mainpage-quotes>a:before,.mainpage-portals>a:before{ | |||
content: ""; | |||
width: 1.1rem; | |||
height: 1.1rem; | |||
background-size: 100%; | |||
background-position: center; | |||
opacity: var(--opacity-icon-base); | |||
filter: var(--filter-invert); | |||
margin-right: 0.2em; | |||
background-repeat: no-repeat; | |||
display: inline-block; | |||
} | |||
.mainpage-articles>a:before{ | |||
background-image: url(/pw-conf/img/icons/articles.svg); | |||
} | |||
.mainpage-library>a:before{ | |||
background-image: url(/pw-conf/img/icons/library.svg); | |||
} | |||
.mainpage-essays>a:before{ | |||
background-image: url(/pw-conf/img/icons/essays.svg); | |||
} | |||
.mainpage-quotes>a:before{ | |||
background-image: url(/pw-conf/img/icons/quotes.svg); | |||
} | |||
.mainpage-categories>a:before{ | |||
background-image: url(/pw-conf/img/icons/categories.svg); | |||
} | |||
/*Site notice configuration*/ | |||
/* Removing messy CSS code from DismissableSiteNotice extension */ | |||
.mw-dismissable-notice-close { | |||
display:none; | |||
} | |||
.mw-dismissable-notice-body { | |||
margin:auto !important; | |||
text-align:left; | |||
} | |||
/*Adding the box and items CSS*/ | |||
.sitenotice-box { | |||
display: flex; | |||
flex-direction: column; | |||
padding: 20px; | |||
width: 80%; | |||
background: #efefef; | |||
border-radius: 12px; | |||
margin: auto; | |||
} | |||
.mw-body-content sub, | |||
.mw-body-content sup, | |||
.reference { | |||
font-size: 80%; | |||
} | |||
.page-Library_Theses_on_Feuerbach .mw-body-content h3 | |||
{ text-align: center; } | |||
/* Announcement style */ | |||
.announcement { | |||
border:1px solid #aaaaaa; | |||
background-color:#f9f9f9; | |||
padding:5px; | |||
font-size: 95%; | |||
} | } | ||
| Line 330: | Line 1,420: | ||
content: " (" counter(listitem) "\a0"; | content: " (" counter(listitem) "\a0"; | ||
} | } | ||
/*CREATE ACCOUNT AND USER LOGIN CSS*/ | |||
.page-Special_CreateAccount .firstHeading { | |||
width: 32rem; | |||
margin: 1.5em auto .4em; | |||
} | |||
.page-Special_UserLogin .firstHeading { | |||
width: 32rem; | |||
margin: 1.5em auto .4em; | |||
} | |||
.page-Special_UserLogin .mw-ui-container { | |||
width: 32rem; | |||
margin: 3em auto; | |||
} | |||
.page-Special_UserLogin .mw-ui-container #userloginForm { | |||
float: unset; | |||
margin: 0; | |||
} | |||
.page-Special_UserLogin .mw-ui-vform { | |||
margin: 2.5em auto 0; | |||
width: 22rem; | |||
} | |||
.page-Special_CreateAccount .firstHeading { | |||
width: 32rem; | |||
margin: 1.5em auto .4em; | |||
} | |||
.page-Special_CreateAccount .mw-ui-container { | |||
width: 32rem; | |||
margin: 3em auto; | |||
} | |||
.page-Special_CreateAccount .mw-ui-container #userloginForm { | |||
float: unset; | |||
margin: 0; | |||
} | |||
.page-Special_CreateAccount .mw-ui-vform { | |||
margin: 2.5em auto 0; | |||
width: 22rem; | |||
} | |||
.page-Special_CreateAccount .mw-createacct-benefits-container { | |||
display: none | |||
} | |||
/*Special:Book CSS'ing (added by Collection)*/ | |||
#collection-download-button{ | |||
float:left; | |||
} | |||
#downloadButton{ | |||
cursor:pointer; | |||
} | |||
.collection-maintenance-box{ | |||
display:none; | |||
} | |||
/*Fixing links in templates being too long and breaking the visuals*/ | |||
.mw-body-content a.external.free { | |||
word-wrap: anywhere!important; | |||
} | |||
/* Site notice CSS */ | |||
.site-notice{ | |||
margin:0 auto; | |||
width:50%; | |||
text-align:center; | |||
font-size:1.25em; | |||
margin-top:1%; | |||
border-spacing: 3px; | |||
line-height: 1.5em; | |||
padding: 1em; | |||
} | |||
@media only screen and (max-width: 768px){ | |||
.site-notice{ | |||
width:99%!important; | |||
font-size:1rem!important; | |||
} | |||
} | |||
/*fix for new homepage stuff, using pointer-events is only possible here*/ | |||
.pill > p, .pill-image::after, .search-icon-homepage .mw-file-description, .header-part .mw-file-description, .new-homepage .mw-file-description{ | |||
pointer-events:none; | |||
} | |||
#homepage-search:hover{ | |||
background-color: var(--color-surface-2); /*homepage search bar color, needs to be here because we use variables*/ | |||
} | |||
/*fix for new homepage icons because mainpage/styles.css doesn't support urls either...*/ | |||
.book-discovery .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.join-us .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=feedback&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.on-this-day .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-advanced&image=calendar&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.cotd .frame-header::before{ | |||
/*uses hammer and sickle default*/ | |||
} | |||
.news-homepage .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=clock&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.featured-essay .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.contributions-homepage .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-media&image=chart&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
.support-us .frame-header::before{ | |||
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=heart&format=original&skin=citizen)!important; | |||
filter:invert(1); | |||
} | |||
/*search bar on new homepage*/ | |||
#homepage-search:hover{ | |||
background-color: var(--color-surface-2); /*homepage search bar color, needs to be here because we use variables*/ | |||
} | |||
@media (hover: none) and (pointer: coarse) { /*removing hover effects on devices that don't do hovering*/ | |||
#homepage-search:hover { | |||
background-color: initial; | |||
} | |||
} | |||
body.page-ProleWiki_Main_page .citizen-page-footer { | |||
display: none; | |||
} | |||
.skin-citizen-dark .homepage-logo span a img{ | |||
filter:invert(1) contrast(75%)!important; | |||
} | |||
/*Book TOC for book splitter script CSS*/ | |||
.book-toc { | |||
border: 1px solid var(--border-color-1); | |||
background-color: var(--color-surface-5); | |||
padding: 1em; | |||
margin-top:1em; | |||
margin-bottom: 1em; | |||
overflow:auto; | |||
} | |||
.book-toc ol { | |||
margin-left: 20px; | |||
} | |||
.book-toc li { | |||
margin-bottom: 5px; | |||
} | |||
/* For Chrome, Edge, and Safari fixing default scrollbar */ | |||
body ::-webkit-scrollbar { | |||
width: 5px; | |||
height: 5px; | |||
} | |||
body ::-webkit-scrollbar-track { | |||
background: transparent; | |||
} | |||
body ::-webkit-scrollbar-thumb { | |||
background-color: rgba(255, 255, 255, 0.2); | |||
border-radius: 5px; | |||
border: 1px solid rgba(0, 0, 0, 0); /* A fully transparent border */ | |||
} | |||
body ::-webkit-scrollbar-corner { | |||
background: transparent; /* Remove any corner rendering */ | |||
} | |||
/* Short reference styling */ | |||
Latest revision as of 02:54, 8 November 2026
/* CSS placed here will be applied to all skins */
/* Template styles merged in from MediaWiki:Templates.css on 2026-11-05.
Previously loaded via @import, which cost one full PHP request per page view. */
/*This lets smooth scrolling happen when clicking on anchor links, while respecting each brower's settings*/
@media ( prefers-reduced-motion: no-preference ) {
html {
scroll-behavior: smooth;
}
}
/* Middle-click autoscroll (the browser's "auto scroll" mode) and scroll-behavior: smooth
do not coexist well: every autoscroll step becomes its own smooth animation, so the view
keeps springing back toward where the auto-scroll started instead of following the
pointer. Editing does not need animated anchor jumps - the editor has none - so editor
pages opt out. VisualEditor puts "ve-active" on <html> while it is open. */
html.ve-active {
scroll-behavior: auto;
}
/**************************/
/** Template:Message box **/
/**************************/
.mbox {
border: 1px solid var(--border-color-base);
background-color: var(--color-surface-2);
border-left: 10px solid #b50014;
}
/**********************/
/** Template:Infobox **/
/**********************/
/* (removed: .infobox.skin-citizen-light / -dark rules never matched - the theme class is on :root,
not on infoboxes - and both had an invalid 'background-color: --color-surface-2'.) */
.infobox {
border: 1px solid var(--border-color-1);
border-spacing: 3px;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid var(--border-color-1);
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid var(--border-color-1);
/* @noflip */
border-right: 1px solid var(--border-color-1);
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid var(--border-color-1);
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid var(--border-color-1);
padding: 0.4em 1.5em 0.4em 1.5em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid var(--border-color-1);
padding: 0.4em 1.5em 0.2em 1.5em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 1.5em 0.2em 1.5em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid var(--border-color-1);
padding: 0 1.5em 0.4em 1.5em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/**********************/
/** Template:Sidebar **/
/**********************/
.sidebar {
width: 25em;
background-color: var(--color-surface-2);
float: right;
clear: right;
margin: 0.5em 0 1em 1em;
border: 1px solid #aaa;
padding: 0.2em;
border-spacing: 0.4em 0;
text-align: center;
line-height: 1.4em;
font-size: 88%;
display: table;
}
/***
****
**** CSS Variables
****
***/
@media screen{
/* Light-family base: Light, Sepia, Trans, Neobrutalism, Auto.
Values are the ones previously declared for Light only. */
:root.skin-citizen-light,
:root.skin-citizen-sepia,
:root.skin-citizen-trans,
:root.skin-citizen-neobrutalism,
:root.skin-citizen-auto,
:root.skin-theme-clientpref-day {
color-scheme: light;
/* surfaces - Citizen defines 0-4; 5-7 are this wiki's own names */
--color-surface-0: white; /* site background */
--color-surface-1: white; /* modals, dropdowns */
--color-surface-2: hsl(0,0%,97%);
--color-surface-3: hsl(220,20%,90%);
--color-surface-4: hsl(213,30%,85%);
--color-surface-5: hsl(220,17%,93%); /* wiki-only; Citizen has no surface-5 */
--color-surface-6: hsl(200,2%,60%);
--color-surface-7: hsl(180,2%,40%);
--color-progressive: #3366CC;
--color-link: hsl(220,60%,50%);
--color-link-red: #d60021;
--color-inverted-primary: #fff;
--border-color-base: rgba(0,0,0,0.08);
/* text */
--color-base: #262e35;
--color-base--subtle: #646464;
--color-base--emphasized: #202020;
--color-subtle: hsl(220,30%,35%);
--color-emphasized: hsl(220,85%,5%);
/* accents */
--color-success2: hsl(167,70%,31%);
--color-surface-subtle-red: hsl(0,100%,97%);
--color-red-2: #900010;
--color-red-3: #b50014;
--color-red-detail-3: #c33242;
/* borders */
--border-color-1: #b0b0b0;
--border-color-2: #c7c7c7;
/* icons and reading mode */
--filter-invert: invert(0) hue-rotate(0deg);
--filter-icon: none; /* was never defined -> rule was invalid */
--color-hoverline: rgba(255,255,150,0.2);
--color-progress-bar: #B6B6B6;
--color-progress-bar-tooltip: #333;
/* syntax editor */
--color-codeeditor-select: #b5d5ff;
--color-codeeditor-similar: #fafaff;
--color-codeeditor-similar-border: #c8c8fa;
}
/* ---------- Dark ---------- */
:root.skin-citizen-dark {
color-scheme: dark;
--color-surface-0: hsl(220,20%,8%);
--color-surface-1: hsl(220,25%,10%);
--color-surface-2: hsl(220,25%,13%);
--color-surface-3: hsl(220,15%,18%);
--color-surface-4: hsl(220,15%,23%);
--color-surface-5: hsl(220,18%,15%);
--color-surface-6: hsl(220,10%,45%);
--color-surface-7: hsl(220,10%,65%);
--color-progressive: hsl(220,60%,60%);
--color-link: hsl(220,60%,60%);
--color-link-red: #d60021;
--color-inverted-primary: #fff;
--border-color-base: rgba(255,255,255,0.05);
--color-base: hsl(220,25%,80%);
--color-base--subtle: hsl(220,25%,65%);
--color-base--emphasized: hsl(220,80%,95%);
--color-subtle: hsl(220,25%,65%);
--color-emphasized: hsl(220,80%,95%);
--color-success2: hsl(167,45%,45%);
--color-surface-subtle-red: hsl(0,45%,28%);
--color-red-2: #900010;
--color-red-3: #800000;
--color-red-detail-3: #6d0000;
--border-color-1: hsl(220,28%,23%);
--border-color-2: hsl(220,25%,20%);
--filter-invert: invert(1) hue-rotate(180deg);
--filter-icon: none;
--color-hoverline: rgba(73,86,109,0.2);
--color-progress-bar: rgb(73,86,109);
--color-progress-bar-tooltip: #333;
--color-codeeditor-select: #485465;
--color-codeeditor-similar: #394350;
--color-codeeditor-similar-border: #4c5561;
}
/* ---------- Sepia ---------- */
:root.skin-citizen-sepia {
color-scheme: light;
--color-surface-0: hsl(35,100%,91%);
--color-surface-1: hsl(35,100%,91%);
--color-surface-2: hsl(35,100%,91%);
--color-surface-3: hsl(35,45%,84%);
--color-surface-4: hsl(213,30%,85%);
--color-surface-5: hsl(220,17%,93%);
--color-base: #0A1219;
--color-base--subtle: hsl(220,30%,35%);
--color-base--emphasized: hsl(220,85%,5%);
--color-subtle: hsl(220,30%,35%);
--color-emphasized: hsl(220,85%,5%);
--color-link: hsl(220,55%,45%);
--color-progressive: hsl(220,55%,45%);
--color-link-red: #DE2F44;
--color-red-3: hsl(353,100%,25%);
--color-red-detail-3: hsl(353,100%,20%);
--filter-invert: invert(0) hue-rotate(0deg);
--filter-icon: none;
--color-hoverline: rgba(180,156,124,0.2);
--color-progress-bar: rgb(180,156,124);
}
/* ---------- Trans (June) ---------- */
:root.skin-citizen-trans {
color-scheme: light;
--color-surface-0: #FADBE2;
--color-surface-1: #C6E4EE;
--color-surface-2: var(--color-surface-1);
--color-surface-3: hsl(197,45%,88%);
--color-surface-5: hsl(190,40%,93%);
--color-base: black;
--color-base--subtle: #333333;
--color-base--emphasized: black;
--color-subtle: hsl(220,30%,35%);
--color-emphasized: black;
--color-link: #05749C;
--color-progressive: #05749C;
--color-link-red: #DE2F75;
--color-red-3: white;
--color-red-detail-3: var(--color-surface-1);
--color-inverted-primary: #333333;
--border-color-1: #5CB9D8;
--border-color-2: #a8d8e6;
--filter-invert: invert(0) hue-rotate(0deg);
--filter-icon: none;
--color-progress-bar: #B6B6B6;
}
/* ---------- Auto ---------- */
/* skin-citizen-auto takes the light-family base above; this makes it follow
the OS when the visitor's system asks for dark. */
@media (prefers-color-scheme: dark) {
:root.skin-citizen-auto {
color-scheme: dark;
--color-surface-0: hsl(220,20%,8%);
--color-surface-1: hsl(220,25%,10%);
--color-surface-2: hsl(220,25%,13%);
--color-surface-3: hsl(220,15%,18%);
--color-surface-4: hsl(220,15%,23%);
--color-surface-5: hsl(220,18%,15%);
--color-surface-6: hsl(220,10%,45%);
--color-surface-7: hsl(220,10%,65%);
--color-progressive: hsl(220,60%,60%);
--color-link: hsl(220,60%,60%);
--color-link-red: #d60021;
--color-inverted-primary: #fff;
--border-color-base: rgba(255,255,255,0.05);
--color-base: hsl(220,25%,80%);
--color-base--subtle: hsl(220,25%,65%);
--color-base--emphasized: hsl(220,80%,95%);
--color-subtle: hsl(220,25%,65%);
--color-emphasized: hsl(220,80%,95%);
--color-success2: hsl(167,45%,45%);
--color-surface-subtle-red: hsl(0,45%,28%);
--color-red-2: #900010;
--color-red-3: #800000;
--color-red-detail-3: #6d0000;
--border-color-1: hsl(220,28%,23%);
--border-color-2: hsl(220,25%,20%);
--filter-invert: invert(1) hue-rotate(180deg);
--filter-icon: none;
--color-hoverline: rgba(73,86,109,0.2);
--color-progress-bar: rgb(73,86,109);
--color-progress-bar-tooltip: #333;
--color-codeeditor-select: #485465;
--color-codeeditor-similar: #394350;
--color-codeeditor-similar-border: #4c5561;
}
}
/*end :root styling after auto but stay in media screen*/
.skin-citizen-dark .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */
filter:invert(1);
}
/*sepia skin custom*/
.skin-citizen-sepia #skin-client-prefs-skin-theme .citizen-client-prefs-radio__label{
border-color: hsl(35, 45%, 70%)!important;
}
.skin-citizen-sepia .citizen-client-prefs-radio__input:checked ~ .citizen-client-prefs-radio__label, .skin-citizen-sepia .citizen-client-prefs-radio__label:hover{
border-color:hsl(34, 19%, 48%)!important;
}
.skin-citizen-sepia .citizen-header__logo img{
filter:sepia(0.5)!important;
}
.skin-citizen-sepia .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */
filter:none;
}
/*neobrut skin*/
:root.skin-citizen-neobrutalism body{
background-image: radial-gradient(black 1px, transparent 0);
background-size: 60px 60px;
background-color: #f2f4f8;
color:black;
}
:root.skin-citizen-neobrutalism .citizen-page-heading{
font-family: "JetBrains Mono", Monospace;
}
:root.skin-citizen-neobrutalism #firstHeading{
font-size:4em;
padding-top:0;
}
:root.skin-citizen-neobrutalism #siteSub{
text-transform:lowercase;
color:black;
}
:root.skin-citizen-neobrutalism .page-actions > .mw-portlet li > a,
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit,
:root.skin-citizen-neobrutalism .page-actions #ca-edit{
box-shadow: 0 -1px 2px #fff, 0 1px 1px #666, inset 0 -1px 1px rgba(0,0,0,0.5), inset 0 -1px 1px rgba(255,255,255,0.8);
border-radius:0px!important;
background-color:white;
}
:root.skin-citizen-neobrutalism .page-actions > .mw-portlet li > a:hover,
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit:hover,
:root.skin-citizen-neobrutalism .page-actions #ca-edit:hover{
box-shadow: 0 -1px 2px #fff, 0 1px 1px #666 inset, 0 -1px 1px rgba(0,0,0,0.5), 0 -1px 1px rgba(255,255,255,0.8); /*invert prior shadow*/
background-color: #f0f0f0;
}
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span,
:root.skin-citizen-neobrutalism .page-actions #ca-edit span,
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span::before,
:root.skin-citizen-neobrutalism .page-actions #ca-edit span::before
{ /*text needs coloring too*/
color:#020918!important; /*var(--color-emphasized) for live*/
filter:none;
}
:root.skin-citizen-neobrutalism .page-actions #ca-ve-edit span::before,
:root.skin-citizen-neobrutalism .page-actions #ca-edit span::before
{
opacity: 0.6; /*var(--opacity-icon-base)*/
}
:root.skin-citizen-neobrutalism .editor{
background-color:white!important;
}
:root.skin-citizen-neobrutalism #citizen-section-0{
background-color: #f798a9;
box-shadow: -5px -5px #ffc0cbf7, -10px -10px #ffcbd4b5;
}
:root.skin-citizen-neobrutalism .mw-parser-output {
background-color: #f2f4f8;
border-radius: 10px;
}
:root.skin-citizen-neobrutalism .citizen-section{
padding:15px;
}
:root.skin-citizen-neobrutalism h1,
:root.skin-citizen-neobrutalism h2{
padding-top: 1em;
font-family: "JetBrains Mono Extrabold",Monospace;
font-weight: bolder;
text-shadow: 1px 2px 0px pink;
}
:root.skin-citizen-neobrutalism .mw-parser-output h2{
box-shadow: -10px -10px black;
margin-left: 40px;
background-color: #85eab6;
padding-left:10px;
}
:root.skin-citizen-neobrutalism .infobox {
border: 2px solid black;
border-spacing: 3px;
margin: 0.5em 0 0.5em 1em;
padding: 1em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
opacity: 100%;
border-radius: 12px;
box-shadow: 5px 5px black;
background: #FFAC8D;
background: linear-gradient(180deg, rgb(255, 172, 141) 95%, rgb(242, 156, 125) 100%);
}
:root.skin-citizen-neobrutalism .mbox {
background-color: #e2e2e3 !important;
border: none!important;
border-radius: 2px;
box-shadow:2px 2px 1px #3C3C3C inset;
}
:root.skin-citizen-neobrutalism .mw-parser-output a {
color: black;
text-decoration: none;
border-bottom: 3px solid black;
transition: all 0.2s ease;
}
:root.skin-citizen-neobrutalism .mw-parser-output a:hover {
border-bottom: 6px solid black;
padding-bottom: 2px;
}
:root.skin-citizen-neobrutalism .mw-parser-output a.new{
color:#ef2828!important;
border-bottom-color:#ef2828!important;
}
/*pride skin*/
.skin-citizen-trans .citizen-header__logo img{
filter:hue-rotate(-142deg);
}
.skin-citizen-trans .citizen-header{
background:linear-gradient(to bottom, rgb(237, 34, 36), rgb(243, 91, 34), rgb(249, 150, 33), rgb(245, 193, 30), rgb(241, 235, 27) 27%, rgb(241, 235, 27), rgb(241, 235, 27) 33%, rgb(99, 199, 32), rgb(12, 155, 73), rgb(33, 135, 141), rgb(57, 84, 165), rgb(97, 55, 155), rgb(147, 40, 142));
}
.skin-citizen-trans #ca-ve-edit a, .skin-citizen-trans #ca-edit a{
color:#333!important;
}
.skin-citizen-trans #ca-ve-edit a:hover, .skin-citizen-trans #ca-edit a:hover{
color:white;
}
.skin-citizen-trans #ca-edit a span:before, .skin-citizen-trans #ca-ve-edit a span:before{
filter:invert(0) hue-rotate(0deg)!important;
}
.skin-citizen-trans .mw-portlet a::before{
filter:none;
}
/*Typefaces settings - sans serif doesn't need styling, it's just the Citizen default mode*/
:root.font-serif {
--font-family-base: Georgia, Times, "Times New Roman", serif;
}
:root.font-dyslexic {
--font-family-base: 'Comic Sans MS', 'Comic Sans', 'Signika', "Open Dyslexic", "opendyslexic", "eulexia", Tahoma, Arial, Verdana, sans-serif;
}
/*reading mode displays*/
:root.reading-mode .citizen-search,
:root.reading-mode .citizen-drawer,
:root.reading-mode .sidebar-library,
:root.reading-mode .sidebar-essays,
:root.reading-mode .sidebar-upload,
:root.reading-mode .citizen-header__start,
:root.reading-mode #p-notifications,
:root.reading-mode .citizen-userMenu,
:root.reading-mode .citizen-page-sidebar,
:root.reading-mode .page-actions,
:root.reading-mode .citizen-page-header, /*will remove page title and TM as well*/
:root.reading-mode .mw-editsection
{
display:none;
}
:root.reading-mode .citizen-header__logo,:root.reading-mode #citizen-pref-toggle,:root.reading-mode .heading-hyperlink{
opacity:0.5;
}
:root.reading-mode .sidebar-reading-mode > div{
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-accessibility&image=eye&format=original&skin=citizen);
opacity:0.5;
}
}
/*exit media screen*/
/***
*** Custom BUTTON styling (in settings menu)
***/
/*color picker buttons*/
#sepia-style-label{
background-color:hsl(35, 100%, 91%)!important;
border-color:hsl(35, 45%, 70%)!important;
color:#0A1219;
}
#neobrutalism-style-label{
background-color:#ffac8d!important;
border:none;
box-shadow:1px 1px black!important;
}
#trans-style-label{
background:linear-gradient(to bottom, rgb(85, 205, 252), rgb(179, 157, 233), rgb(247, 168, 184), rgb(246, 216, 221), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(246, 216, 221), rgb(247, 168, 184), rgb(179, 157, 233), rgb(85, 205, 252))!important;
}
/*typeface buttons*/
#sans-font-label{
font-family:"Roboto",sans-serif;
}
#serif-font-label{
font-family:Georgia,serif;
}
#dyslexic-font-label{
font-family:"Comic Sans MS","Comic Sans",'Signika',Arial,Verdana,sans-serif;
}
/***
****
**** Mobile Citizen CSS
****
***/
@media (max-width: 720px) {
table {
width:100% !important;
display: table;
float: unset !important;
margin: auto !important;
}
.skin-citizen-trans .citizen-header{
background:linear-gradient(to right, rgb(237, 34, 36), rgb(243, 91, 34), rgb(249, 150, 33), rgb(245, 193, 30), rgb(241, 235, 27) 27%, rgb(241, 235, 27), rgb(241, 235, 27) 33%, rgb(99, 199, 32), rgb(12, 155, 73), rgb(33, 135, 141), rgb(57, 84, 165), rgb(97, 55, 155), rgb(147, 40, 142));
}
}
/******
****** General theming
******
*******/
/* Adds bottom border for Title and level 1 headers */
h1,h2 {
border-bottom: 1px solid #a2a9b1;
}
h1 {
width: 100%;
}
/* Removes bottom border from sticky title heading */
.citizen-body-header--sticky h1 {
border: none;
}
/***
**** CSS for edit buttons
***/
#ca-edit > a:hover, #ca-ve-edit > a:hover, #ca-request-account > a:hover {
background-color: var(--color-red-detail-3);
}
.client-js .citizen-ve-edit-merged#ca-edit {
border-left-color: var(--color-red-detail-3);
}
#ca-edit > a, #ca-ve-edit > a, #ca-request-account > a {
background-color: var(--color-red-3);
color: #fff;
}
#citizen-languages__buttonCheckbox::after {
background: var(--color-red-3);
}
.mw-ui-icon-wikimedia-edit:before{
background-image:url(/load.php?modules=skins.citizen.icons&image=wikiText&format=original&lang=en&skin=citizen&version=xqufm);
}
.mw-ui-icon-wikimedia-edit.mw-editsection-visualeditor:before , .citizen-ui-icon.mw-ui-icon-edit.mw-ui-icon-wikimedia-edit:before{
background-image:url(/load.php?modules=skins.citizen.icons&image=edit&format=original&lang=en&skin=citizen&version=xqufm);
}
/*
/***
**** CSS for article references
***/
.rt-tooltip {
/*background-color: var(--color-surface-2);*/
/*color: var(--color-base);*/
/*border:1px solid var(--border-color-1);*/
}
.rt-tooltipTail::after {
/*background: var(--color-surface-2);*/
}
.rt-tooltipTail {
/*background:linear-gradient(to top right,var(--border-color-1) 50%,rgba(0,0,0,0) 50%);*/
}
.rt-target {
/*background-color: var(--color-surface-4);*/
}
.toccolours {
/*background-color: var(--color-surface-2);*/
/*border: 1px solid var(--border-color-1);*/
}
blockquote {
font-family: inherit;
color: inherit;
font-style: inherit;
font-size: 95%;
}
/***
**** CSS for input textboxes
***/
.mw-ui-input {
/*border-color: var(--border-color-1);*/
}
/***
**** CSS for wikitables
***/
/*table fix*/
.wikitable{
border:none!important;
}
.wikitable th {
border: 1px solid var(--border-color-2);
background-color: var(--color-surface-3);
}
.wikitable td {
background-color: var(--color-surface-2);
}
.wikitable {
border: 1px solid var(--border-color-2);
}
/***
**** CSS for Navboxes
***/
.navbox th, .navbox-title {
/*background-color: var(--color-surface-4);*/
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
/*background-color: var(--color-surface-5);*/
}
.navbox {
/*background-color: var(--color-surface-1);*/
/*border: 1px solid var(--border-color-1);*/
}
.navbox-list {
/*border-color: var(--border-color-2);*/
}
.navbox-even {
/*background-color: var(--color-surface-2);*/
}
tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list {
/*border-top: 2px solid var(--border-color-2);*/
}
/***
**** CSS for Message boxes
***/
.mbox {
/*border: 1px solid var(--border-color-1) !important;*/
/*background-color: var(--color-surface-2) !important;*/
border-left: 10px solid var(--color-red-3) !important;
}
/***
**** Sidebar CSS
***/
.skin-citizen .sidebar {
/*background: var(--color-surface-2) !important;*/
/*border: 1px solid var(--border-color-1) !important;*/
}
/*CSS for tooltips/warning messages*/
.cdx-message__content{ /*"you must log in again to verify... <- glitches because width is set to 0 */
width:auto;
word-wrap: normal; /* initial for overflow-wrap */
}
/*Megamenu list*/
#p-RecentChanges ul{
list-style-type: none;
margin:0;
}
/**
* StructuredDiscussions theming (discussion pages)
*
**/
/**
* ConfirmAcccount AND RequestAccount theming
*
**/
.mw-confirmaccount-type-0 {
background-color: var(--color-surface-4);
}
.mw-confirmaccount-body-0 {
background-color: var(--color-surface-5);
}
.wpNewBio {
background-color: var(--color-surface-2);
}
.mw-special-ConfirmAccounts fieldset {
border: 1px solid var(--border-color-1);
}
.mw-confirmaccount-bar {
border: 1px solid var(--border-color-1);
background-color: var(--color-surface-2);
}
input, select, textarea {
border: 1px solid var(--border-color-1);
background-color: var(--color-surface-2);
color: var(--color-base--emphasized);
}
/*RequestAccount*/
#wpBio{
background:var(--color-surface-0)!important; /*fix for dark mode*/
}
/***
**** Code editor interface
***/
.ace-tm .ace_indent-guide {
filter:invert(1);
}
.ace-tm .ace_gutter {
/*background-color:var(--color-surface-2);*/
/*border-right:1px solid var(--border-color-2);*/
}
.ace-tm .ace_marker-layer .ace_selection {
/*background: var(--color-codeeditor-select);*/
}
.ace-tm .ace_marker-layer .ace_selected-word {
/*background:var(--color-codeeditor-similar);*/
/*border: 1px solid var(--color-codeeditor-similar-border);*/
}
.ace_search {
/*background-color: var(--color-surface-2);*/
/*color: var(--color-base);*/
/*border: 1px solid var(--border-color-2);*/
}
.ace_search_field {
/*color: var(--color-base);*/
/*background-color: var(--color-surface-1);*/
/*border-color: var(--border-color-2)*/
}
.ace_searchbtn {
/*color: var(--color-base);*/
/*background-color: var(--color-surface-2);*/
/*border-color: var(--border-color-2);*/
}
.ace_searchbtn:hover {
/*background-color: var(--color-surface-4);*/
}
.ace_searchbtn:last-child {
/*border-color: var(--border-color-2);*/
}
.ace_button {
/*color: var(--color-base);*/
}
.ace_button:hover {
/*background-color: var(--color-surface-4);*/
}
/*.ace-tm .ace_constant.ace_numeric {*/
/* color: rgb(200, 100, 200);*/
/*}*/
/*.ace-tm .ace_storage,*/
/*.ace-tm .ace_keyword {*/
/* color: rgb(0,150,200);*/
/*}*/
/***
****
**** Visual editor interface
****
***/
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
/*border-bottom-color: var(--border-color-1);*/
}
.oo-ui-popupWidget-popup {
/*border: 1px solid var(--border-color-2);*/
}
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
background-color: var(--color-red-3);
}
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover {
background-color:var(--color-red-detail-3);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background-color:var(--color-red-3);
border-color: var(--color-red-detail-3);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
border-color: var(--color-red-detail-3);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover{
background-color:var(--color-red-detail-3);
}
.mw-body-header.citizen-page-header{
z-index:1;
}
/***
****
**** Source editor interface
****
***/
.wikiEditor-ui-toolbar {
padding: 0.25em;
box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
background-color:var(--color-surface-2);
}
.wikiEditor-ui .wikiEditor-ui-view {
border:1px solid var(--border-color-1);
}
.wikiEditor-ui .wikiEditor-ui-top::before {
backdrop-filter: none;
background-color: transparent;
}
.CodeMirror-gutters {
background-color:var(--color-surface-2);
border-right:1px solid var(--border-color-2);
}
.skin-citizen .mw-editform .editOptions {
background-color: var(--color-surface-5);
border: 1px solid var(--border-color-1);
border-top: 0px;
}
.oo-ui-buttonGroupWidget {
border:1px solid var(--border-color-1);
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
background-color: var(--color-surface-0);
border: 1px solid var(--border-color-1);
}
.oo-ui-checkboxInputWidget [type="checkbox"] + span {
background-color: var(--color-surface-0);
border: 1px solid var(--border-color-1);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
border: 1px solid var(--border-color-1);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
border-color: var(--border-color-2);
}
/***
**** Recent changes theming
***/
.rc-sidebar-user {
/*color: var(--color-base--subtle);*/
}
/***
**** Page view CSS
***/
/* Image CSS */
.citizen-body a.image:hover:not(.lazy):not(.new) > img{
transform: scale(1.03);
}
/*not sure why the reduced scaling effect broke and why it needs @media screen, but this is exactly how it renders on a page since 1.40*/
@media screen{
figure[typeof~="mw:File"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Frameless"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Thumb"] > a:first-child:hover:not(.lazy):not(.new) > img, figure[typeof~="mw:File/Frame"] > a:first-child:hover:not(.lazy):not(.new) > img {
transform:scale(1.03);
}
}
/* Table of Content styling */
.citizen-toc-level--1 > a{
font-weight:bold;
font-style:normal;
}
.citizen-toc-level--3 > a{
font-weight:lighter;
font-style:normal;
}
.citizen-toc-level--4 > a{
font-size:0.9em;
font-style:normal;
font-weight:lighter;
}
.citizen-toc-level--5 > a{
display:none;
}
/* Wheel scrolling in the desktop outline.
Citizen's .citizen-menu__card is a scroll container (overflow:auto) with
overscroll-behavior:contain. That is right for the popover it becomes on narrow
screens, but on desktop the card sits inside .citizen-toc, which is the real
scroller. The card therefore took the wheel, had nothing of its own to scroll, and
refused to chain to its parent - the outline could be dragged but never wheeled.
Scoped to the same 1120px breakpoint Citizen uses, so the popover keeps its scrolling. */
@media screen and ( min-width: 1120px ) {
.citizen-toc .citizen-menu__card {
overflow: visible;
}
}
/***
**** Success message after publishing an edit
***/
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) {
color: var(--color-success2);
}
/***
****
**** Bug fixes
****
***/
.oo-ui-windowManager-modal > .oo-ui-dialog {
z-index: 450;
}
/***
****
**** Megamenu icons
****
***/
#n-Library a::before,#n-wantedpages a::before,#n-accrequest a::before,#n-Essays a::before,#n-Articles a::before,#n-Quotes a::before{
background-repeat:no-repeat;
content:"";
height:1rem;
width:1rem;
opacity:var(--opacity-icon-base);
background-size:100%;
}
/* adding icons for megamenu items */
#n-Library a::before{ /*Library*/
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen);
}
#n-wantedpages a::before { /*Wanted pages*/
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=articleNotFound&format=original&skin=citizen);
}
#n-accrequest a::before { /*Recruitment*/
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-user&image=userGroup&format=original&skin=citizen);
}
#n-Essays a::before { /*Essays*/
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen);
}
#n-Articles a::before { /*All pages*/
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=articles&format=original&skin=citizen);
}
#n-Quotes a::before{
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-alerts&image=speechBubbles&format=original&skin=citizen);
}
.prolewiki-ui-icon-sandbox::before { /*Sandbox (in bottom left sidebar)*/
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-advanced&image=sandbox&format=original&skin=citizen);
}
/*Adds an icon to Request Account link when not logged in*/
@media screen{
#ca-request-account > a::before{
width:var(--size-icon);
height:var(--size-icon);
background-position:var(--size-icon);
background-repeat:var(--size-icon);
background-size:var(--size-icon);
content:'';
filter:invert(1);
opacity:1;
background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22m19.5 9.8 2.2-2.2c.4-.4.4-1.1 0-1.6L18 2.3c-.4-.4-1.1-.4-1.6 0l-2.2 2.2 5.3 5.3zm-6.4-4.1L2 16.7V22h5.3l11.1-11.1c-.1 0-5.3-5.2-5.3-5.2z%22/%3E %3C/g%3E%3C/svg%3E");
}
}
/**
* Appended icons in the Citizen sidebar (see Common.js for code)
**/
.sidebar-library > div, .sidebar-essays > div, .sidebar-upload > div, .sidebar-reading-mode > div{
height:40px;
width:100%;
background-repeat:no-repeat;
background-size:auto;
background-position:center;
opacity:var(--opacity-icon-base);
content:"";
filter:var(--filter-invert); /* for dark mode */
}
.sidebar-library > div{
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen);
}
.sidebar-essays > div {
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen);
}
.sidebar-upload > div{
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-content&image=upload&format=original&skin=citizen);
}
.sidebar-reading-mode > div{
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-accessibility&image=eyeClosed&format=original&skin=citizen);
}
/***
**** Custom pages/templates specific CSS
**** for responsiveness, custom skin and dark mode use
****
***/
/* New library */
.library-card-content{
background:var(--color-surface-0);
}
/* New essays page */
.mw-parser-output .essays-sidebar-item > div{
background:var(--color-surface-2)!important;
}
/*heading hyperlink icon css*/
.mw-headline {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.heading-hyperlink {
width: 1.875rem;
height: 1.875rem;
transition: var(--transition-hover);
transition-property: opacity;
text-indent: -9999px;
overflow: hidden;
position: relative;
display: inline-flex;
align-items: center;
filter:var(--filter-invert);
}
.heading-hyperlink::before {
position: absolute;
width: 100%;
height: 100%;
content: '';
background-repeat: no-repeat;
background-position: center;
background-image: url(/load.php?modules=oojs-ui.styles.icons-editing-core&image=link&format=original&skin=citizen)!important;
background-size: var(--size-icon);
filter: var(--filter-icon);
}
.heading-hyperlink:hover,
.heading-hyperlink:focus {
opacity: 0.8; /*should be a variable but i lost patience*/
}
/* Mobile touch optimization */
@media (pointer: coarse) {
.heading-hyperlink {
width: 2.5rem;
height: 2.5rem;
}
}
/* misc? */
#editpage-copywarn {
line-height: 1em;
margin-top: .75em;
}
.test01 {
text-align: center;
}
.mainpage-header{ /* gap between "contribute" and "news" got removed somehow, this adds it back*/
column-gap:1em;
align-items:stretch!important; /*makes all flex items have the same height*/
}
/* Wiki theming */
#siteSub { /* Size of text "From ProleWiki, the proletarian encyclopedia" below the title of the article. */
display: block;
font-size: 85% !important; /* Attaching !important because a new update did some shit it wasn't supposed to do */
}
.mw-body {
box-shadow: 0 0.25em 0.6em -0.15em rgba(0,0,0,0.15);
}
.page-ProleWiki_Main_page .firstHeading,
.page-ProleWiki_Main_page #siteSub {
display: none;
}
/*add icons to quick links in main page*/
.mainpage-articles>a:before,.mainpage-library>a:before,.mainpage-essays>a:before,.mainpage-categories>a:before,.mainpage-quotes>a:before,.mainpage-portals>a:before{
content: "";
width: 1.1rem;
height: 1.1rem;
background-size: 100%;
background-position: center;
opacity: var(--opacity-icon-base);
filter: var(--filter-invert);
margin-right: 0.2em;
background-repeat: no-repeat;
display: inline-block;
}
.mainpage-articles>a:before{
background-image: url(/pw-conf/img/icons/articles.svg);
}
.mainpage-library>a:before{
background-image: url(/pw-conf/img/icons/library.svg);
}
.mainpage-essays>a:before{
background-image: url(/pw-conf/img/icons/essays.svg);
}
.mainpage-quotes>a:before{
background-image: url(/pw-conf/img/icons/quotes.svg);
}
.mainpage-categories>a:before{
background-image: url(/pw-conf/img/icons/categories.svg);
}
/*Site notice configuration*/
/* Removing messy CSS code from DismissableSiteNotice extension */
.mw-dismissable-notice-close {
display:none;
}
.mw-dismissable-notice-body {
margin:auto !important;
text-align:left;
}
/*Adding the box and items CSS*/
.sitenotice-box {
display: flex;
flex-direction: column;
padding: 20px;
width: 80%;
background: #efefef;
border-radius: 12px;
margin: auto;
}
.mw-body-content sub,
.mw-body-content sup,
.reference {
font-size: 80%;
}
.page-Library_Theses_on_Feuerbach .mw-body-content h3
{ text-align: center; }
/* Announcement style */
.announcement {
border:1px solid #aaaaaa;
background-color:#f9f9f9;
padding:5px;
font-size: 95%;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background-color: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background-color: transparent; /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message,
.client-js .NavFrame.collapsed .NavContent,
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
display: none;
}
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 8 (2016-05-21)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
/**
* Note hlist style usage differd in
* the Minerva skin. Remember .hlist is a class defined in core as well! Please check Minerva desktop (and Minerva.css) when changing
* See https://phabricator.wikimedia.org/T213239
*/
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/*CREATE ACCOUNT AND USER LOGIN CSS*/
.page-Special_CreateAccount .firstHeading {
width: 32rem;
margin: 1.5em auto .4em;
}
.page-Special_UserLogin .firstHeading {
width: 32rem;
margin: 1.5em auto .4em;
}
.page-Special_UserLogin .mw-ui-container {
width: 32rem;
margin: 3em auto;
}
.page-Special_UserLogin .mw-ui-container #userloginForm {
float: unset;
margin: 0;
}
.page-Special_UserLogin .mw-ui-vform {
margin: 2.5em auto 0;
width: 22rem;
}
.page-Special_CreateAccount .firstHeading {
width: 32rem;
margin: 1.5em auto .4em;
}
.page-Special_CreateAccount .mw-ui-container {
width: 32rem;
margin: 3em auto;
}
.page-Special_CreateAccount .mw-ui-container #userloginForm {
float: unset;
margin: 0;
}
.page-Special_CreateAccount .mw-ui-vform {
margin: 2.5em auto 0;
width: 22rem;
}
.page-Special_CreateAccount .mw-createacct-benefits-container {
display: none
}
/*Special:Book CSS'ing (added by Collection)*/
#collection-download-button{
float:left;
}
#downloadButton{
cursor:pointer;
}
.collection-maintenance-box{
display:none;
}
/*Fixing links in templates being too long and breaking the visuals*/
.mw-body-content a.external.free {
word-wrap: anywhere!important;
}
/* Site notice CSS */
.site-notice{
margin:0 auto;
width:50%;
text-align:center;
font-size:1.25em;
margin-top:1%;
border-spacing: 3px;
line-height: 1.5em;
padding: 1em;
}
@media only screen and (max-width: 768px){
.site-notice{
width:99%!important;
font-size:1rem!important;
}
}
/*fix for new homepage stuff, using pointer-events is only possible here*/
.pill > p, .pill-image::after, .search-icon-homepage .mw-file-description, .header-part .mw-file-description, .new-homepage .mw-file-description{
pointer-events:none;
}
#homepage-search:hover{
background-color: var(--color-surface-2); /*homepage search bar color, needs to be here because we use variables*/
}
/*fix for new homepage icons because mainpage/styles.css doesn't support urls either...*/
.book-discovery .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen)!important;
filter:invert(1);
}
.join-us .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=feedback&format=original&skin=citizen)!important;
filter:invert(1);
}
.on-this-day .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-advanced&image=calendar&format=original&skin=citizen)!important;
filter:invert(1);
}
.cotd .frame-header::before{
/*uses hammer and sickle default*/
}
.news-homepage .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=clock&format=original&skin=citizen)!important;
filter:invert(1);
}
.featured-essay .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen)!important;
filter:invert(1);
}
.contributions-homepage .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-media&image=chart&format=original&skin=citizen)!important;
filter:invert(1);
}
.support-us .frame-header::before{
background-image:url(/load.php?modules=oojs-ui.styles.icons-interactions&image=heart&format=original&skin=citizen)!important;
filter:invert(1);
}
/*search bar on new homepage*/
#homepage-search:hover{
background-color: var(--color-surface-2); /*homepage search bar color, needs to be here because we use variables*/
}
@media (hover: none) and (pointer: coarse) { /*removing hover effects on devices that don't do hovering*/
#homepage-search:hover {
background-color: initial;
}
}
body.page-ProleWiki_Main_page .citizen-page-footer {
display: none;
}
.skin-citizen-dark .homepage-logo span a img{
filter:invert(1) contrast(75%)!important;
}
/*Book TOC for book splitter script CSS*/
.book-toc {
border: 1px solid var(--border-color-1);
background-color: var(--color-surface-5);
padding: 1em;
margin-top:1em;
margin-bottom: 1em;
overflow:auto;
}
.book-toc ol {
margin-left: 20px;
}
.book-toc li {
margin-bottom: 5px;
}
/* For Chrome, Edge, and Safari fixing default scrollbar */
body ::-webkit-scrollbar {
width: 5px;
height: 5px;
}
body ::-webkit-scrollbar-track {
background: transparent;
}
body ::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 5px;
border: 1px solid rgba(0, 0, 0, 0); /* A fully transparent border */
}
body ::-webkit-scrollbar-corner {
background: transparent; /* Remove any corner rendering */
}
/* Short reference styling */