Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
More languages
m (Removed font color altogether)
No edit summary
 
(142 intermediate revisions by 4 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 */


/* Wiki theming */
/* CSS for templates located on MediaWiki:Templates.css */
body {
@import url("/index.php?title=MediaWiki:Templates.css&action=raw&ctype=text/css") screen;
background: url(https://shared.prolewiki.org/uploads/b/b9/ProleWiki_background.png) #f6f6f6 top left no-repeat;
 
/***
****
**** CSS Variables
****
***/
@media screen{
:root.skin-citizen-light { /*Light mode*/
/***** actual Citizen variables *****/
--color-surface-0:white; /*site background only*/
--color-surface-1:white; /*Modal, dropdown. Defaults to same as surface-0*/
--color-surface-2:hsl(0,0%,97%);
--color-surface-4:hsl(213,30%,85%);
--color-surface-5:hsl(220,17%,93%);
--color-surface-6:hsl(200,2%,60%);
--color-surface-7:hsl(180,2%,40%);
--color-progressive:#3366CC; /*Secondary (additional) color, defaults to blue*/
--border-color-base: rgba(0,0,0,0.08) ; /*base border color, defaults to 0.08 alpha black*/
/** Custom variables **/
--color-surface-subtle-red:hsl(0, 100%, 97%);
--color-success2:hsl(167,70%,31%);
--color-codeeditor-select:#b5d5ff;
--color-codeeditor-similar:#fafaff;
--color-codeeditor-similar-border:#c8c8fa;
--color-red-2:#900010;
--color-red-3:#b50014;
--color-red-detail-3:#c33242;
--color-base:#262e35;
--color-base--subtle:#646464;
--color-base--emphasized:#202020;
--border-color-1:#b0b0b0;
--border-color-2:#c7c7c7;
}
:root.skin-citizen-dark { /*dark mode*/
/***** actual Citizen variables *****/
 
/** Custom variables **/
--color-codeeditor-select:#485465;
--color-codeeditor-similar:#394350;
--color-codeeditor-similar-border:#4c5561;
--color-red-2:#900010;
--color-red-3:#800000;
--color-red-detail-3:#6d0000;
--color-surface-subtle-red:hsl(0, 45%, 28%);
--border-color-1:hsl(220, 28%, 23%);
--border-color-2:hsl(220,25%,20%);
}
:root.skin-citizen-auto{ /*auto mode*/
}
.skin-citizen-dark .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */
filter:invert(1);
}
}
 
/*table fix*/
.wikitable{
border:none!important;
}
 
/***
****
**** Mobile Citizen CSS
****
***/
@media (max-width: 720px) {
table {
width:100% !important;
display: table;
float: unset !important;
margin: auto !important;
    }
}
 
/******
****** 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
***/
.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);*/
}
}
#content h1,
.navbox-list {
#content h2:not(.toc),
/*border-color: var(--border-color-2);*/
#content h3,
#content h4,
#content h5,
#content h6 {
  font-family: "Linux Libertine", serif;
}
}
#mw-toc-heading {
.navbox-even {
  font-family: "Liberation Sans";
/*background-color: var(--color-surface-2);*/
}
}
.mw-body {
tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list {
    background-color: #fbfbfb;
/*border-top: 2px solid var(--border-color-2);*/
    font-family: "Liberation Sans";
    box-shadow: 0 0.25em 0.6em -0.15em rgba(0,0,0,0.15);
}
}


/* Helper CSS */
/***
.pw-helper {
**** CSS for Message boxes
cursor: help;
***/
.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;*/
}
}


/*Site notice configuration*/
/*Megamenu list*/
/* Removing messy CSS code from DismissableSiteNotice extension */
#p-RecentChanges ul{
.mw-dismissable-notice-close {
list-style-type: none;
display:none;
margin:0;
}
}


.mw-dismissable-notice-body {
/**
margin:auto !important;
* StructuredDiscussions theming (discussion pages)
text-align:left;
*
**/
 
 
 
/**
* ConfirmAcccount 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);
}
}
/*Adding the box and items CSS*/
input, select, textarea {
.sitenotice-box {
border: 1px solid var(--border-color-1);
display: flex;
background-color: var(--color-surface-2);
flex-direction: column;
color: var(--color-base--emphasized);
padding: 20px;
width: 80%;
background: #efefef;
border-radius: 12px;
margin: auto;
}
}


.sitenotice-text,
 
.sitenotice-subtext,
/***
.sitenotice-button,
**** Code editor interface
.sitenotice-button-dismiss {
***/
font-family:Helvetica;
.ace-tm .ace_indent-guide {
font-weight:bold;
  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);*/
}
}
.sitenotice-text {
.ace_button:hover {
font-size:150%;
/*background-color: var(--color-surface-4);*/
color: #646464;
margin: 0.25em 0;
}
}
/*.ace-tm .ace_constant.ace_numeric {*/
/* color: rgb(200, 100, 200);*/
/*}*/
/*.ace-tm .ace_storage,*/
/*.ace-tm .ace_keyword {*/
/* color: rgb(0,150,200);*/
/*}*/


.sitenotice-subtext {
 
font-size:115%;
/***
color: #646464;
****
margin-bottom: 1em;
**** 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;
}


.sitenotice-button-container {
/***
display: flex;
****
width: 100%;
**** Source editor interface
justify-content: flex-end;
****
***/
.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);
}
}
.sitenotice-button-container > span {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
padding: 12px;
border: 1px solid var(--border-color-1);
height: 12px;
border-radius: 8px;
font-size: 115%;
cursor:pointer;
line-height: 12px;
}
}
.sitenotice-button {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: #ff2206;
border-color: var(--border-color-2);
color: white;
box-shadow: 0px 4px 16px rgba(255, 34, 6, 0.16);
}
}


.sitenotice-button:hover {
 
background-color: #dd2206;
/***
transition: background-color 100ms;
**** Recent changes theming
***/
.rc-sidebar-user {
/*color: var(--color-base--subtle);*/
}
}


.sitenotice-button:not(:last-child) {
/***
margin-right:0.5em;
**** Page view CSS
***/
 
/* Image CSS */
.citizen-body a.image:hover:not(.lazy):not(.new) > img{
transform: scale(1.03);
}
}


.sitenotice-button-dismiss {
/*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.4*/
background: #FFFFFF;
@media screen{
color: #7B7B7B;
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 {
margin-right:auto;
transform:scale(1.03);
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
}
}


.sitenotice-button-dismiss:hover {
/* Table of Content styling */
  background-color: #F3F3F3;
.citizen-toc-level--1 > a{
  transition: background-color 100ms;
font-weight:bold;
font-style:normal;
}
}


.sitenotice-button-text a {
.citizen-toc-level--3 > a{
color: white;
font-weight:lighter;
font-style:normal;
}
}
.sitenotice-button-text a:hover {
 
text-decoration: none;
.citizen-toc-level--4 > a{
font-size:0.9em;
font-style:normal;
font-weight:lighter;
}
}
/*End of site notice configuration*/


.citizen-toc-level--5 > a{
display:none;
}


/*Main page CSS*/
/***
.page-ProleWiki_Main_page .firstHeading,
**** Success message after publishing an edit
.page-ProleWiki_Main_page #siteSub,
***/
.page-ProleWiki_Main_page #n-mainpage-description
.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) {
{ display: none; }
color: var(--color-success2);
#pw-mp-banner span
{
display: inline-block;
width: 100%;
content: url(https://shared.prolewiki.org/uploads/f/f9/Mainpageheader.png);
border-radius:12px;
}
}


#siteSub {
/***
display: block;
****
font-size: 85%;
**** 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%;
}
}


.mw-body-content sub,
/* adding icons for megamenu items */
.mw-body-content sup,
.reference {
font-size: 80%;
}


.page-Library_Theses_on_Feuerbach .mw-body-content h3
#n-Library a::before{ /*Library*/
{ text-align: center; }
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen);
}


/* Announcement style */
#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);
}


.announcement {
/*Adds an icon to Request Account link when not logged in*/
  border:1px solid #aaaaaa;
@media screen{
  background-color:#f9f9f9;
#ca-request-account > a::before{
  padding:5px;
width:var(--size-icon);
  font-size: 95%;
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");
}
}
}




/* Infobox template style */
/**
.infobox {
* Appended icons in the Citizen sidebar (see Common.js for code)
border: 1px solid #a2a9b1;
**/
border-spacing: 3px;
.sidebar-library > div, .sidebar-essays > div, .sidebar-upload > div{
background-color: #f8f9fa;
height:40px;
color: black;
width:100%;
/* @noflip */
background-repeat:no-repeat;
margin: 0.5em 0 0.5em 1em;
background-size:auto;
padding: 0.2em;
background-position:center;
/* @noflip */
opacity:var(--opacity-icon-base);
float: right;
content:"";
/* @noflip */
filter:var(--filter-invert); /* for dark mode */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
}
.infobox caption {
 
font-size: 125%;
.sidebar-library > div{
font-weight: bold;
background-image:linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=book&format=original&skin=citizen);
padding: 0.2em;
text-align: center;
}
}
.infobox td,
 
.infobox th {
.sidebar-essays > div {
vertical-align: top;
background-image: linear-gradient(transparent,transparent),url(/load.php?modules=oojs-ui.styles.icons-editing-citation&image=newspaper&format=original&skin=citizen);
/* @noflip */
text-align: left;
}
}
.infobox.bordered {
 
border-collapse: collapse;
.sidebar-upload > div{
background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E upload %3C/title%3E%3Cpath d=%22M17 12v5H3v-5H1v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5z%22/%3E%3Cpath d=%22M10 1 5 7h4v8h2V7h4z%22/%3E%3C/svg%3E");
}
}
.infobox.bordered td,
 
.infobox.bordered th {
/***
border: 1px solid #a2a9b1;
**** Custom pages/templates specific CSS
**** for responsiveness, custom skin and dark mode use
****
***/
 
/* New library */
.library-card-content{
background:var(--color-surface-0);
}
}
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
/* New essays page */
border: 0;
.mw-parser-output .essays-sidebar-item > div{
background:var(--color-surface-2)!important;
}
}


.infobox.sisterproject {
/*fixing hyperlink icon next to headings*/
width: 20em;
 
font-size: 90%;
 
#editpage-copywarn {
line-height: 1em;
margin-top: .75em;
}
}


.infobox.standard-talk {
.test01 {
border: 1px solid #c0c090;
text-align: center;
background-color: #f8eaba;
}
}
.infobox.standard-talk.bordered td,
 
.infobox.standard-talk.bordered th {
.mainpage-header{ /* gap between "contribute" and "news" got removed somehow, this adds it back*/
border: 1px solid #c0c090;
column-gap:1em;
align-items:stretch!important; /*makes all flex items have the same height*/
}
}


/* styles for bordered infobox with merged rows */
/* Wiki theming */
.infobox.bordered .mergedtoprow td,
#siteSub { /* Size of text "From ProleWiki, the proletarian encyclopedia" below the title of the article. */
.infobox.bordered .mergedtoprow th {
display: block;
border: 0;
font-size: 85% !important; /* Attaching !important because a new update did some shit it wasn't supposed to do */
border-top: 1px solid #a2a9b1;
}
/* @noflip */
.mw-body {
border-right: 1px solid #a2a9b1;
    box-shadow: 0 0.25em 0.6em -0.15em rgba(0,0,0,0.15);
}
}


.infobox.bordered .mergedrow td,
.page-ProleWiki_Main_page .firstHeading,  
.infobox.bordered .mergedrow th {
.page-ProleWiki_Main_page #siteSub {  
border: 0;
display: none;  
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


/* Styles for geography infoboxes, eg countries,
/*add icons to quick links in main page*/
  country subdivisions, cities, etc.           */
.mainpage-articles>a:before,.mainpage-library>a:before,.mainpage-essays>a:before,.mainpage-categories>a:before,.mainpage-quotes>a:before,.mainpage-portals>a:before{
.infobox.geography {
content: "";
border-collapse: collapse;
width: 1.1rem;
line-height: 1.2em;
height: 1.1rem;
font-size: 90%;
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;
}
}


.infobox.geography  td,
.mainpage-articles>a:before{
.infobox.geography  th {
background-image: url(/pw-conf/img/icons/articles.svg);
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
}
.infobox.geography .mergedtoprow td,
.mainpage-library>a:before{
.infobox.geography .mergedtoprow th {
background-image: url(/pw-conf/img/icons/library.svg);
border-top: 1px solid #a2a9b1;
}
padding: 0.4em 0.6em 0.2em 0.6em;
.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);
}
}


.infobox.geography .mergedrow td,
/*Site notice configuration*/
.infobox.geography .mergedrow th {
/* Removing messy CSS code from DismissableSiteNotice extension */
border: 0;
.mw-dismissable-notice-close {
padding: 0 0.6em 0.2em 0.6em;
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;
}
}


.infobox.geography .mergedbottomrow td,
.mw-body-content sub,
.infobox.geography .mergedbottomrow th {
.mw-body-content sup,
border-top: 0;
.reference {
border-bottom: 1px solid #a2a9b1;
font-size: 80%;
padding: 0 0.6em 0.4em 0.6em;
}
}


.infobox.geography .maptable td,
.page-Library_Theses_on_Feuerbach .mw-body-content h3
.infobox.geography .maptable th {
{ text-align: center; }
border: 0;
 
padding: 0;
/* Announcement style */
 
.announcement {
  border:1px solid #aaaaaa;
  background-color:#f9f9f9;
  padding:5px;
  font-size: 95%;
}
}


Line 457: Line 837:
.hlist li ol > li:first-child:before {
.hlist li ol > li:first-child:before {
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;
}
/* 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 */
}
}

Latest revision as of 12:33, 4 October 2024

/* CSS placed here will be applied to all skins */

/* CSS for templates located on MediaWiki:Templates.css */
@import url("/index.php?title=MediaWiki:Templates.css&action=raw&ctype=text/css") screen;

/***
****
****	CSS Variables
****
***/
@media screen{
	:root.skin-citizen-light { /*Light mode*/
	/***** actual Citizen variables *****/
		--color-surface-0:white; /*site background only*/
		--color-surface-1:white; /*Modal, dropdown. Defaults to same as surface-0*/
		--color-surface-2:hsl(0,0%,97%);
		--color-surface-4:hsl(213,30%,85%);
		--color-surface-5:hsl(220,17%,93%);
		--color-surface-6:hsl(200,2%,60%);
		--color-surface-7:hsl(180,2%,40%);
		--color-progressive:#3366CC; /*Secondary (additional) color, defaults to blue*/
		--border-color-base: rgba(0,0,0,0.08) ; /*base border color, defaults to 0.08 alpha black*/
		
	/** Custom variables **/
		--color-surface-subtle-red:hsl(0, 100%, 97%);
		--color-success2:hsl(167,70%,31%);
		--color-codeeditor-select:#b5d5ff;
		--color-codeeditor-similar:#fafaff;
		--color-codeeditor-similar-border:#c8c8fa;
		--color-red-2:#900010;
		--color-red-3:#b50014;
		--color-red-detail-3:#c33242;
		--color-base:#262e35;
		--color-base--subtle:#646464;
		--color-base--emphasized:#202020;
		--border-color-1:#b0b0b0;
		--border-color-2:#c7c7c7;
	}
	
	:root.skin-citizen-dark { /*dark mode*/
	/***** actual Citizen variables *****/

		
	/** Custom variables **/
		--color-codeeditor-select:#485465;
		--color-codeeditor-similar:#394350;
		--color-codeeditor-similar-border:#4c5561;
		--color-red-2:#900010;
		--color-red-3:#800000;
		--color-red-detail-3:#6d0000;
		--color-surface-subtle-red:hsl(0, 45%, 28%);
		--border-color-1:hsl(220, 28%, 23%);
		--border-color-2:hsl(220,25%,20%);
	}
	:root.skin-citizen-auto{ /*auto mode*/
		
	}
	.skin-citizen-dark .mw-portlet a::before{ /* inverts preprended icon colour in dark theme */
		filter:invert(1);
	}
}

/*table fix*/
.wikitable{
	border:none!important;
}

/***
****
****	Mobile Citizen CSS
****
***/
@media (max-width: 720px) {
	table {
		width:100% !important;
		display: table;
		float: unset !important;
		margin: auto !important;
    }
}

/******
 ******	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
***/
.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;*/
}

/*Megamenu list*/
#p-RecentChanges ul{
	list-style-type: none;
	margin:0;
}

/**
 *		StructuredDiscussions theming (discussion pages)
 *		
**/



/**
 *		ConfirmAcccount 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);
}


/***
****	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.4*/
@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;
}

/***
****	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{
	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("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E upload %3C/title%3E%3Cpath d=%22M17 12v5H3v-5H1v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5z%22/%3E%3Cpath d=%22M10 1 5 7h4v8h2V7h4z%22/%3E%3C/svg%3E");
}

/***
****	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;
}

/*fixing hyperlink icon next to headings*/


#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;
}

/* 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 */
}