819
edits
| Line 234: | Line 234: | ||
margin-right:1%; | margin-right:1%; | ||
} | } | ||
/*thumbnails*/ | |||
.toc, li.gallerybox div.thumb, div.thumbinner { | |||
background-color:rgba(42, 22, 15, 0.1); | |||
border-color:var(--smallborders); | |||
margin:0.2em; | |||
border-radius:5px; | |||
} | |||
.toc {margin-top:1em;margin-bottom:1em;margin-left:0.1em;margin-right:0.1em;} | |||
/*category links*/ | |||
#catlinks, #catlinks a, #footer-places-privacy, #footer-places-about, #footer-places-disclaimer, #footer-places-mobileview, #footer { | |||
background-color:rgba(var(--orange), 0.85); | |||
border-color:rgba(132, 79, 61, 0.85); | |||
border-radius:20px; | |||
color:var(--whitetextandbg); | |||
padding:0.5em; | |||
} | |||
#catlinks li, #catlinks a {border-color:var(--whitetextandbg);background:transparent;} | |||
/*Tables*/ | |||
.wikitable { | |||
background-color:var(--whitetextandbg); | |||
border: 2px solid; | |||
border-color:var(--smallborders); | |||
overflow:clip; | |||
max-width:80%; | |||
width:fit-content; | |||
} | |||
.wikitable tr > th { | |||
background-color:var(--tableheaders); | |||
font-weight:bold; | |||
padding:5px; | |||
text-align:center; | |||
} | |||
.wikitable tr:nth-child(odd) > td { | |||
background:var(--tablecolour2); | |||
color:var(--maintext); | |||
} | |||
/* Right-align Price each columns in all wikitable tables */ | |||
.wikitable td:nth-child(2), | |||
.wikitable th:nth-child(2), | |||
.wikitable td:nth-child(4), | |||
.wikitable th:nth-child(4) { | |||
text-align: right; | |||
padding-right: 10px; /* optional: gives a little spacing from the border */ | |||
} | |||
/*this is a hover highlight but it's turned off because it looked a bit odd | |||
!.wikitable tr:hover, .wikitable tr:nth-child(odd):hover td { | |||
background:rgba(250,220,160, 0.5); | |||
} | |||
*/ | |||
.wikitable tr { | |||
border-bottom:1px solid; | |||
border-color:var(--smallborders); | |||
} | |||
.wikitable tr > td, .wikitable tr > td[rowspan] { | |||
border-right:1px dotted; | |||
border-color:var(--smallborders); | |||
} | |||
.wikitable tr td {padding:5px;padding-left:10px;padding-right:10px;} | |||
/*Infoboxes*/ | |||
.infobox { | |||
background-color:var(--whitetextandbg); | |||
border: 2px solid; | |||
border-color:var(--smallborders); | |||
overflow:clip; | |||
box-shadow:none; | |||
border-bottom:5px solid var(--smallborders); | |||
border-right:5px solid var(--smallborders); | |||
width:260px; | |||
max-width:50%; | |||
line-height:1.8; | |||
font-size:0.95rem; | |||
float:right; | |||
margin-left:50px; | |||
} | |||
.infobox {color:var(--maintext)} | |||
.infobox-title, .infobox-header, .infobox-label {color:var(--headertext);} | |||
.infobox-title { | |||
background-color:var(--tablecolour3); | |||
font-weight:bold; | |||
padding:3px; | |||
text-align:center; | |||
font-family:var(--headerfont); | |||
} | |||
.infobox-header { | |||
background-color:var(--tableheaders); | |||
font-weight:bold; | |||
padding:3px; | |||
text-align:center; | |||
font-size:0.98rem; | |||
} | |||
.infobox-label { | |||
background:var(--tablecolour2); | |||
} | |||
.infobox-title, .infobox-header { | |||
border-top:1px solid var(--smallborders); | |||
border-bottom:1px solid var(--smallborders); | |||
} | |||
.infobox-image { | |||
justify-content: center; | |||
display:flex; | |||
outline:1px solid var(--whitetextandbg); | |||
outline-offset:-3px; | |||
} | |||
.infobox-row, .infobox-label { | |||
text-align:center;} | |||
.infobox-data, .infobox-data-section, .infobox-row {font-weight:normal;} | |||
.infobox-label, .infobox-header, .infobox-title {font-weight:bold;} | |||
/*Editor stuff*/ | |||
.oo-ui-toolbar-bar, .oo-ui-toolbar-popups, .oo-ui-tool-link, .oo-ui-widget-enabled, .oo-ui-window-content { | |||
background-color:var(--whitetextandbg); | |||
color:var(--maintext); | |||
} | |||
.oo-ui-widget-disabled { | |||
background-color:#eaeaea; | |||
color:#e3e3e3; | |||
} | |||
/*footer*/ | |||
#footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer li, #footer { | |||
background-color:rgba(var(--orange), 0.85); | |||
border-color:rgba(132, 79, 61, 0.85); | |||
border-radius:20px; | |||
color:var(--whitetextandbg); | |||
padding:0.15em; | |||
margin-bottom:3px; | |||
} | |||
#footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer {border-color:var(--whitetextandbg);background:transparent;} | |||
#footer {margin-right:5em;} | |||
#footer-poweredbyico, #footer-poweredbyico a, #footer-poweredbyico li, #footer-poweredbyico ul, #footer-poweredbyico img {background:none!important;margin-bottom:0.75em;} | |||
/* Reduces rounded corners from footer and lower menus */ | |||
#footer, | |||
#footer * , | |||
#catlinks, | |||
#catlinks * { | |||
border-radius: 4px !important; | |||
} | |||
/*these just add some space to the Recent changes page interface and adjust the reading area colour, the buttons are left unstyled intentionally*/ | |||
.mw-rcfilters-ui-filterWrapperWidget { | |||
padding:10px; | |||
padding-left:20px; | |||
padding-right:20px; | |||
max-width:97.5%; | |||
} | |||
.mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget { | |||
padding:10px; | |||
padding-left:20px; | |||
padding-right:20px; | |||
max-width:97.5%; | |||
} | |||
.mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget, .mw-rcfilters-ui-filterWrapperWidget {background-color:rgba(255, 255, 243,0.5)!important;color:var(--maintext);} | |||
/*This allows you to spoiler tag stuff with a blur*/ | |||
.spoilercell { | |||
filter: blur(6px); | |||
-webkit-filter: blur(6px); | |||
overflow:hidden; | |||
} | |||
.spoilercell:active { | |||
filter: blur(0px); | |||
-webkit-filter: blur(0px); | |||
} | |||
/*resizes the visual editor window*/ | |||
.oo-ui-textInputWidget-autosized { | |||
resize: both !important; | |||
} | |||
.oo-ui-window-frame { | |||
width: 45% !important; | |||
height:50%!important; | |||
min-width:480px; | |||
} | |||
/*fixes a problem with the popup widget*/ | |||
.oo-ui-popupWidget-anchored-top { | |||
min-height: 300px; | |||
} | |||
.oo-ui-popupWidget-anchored-top > .oo-ui-popupWidget-content { | |||
min-height:300px; | |||
overflow:scroll; | |||
} | |||
.oo-ui-popupWidget-popup { | |||
min-height:300px; | |||
height:300px; | |||
} | |||
/*fin*/ | |||