MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content added Content deleted
m (1 revision imported)
(image border radius)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Reset italic styling set by user agent */
/* CSS placed here will be applied to all skins */
/******************************
cite, dfn {
* Hide items on main page
font-style: inherit;
******************************/
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
display: none !important;
}
}


/******************************
/* Straight quote marks for <q> */
* Hide category header 3
q {
******************************/
quotes: '"' '"' "'" "'";
.mw-category-generated h3 {
display: none;
}
}


/* The transcription progress bar */
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
.pr_quality {
blockquote {
overflow: hidden;
width:20%;
margin: 1em 0;
border-spacing: 1px;
padding: 0 40px;
border: 1px solid #ccc;
font-size: 1.5em;
}
}


#contentSub {
/* Prevent the 'double bold' bug in Firefox when using DirectWrite */
margin: 0 0 1.5em 0;
strong.selflink {
font-weight: 700;
}
}


#navigationHeader {
/* Consistent size for <small>, <sub> and <sup> */
display: table;
small {
font-size: 85%;
border-collapse: collapse;
border-spacing: 0;
empty-cells: hide;
margin: 0 auto 4px auto;
width: 100%;
}
}

.mw-body-content sub,
/*****************************************
.mw-body-content sup,
* Lists: bulleted, ordered and unordered
span.reference /* for Parsoid */ {
****************************************/
font-size: 80%;
@media screen {
.mw-content-ltr ol {
margin: 0.8em 0 0 2.1em;
padding: 0;
}
}
}


/******************************
/* Same spacing for indented and unidented paragraphs on talk pages */
* Styles for mobile main page
.ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;}
******************************/


@media all and (min-width: 768px) {
/* Main page fixes */
.lonsdale-mainpage-column {
#interwiki-completelist {
float: left;
font-weight: bold;
width: 50%;
}
.lonsdale-mainpage-column-first {
padding-right: 10px;
}
.lonsdale-mainpage-column-second {
padding-left: 10px;
}
.lonsdale-mainpage-sister-projects {
text-align: center;
}
}
}


/******************************
/* Reduce page jumps by hiding collapsed/dismissed content */
* Columns for soldier pages
.client-js .mw-special-Watchlist #watchlist-message,
******************************/
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) {
display: none;
}


@media all and (min-width: 768px) {
/* Tone down 'Changed since last visit' colors */
.soldier-column {
span.updatedmarker {
float:left;
background-color: transparent;
width:50%;
color: #006400;
}
.soldier-column-first {
padding-right:10px;
}
.soldier-column-second {
padding-left:10px;
}
}
}


/******************************
/* Edit window toolbar */
* To make images responsive
#toolbar {
******************************/
height: 22px;
.res-img img {
margin-bottom: 6px;
max-width:100%;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
}


.res-img-800 img {
/* Hide charinsert base for those not using the gadget */
display: block;
#editpage-specialchars {
display: none;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:800px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
}


.res-img-1000 img {
/* Highlight linked elements (such as clicked references) in blue */
display: block;
body.action-info .mw-body-content :target,
margin-left: auto;
.citation:target {
margin-right: auto;
background-color: #DEF; /* Fallback */
max-width:100%;
background-color: rgba(0, 127, 255, 0.133);
width:1000px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
}


.res-img-1200 img {
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
display: block;
.citation {
word-wrap: break-word;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:1200px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
}


/****************************************************
/* For linked citation numbers and document IDs, where the number need not be shown
* To hide wikisource proofread icons on index pages
on a screen or a handheld, but should be included in the printed version */
****************************************************/
@media screen, handheld {
.mw-indicators.mw-body-content {
.citation .printonly {
display: none;
display: none;
}
}
}


/******************************
/* Make the list of references smaller */
* Blockquotes
ol.references,
******************************/
div.reflist,
blockquote {
div.refbegin {
color: #222;
font-size: 90%; /* Default font-size */
border-left: 3px solid #ddd;
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
}


/******************************
/* Ensure refs in table headers and the like aren't bold or italic */
* Wikitables
sup.reference {
******************************/
font-weight: normal;
/*table.wikitable {
font-style: normal;
background-color: #f8f9fa;
color: #222;
margin: 1em 0;
border: 1px solid #a3a9b1;
border-collapse: collapse;
}
}


table.wikitable > tr > th,
/* Allow hidden ref errors to be shown by user CSS */
table.wikitable > tr > td,
span.brokenref {
table.wikitable > * > tr > th,
display: none;
table.wikitable > * > tr > td {
border: 1px solid #a3a9b1;
padding: 0.2em 0.4em;
}
}


table.wikitable > tr > th,
/* Hanging indentation for Template:Refbegin */
table.wikitable > * > tr > th {
.refbegin-hanging-indents > ul {
background-color: #eaecf0;
list-style-type: none;
text-align: center;
margin-left: 0;
}
.refbegin-hanging-indents > ul > li,
.refbegin-hanging-indents > dl > dd {
margin-left: 0;
padding-left: 3.2em;
text-indent: -3.2em;
list-style: none;
}
}


table.wikitable > caption {
/* Reset top margin for lists embedded in columns */
font-weight: bold;
div.columns {
}*/
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}


/******************************
/* Avoid elements from breaking between columns */
* Basictable of plain white
.nocolbreak,
for clean look general use
div.columns li,
******************************/
div.columns dd dd {
table.basictable {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
background-color: #fff;
color: #444;
break-inside: avoid-column;
margin: 0;
border: 1px solid #fff;
text-align: left;
}
}


table.basictable > tr > th,
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
table.basictable > tr > td,
.flowlist ul {
table.basictable > * > tr > th,
overflow-x: hidden;
table.basictable > * > tr > td {
margin-left: 0;
padding-left: 1.6em;
background-color: #fff;
border: 1px solid #fff;
}
padding: 0.2em 0.4em;
.flowlist ol {
overflow-x: hidden;
text-align: left;
margin-left: 0;
padding-left: 3.2em;
}
.flowlist dl {
overflow-x: hidden;
}
}


table.basictable > tr > th,
/* Style for horizontal lists (separator following item).
table.basictable > * > tr > th {
@source mediawiki.org/wiki/Snippets/Horizontal_lists
background-color: #fff;
@revision 8 (2016-05-21)
text-align: center;
@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: ": ";
}
.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";
}
}


table.basictable > caption {
/* Unbulleted lists */
font-weight: bold;
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}
}


/******************************
/* Default style for navigation boxes */
* Infotable for infoboxes
.navbox { /* Navbox container style */
on soldier pages
box-sizing: border-box;
******************************/
border: 1px solid #a2a9b1;
table.infotable {
width: 100%;
background-color: #f7f7f7;
clear: both;
font-size: 88%;
color: #444;
text-align: center;
margin: 0;
padding: 1px;
border: 3px solid #fff;
text-align: left;
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: #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: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: 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 */
}
}


table.infotable > tr > th,
/* Default styling for Navbar template */
table.infotable > tr > td,
.navbar {
table.infotable > * > tr > th,
display: inline;
table.infotable > * > tr > td {
font-size: 88%;
font-weight: normal;
background-color: #f7f7f7;
border: none;
}
padding: 0.15em;
.navbar ul {
display: inline;
text-align: left;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
}


table.infotable > tr > th,
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
table.infotable > * > tr > th {
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
background-color: #1b9591;
.collapseButton {
text-align: center;
/* @noflip */
float: right;
color: #fff;
padding: 10px 5px;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
}


table.infotable > caption {
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
font-weight: bold;
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
}
}


/*********************************
/* Infobox template style */
* Remtable for full-width tables
.infobox {
on soldier remembrance pages
border: 1px solid #a2a9b1;
*********************************/
border-spacing: 3px;
table.remtable {
background-color: #f8f9fa;
color: black;
background-color: #f7f7f7;
color: #444;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
margin: 0;
padding: 0.2em;
border: 1px solid #fff;
text-align: left;
/* @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 #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
}


table.remtable > tr > th,
.infobox.sisterproject {
table.remtable > tr > td,
width: 20em;
table.remtable > * > tr > th,
font-size: 90%;
table.remtable > * > tr > td {
background-color: #f7f7f7;
border: 1px solid #fff;
padding: 0.2em 0.4em;
text-align: left;
}
}


table.remtable > tr > th,
.infobox.standard-talk {
table.remtable > * > tr > th {
border: 1px solid #c0c090;
background-color: #f8eaba;
background-color: #f7f7f7;
text-align: center;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
}


table.remtable > caption {
/* styles for bordered infobox with merged rows */
font-weight: bold;
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


/******************************
.infobox.bordered .mergedrow td,
* Pivot-table used on the
.infobox.bordered .mergedrow th {
transcribing projects page
border: 0;
******************************/
/* @noflip */
table.pivot-table {
border-right: 1px solid #a2a9b1;
background-color: #f2f2f2;
color: #444;
margin: 1em 0;
border: 1px solid #fff;
text-align: center;
}
}


table.pivot-table > tr > th,
/* Styles for geography infoboxes, eg countries,
table.pivot-table > tr > td,
country subdivisions, cities, etc. */
table.pivot-table > * > tr > th,
.infobox.geography {
table.pivot-table > * > tr > td {
border-collapse: collapse;
border: 2px solid #fff;
line-height: 1.2em;
font-size: 90%;
padding: 0.4em;
text-align: center;
}
}


table.pivot-table > tr > th,
.infobox.geography td,
.infobox.geography th {
table.pivot-table > * > tr > th {
background-color: #517398;
border-top: 1px solid #a2a9b1;
text-align: center;
padding: 0.4em 0.6em 0.4em 0.6em;
color: #fff;
}
padding: 10px 5px;
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}


table.pivot-table > caption {
.infobox.geography .mergedrow td,
font-weight: bold;
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
}


/******************************
.infobox.geography .mergedbottomrow td,
* diarytable used on war
.infobox.geography .mergedbottomrow th {
diary transcriptions pages
border-top: 0;
******************************/
border-bottom: 1px solid #a2a9b1;
table.diarytable {
padding: 0 0.6em 0.4em 0.6em;
background-color: #f2f2f2;
color: #444;
margin: 1em 0;
border: 1px solid #fff;
text-align: center;
}
}


table.diarytable > tr > th,
.infobox.geography .maptable td,
table.diarytable > tr > td,
.infobox.geography .maptable th {
table.diarytable > * > tr > th,
border: 0;
table.diarytable > * > tr > td {
padding: 0;
border: 2px solid #fff;
padding: 0.3em;
text-align: center;
}
}


table.diarytable > tr > th,
/* Normal font styling for table row headers with scope="row" tag */
table.diarytable > * > tr > th {
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
background-color: #444;
text-align: center;
/* @noflip */
text-align: left;
color: #fff;
padding: 10px 5px;
}
}


table.diarytable > caption {
/* Lists in data cells are always left-aligned */
font-weight: bold;
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
}


/******************************
/* Icons for medialist templates [[Template:Listen]],
* Great War periodicals table
[[Template:Multi-listen_start]], [[Template:Video]],
******************************/
[[Template:Multi-video_start]] */
table.gwptable {
div.listenlist {
background-color: #f8f9fa;
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
color: #444;
background-size: 30px;
margin: 1em 0;
padding-left: 40px;
border: 1px solid #fff;
text-align: center;
}
}


table.gwptable > tr > th,
/* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */
table.mw-hiero-table td {
table.gwptable > tr > td,
table.gwptable > * > tr > th,
vertical-align: middle;
table.gwptable > * > tr > td {
border: 1px solid #fff;
padding: 0.2em 0.4em;
text-align: center;
}
}


table.gwptable > tr > th,
/* Style rules for media list templates */
table.gwptable > * > tr > th {
div.medialist {
min-height: 50px;
background-color: #eaecf0;
margin: 1em;
text-align: center;
/* @noflip */
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
}


table.gwptable > caption {
/* Change the external link icon to an Adobe icon for all PDF files
font-weight: bold;
in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
}


/******************************
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
* Page Index table
div.columns-2 div.column {
******************************/
/* @noflip */
table.page-index-table {
float: left;
background-color: #f8f9fa;
width: 50%;
min-width: 300px;
color: #444;
margin: 1em 0;
}
border: 1px solid #fff;
div.columns-3 div.column {
text-align: center;
/* @noflip */
float: left;
width: 33.3%;
min-width: 200px;
}
div.columns-4 div.column {
/* @noflip */
float: left;
width: 25%;
min-width: 150px;
}
div.columns-5 div.column {
/* @noflip */
float: left;
width: 20%;
min-width: 120px;
}
}


table.page-index-table > tr > th,
/* Messagebox templates */
table.page-index-table > tr > td,
.messagebox {
table.page-index-table > * > tr > th,
border: 1px solid #a2a9b1;
table.page-index-table > * > tr > td {
background-color: #f8f9fa;
width: 80%;
border: 1px solid #fff;
margin: 0 auto 1em auto;
padding: 0.2em 0.4em;
padding: .2em;
text-align: center;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
}


table.page-index-table > tr > th,
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
table.page-index-table > * > tr > th {
th.mbox-text, td.mbox-text { /* The message body cell(s) */
background-color: #eaecf0;
border: none;
text-align: center;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
}


table.page-index-table > caption {
/* Article message box styles */
font-weight: bold;
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
}


/******************************
table.ambox-notice {
* Roll of Honour table
/* @noflip */
******************************/
border-left: 10px solid #36c; /* Blue */
table.rohtable {
}
background-color: #f2f2f2;
table.ambox-speedy {
color: #444;
/* @noflip */
margin: 1em 0;
border-left: 10px solid #b32424; /* Red */
border: 1px solid #fff;
background: #fee7e6; /* Pink */
text-align: left;
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
}


table.rohtable > tr > th,
/* Image message box styles */
table.imbox {
table.rohtable > tr > td,
table.rohtable > * > tr > th,
margin: 4px 10%;
table.rohtable > * > tr > td {
border-collapse: collapse;
border: 3px solid #36c; /* Default "notice" blue */
border: 2px solid #fff;
background: #fbfbfb;
padding: 0.4em;
text-align: left;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
}


table.imbox-notice {
table.rohtable > tr > th,
table.rohtable > * > tr > th {
border: 3px solid #36c; /* Blue */
background-color: #50ab8a;
}
text-align: center;
table.imbox-speedy {
color: #fff;
border: 3px solid #b32424; /* Red */
padding: 10px 5px;
background: #fee7e6; /* Pink */
}
table.imbox-delete {
border: 3px solid #b32424; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #fc3; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
}


table.rohtable > caption {
/* Category message box styles */
font-weight: bold;
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #DFE8FF; /* Default "notice" blue */
}
}


/* CSS used on MediaWiki.org */
table.cmbox-notice {
.mainpage_row {
background: #D8E8FF; /* Blue */
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
padding: 0;
margin: 0 -5px 0 -5px;
}
}
.mainpage_box {
table.cmbox-speedy {
flex: 1;
margin-top: 4px;
margin-bottom: 4px;
margin: 5px;
min-width: 210px;
border: 4px solid #b32424; /* Red */
border: 1px solid #CCC;
background: #FFDBDB; /* Pink */
padding: 0 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
}
.mainpage_box h3 {
table.cmbox-delete {
/* Reset padding so is equal across skins */
background: #FFDBDB; /* Red */
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
/* Padding left gets overridden by headanchor gadget */
margin: 0.5em 0;
}
}
/* Set padding left only if headanchor gadget is not enabled */
table.cmbox-content {
.mainpage_box h3:not(.tpl-vheadanchor-heading) {
background: #FFE7CE; /* Orange */
padding-left: 0;
}
}
.mainpage_box h3 .header_icon {
table.cmbox-style {
float: left;
background: #FFF9DB; /* Yellow */
margin-right: 5px;
}
}
.mainpage_box .items {
table.cmbox-move {
border-top: 1px solid #CCC;
background: #E4D8FF; /* Purple */
padding-top: 0.5em;
}
}
.mainpage_box p:last-child {
table.cmbox-protection {
margin-bottom: 0;
background: #EFEFE1; /* Gray-gold */
}
}
.mainpage_boxcontents_small {

font-size: 95%;
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background: #f8f9fa;
}
}


/***************************************
table.ombox-notice {
* Banner and photo slider on main page
border: 1px solid #a2a9b1; /* Gray */
***************************************/
.banner-image {
position: relative;
overflow: hidden;
max-width: 1125px;
height: auto;
margin-bottom: .6em;
}
}
.banner-image img {
table.ombox-speedy {
max-width: 100%;
border: 2px solid #b32424; /* Red */
height: auto;
background: #fee7e6; /* Pink */
width: auto\9;
}
}
.banner-box-wide {
table.ombox-delete {
width: 80%
border: 2px solid #b32424; /* Red */
}
}
.banner-box-left,
table.ombox-content {
.banner-box-right {
border: 1px solid #f28500; /* Orange */
padding: 8px 7px;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
width: 40%;
}
}
.banner-box-left {
table.ombox-style {
left: 3%;
border: 1px solid #fc3; /* Yellow */
text-align: left;
}
}
.banner-box-right {
table.ombox-move {
right: 3%;
border: 1px solid #9932cc; /* Purple */
text-align: right;
}
}
.mainpage-shadowbox {
table.ombox-protection {
color: white;
border: 2px solid #a2a9b1; /* Gray-gold */
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
}
}
.mainpage-shadowbox h2, .mainpage-shadowbox h3 {

color: white;
/* Talk page message box styles */
border:none;
table.tmbox {
font-family: sans-serif;
margin: 4px 10%;
border-collapse: collapse;
line-height: 1.2em;
margin:0;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
}
.mainpage-shadowbox h2 {
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
font-size: 190%;
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
width: 100%; /* For Safari and Opera */
}
}
.mainpage-shadowbox h3 {
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
font-size: 150%;
line-height: 1.5em; /* also "nested", so reset styles that are */
padding: 0;
font-size: 100%; /* set in "mbox-small" above. */
}
}
#mainpage-maplinks a, .mainpage-shadowbox a {

color: white;
table.tmbox-speedy {
font-weight: bold;
border: 2px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
}
.banner-box-2 {
table.tmbox-delete {
position: absolute;
border: 2px solid #b32424; /* Red */
z-index: 2;
margin-top: 2em;
min-width: 20em;
}
}
.banner-box-2 .quote {
table.tmbox-content {
font-size: 90%;
border: 2px solid #f28500; /* Orange */
line-height: 1.2em;
}
table.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
}


/******************************
/* Disambig and set index box styles */
* Collapsible elements
table.dmbox {
******************************/
clear: both;
.mw-collapsible-toggle-default::before {
margin: 0.9em 1em;
border-top: 1px solid #ccc;
content: '(';
border-bottom: 1px solid #ccc;
background: transparent;
}
}
.mw-collapsible-toggle-default::after {

content: ')';
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa; /* Default "system" gray */
}
}
.mw-collapsible-toggle {
table.fmbox-system {
background: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small { /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
float: right;
/* @noflip */
padding: 2px 5px;
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


/**************************************************
/* Style for compact ambox */
* Styling for the timelines and on this day pages
/* Hide the images */
*************************************************/
.compact-ambox table .mbox-image,
table.timeline, table.timeline tbody {
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background: transparent;
margin: 0 0 0 1.6em !important;
padding: 0 !important;
width: auto;
display: block;
display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
display: list-item;
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
list-style-type: disc;
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
}
}


table.timeline tr {
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
position: relative;
div.noarticletext {
margin-left: 8px;
border: none;
padding: 5px 20px 5px 12px;
background: transparent;
padding: 0;
display: flex;
flex-direction: column;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
}


table.timeline tr:before {
/* Hide (formatting) elements from screen, but not from screenreaders */
content: "";
.visualhide {
position: absolute;
position: absolute;
left: -10000px;
top: 0;
top: auto;
bottom: 0;
left: 0;
display: block;
width: 1px;
width: 1px;
height: 1px;
background-color: #f7f7f7;
overflow: hidden;
}
}


table.timeline tr td {
/* Bold save button */
/*font-size: 1rem;*/
#wpSave {
font-weight: bold;
/*font-weight: var( --font-weight-semibold );*/
color: #202122;
padding: 0 10px;
}
}


table.timeline tr td:first-child:before {
/* suppress missing interwiki image links where #ifexist cannot
content: "";
be used due to high number of requests see .hidden-redlink on
width: 8px;
[[m:MediaWiki:Common.css]] */
height: 8px;
.check-icon a.new {
display: none;
display: block;
speak: none;
background-color: #72777d;
border-radius: 100%;
}

/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
text-decoration: none !important;
}

/* 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.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
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%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
position: absolute;
top: 0;
left: -3.5px;
margin-top: 8px;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
}


/*table.timeline tr td {
/* Hatnotes and disambiguation notices */
padding: 0;
.hatnote {
}*/
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}


table.timeline tr + tr {
/* Allow transcluded pages to display in lists rather than a table. */
border-top: 0;
.listify td { display: list-item; }
.listify tr { display: block; }
.listify table { display: block; }

/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }

/* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */
.hlist .tocnumber,
.hlist .toctext {
display: inline;
}
/* When <div class="nonumtoc"> is used on the table of contents,
the ToC will display without numbers */
.nonumtoc .tocnumber {
display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none none;
margin: .3em 0 0;
padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
/* @noflip */
margin: 0;
}
}


/**************************************************
/* Allow limiting of which header levels are shown in a TOC;
* Styling for responsive flex boxes
<div class="toclimit-3">, for instance, will limit to
*************************************************/
showing ==headings== and ===headings=== but no further
/* * {
(as long as there are no =headings= on the page, which
box-sizing: border-box;
there shouldn't be according to the MoS). */
} */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}


.flex-container {
/* Styling for Template:Quote */
display: flex;
blockquote.templatequote div.templatequotecite {
line-height: 1.5em;
flex-direction: row;
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 1.6em;
margin-top: 0;
}
}


.flex-item-1 {
/* User block messages */
/*background-color: ;*/
div.user-block {
border:1px solid #f3f2f2;
padding: 5px;
margin-bottom: 0.5em;
border-radius: 8px;
box-shadow: 0 3px 6px #f2f2f2;
border: 1px solid #A9A9A9;
padding: 10px;
background-color: #FFEFD5;
margin: 5px;
flex: 33.3%;
box-sizing: border-box;
}
}


.flex-item-2 {
/* Prevent line breaks in silly places:
/*background-color: ;*/
1) Where desired
border:1px solid #f3f2f2;
2) Links when we don't want them to
border-radius: 8px;
3) Bold "links" to the page itself */
box-shadow: 0 3px 6px #f2f2f2;
.nowrap,
padding: 10px;
.nowraplinks a,
margin: 5px;
.nowraplinks .selflink {
white-space: nowrap;
flex: 33.3%;
box-sizing: border-box;
}
.nowrap pre {
white-space: pre;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
}


.flex-item-3 {
/* For template documentation */
/*background-color: ;*/
.template-documentation {
border:1px solid #f3f2f2;
clear: both;
border-radius: 8px;
margin: 1em 0 0 0;
box-shadow: 0 3px 6px #f2f2f2;
border: 1px solid #a2a9b1;
padding: 10px;
background-color: #ecfcf4;
padding: 1em;
margin: 5px;
flex: 33.3%;
box-sizing: border-box;
}
}


/* Responsive layout - makes a one column-layout instead of two-column layout */
/* Increase the height of the image upload box */
@media (max-width: 900px) {
#wpUploadDescription {
.flex-container {
height: 13em;
flex-direction: column;
}
}
}


/*********************************************************
/* Minimum thumb width */
* Styling for a responsive image gallery with 4 coloumns
.thumbinner {
*********************************************************/
min-width: 100px;
.row {
display: flex;
flex-wrap: wrap;
padding: 0 5px;
}
}


/* Create four equal columns that sits next to each other */
/* Prevent floating boxes from overlapping any category listings,
.column {
file histories, edit previews, and edit [Show changes] views. */
flex: 25%;
#mw-subcategories, #mw-pages, #mw-category-media,
max-width: 23%;
#filehistory, #wikiPreview, #wikiDiff {
padding: 0 5px;
clear: both;
}
}


.column img {
/* Selectively hide headers in WikiProject banners */
margin-top: 8px;
.wpb .wpb-header { display: none; }
vertical-align: middle;
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */

/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style:italic;
font-size:90%;
}
}


/* Responsive layout - makes a two column-layout instead of four columns */
/* Hide stuff meant for accounts with special permissions. Made visible again in
@media (max-width: 800px) {
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
.column {
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
flex: 50%;
.sysop-show,
max-width: 48%;
.accountcreator-show,
}
.templateeditor-show,
.extendedmover-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
/**
@media (max-width: 600px) {
* Hide the redlink generated by {{Editnotice}},
.column {
* this overrides the ".sysop-show { display: none; }" above that applies
flex: 100%;
* to the same link as well. See [[phab:T45013]]
max-width: 100%;
*
}
* Hide the images in editnotices to keep them readable in VE view.
* Long term, editnotices should become a core feature so that they can be designed responsive.
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
list-style: none none;
}
ul.permissions-errors {
margin: 0;
}

/* Pie chart: transparent borders */
.transborder {
border: solid transparent;
}

/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
}
span.texhtml {
white-space: nowrap;
}
span.texhtml span.texhtml {
font-size: 100%;
}
span.mwe-math-mathml-inline {
font-size: 118%;
}

/* Force tabular and lining display for digits and texhtml */
.digits,
.texhtml {
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}

/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
.mwe-math-mathml-display math {
display: inline;
}

/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
width: 98%;
}

/* For portals, added 2011-12-07 -bv
On wide screens, show these as two columns
On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
float: left;
width: 50%;
}
.portal-column-right {
float: right;
width: 49%;
}
.portal-column-left-wide {
float: left;
width: 60%;
}
.portal-column-right-narrow {
float: right;
width: 39%;
}
.portal-column-left-extra-wide {
float: left;
width: 70%;
}
.portal-column-right-extra-narrow {
float: right;
width: 29%;
}
@media only screen and (max-width: 800px) {
/* Decouple the columns on narrow screens */
.portal-column-left,
.portal-column-right,
.portal-column-left-wide,
.portal-column-right-narrow,
.portal-column-left-extra-wide,
.portal-column-right-extra-narrow {
float: inherit;
width: inherit;
}
}

/* Formerly for announcements, now used intermittently */
#bodyContent .letterhead {
background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
background-repeat:no-repeat;
padding: 2em;
background-color: #faf9f2;
}

/* Tree style lists */
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
/* @noflip */
padding-left: 20px;
text-indent: 0.3em;
}
.treeview li li.lastline {
background-position: 0 -5971px
}
.treeview li.emptyline > ul {
/* @noflip */
margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px
}

/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
display: none;
speak: none;
}

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes .mw-ui-checkbox {
display: none !important;
}

/* Work-around for [[Phabricator:25965]] (Kaltura advertisement) */
.k-player .k-attribution {
visibility: hidden;
}

/* Move 'play' button of video player to bottom left corner */
.PopUpMediaTransform a .play-btn-large {
margin: 0;
top: auto;
right: auto;
bottom: 0;
left: 0;
}

/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced {
display: none;
}

/* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */
@media screen {
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: #fff;
}
/* T178626 */
#contentSub:empty,
#contentSub2:empty {
display: block !important;
}
#contentSub:empty ~ #jump-to-nav,
#contentSub2:empty ~ #jump-to-nav {
margin-top: -1.4em !important;
margin-bottom: 1.4em !important;
}


}
}

Latest revision as of 12:36, 25 April 2024

/* CSS placed here will be applied to all skins */
/******************************
 * Hide items on main page
 ******************************/
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
    display: none !important;
}

/******************************
 * Hide category header 3
 ******************************/
 .mw-category-generated h3 {
   display: none;
}

/* The transcription progress bar */
.pr_quality {
    width:20%;
    border-spacing: 1px;
    border: 1px solid #ccc;
    font-size: 1.5em;
}

#contentSub {
	margin: 0 0 1.5em 0;
}

#navigationHeader {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: hide;
    margin: 0 auto 4px auto;
    width: 100%;
}

/*****************************************
 * Lists: bulleted, ordered and unordered
 ****************************************/
 @media screen {
    .mw-content-ltr ol {
        margin: 0.8em 0 0 2.1em;
        padding: 0;
    }
}

/******************************
 * Styles for mobile main page
 ******************************/

@media all and (min-width: 768px) {
	.lonsdale-mainpage-column {
		float: left;
		width: 50%;
	}
	.lonsdale-mainpage-column-first {
		padding-right: 10px;
	}
	.lonsdale-mainpage-column-second {
		padding-left: 10px;
	}
	.lonsdale-mainpage-sister-projects {
		text-align: center;
	}
}

/******************************
 * Columns for soldier pages
 ******************************/

@media all and (min-width: 768px) {
	.soldier-column {
		float:left;
		width:50%;
	}
	.soldier-column-first {
		padding-right:10px;
	}
	.soldier-column-second {
		padding-left:10px;
	}
}

/******************************
 * To make images responsive
 ******************************/
.res-img img {
	max-width:100%;
	height:auto;
	margin-bottom:0.2em;
	text-align:center;
	border-radius:10px;
}

.res-img-800 img {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width:100%;
	width:800px;
	height:auto;
	margin-bottom:0.2em;
	text-align:center;
	border-radius:10px;
}

.res-img-1000 img {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width:100%;
	width:1000px;
	height:auto;
	margin-bottom:0.2em;
	text-align:center;
	border-radius:10px;
}

.res-img-1200 img {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width:100%;
	width:1200px;
	height:auto;
	margin-bottom:0.2em;
	text-align:center;
	border-radius:10px;
}

/****************************************************
 * To hide wikisource proofread icons on index pages
 ****************************************************/
.mw-indicators.mw-body-content {
    display: none;
}

/******************************
 * Blockquotes
 ******************************/
blockquote {
	color: #222;
	border-left: 3px solid #ddd;
}

/******************************
 * Wikitables
 ******************************/
/*table.wikitable {
  background-color: #f8f9fa;
  color: #222;
  margin: 1em 0;
  border: 1px solid #a3a9b1;
  border-collapse: collapse;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
  border: 1px solid #a3a9b1;
  padding: 0.2em 0.4em;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
  background-color: #eaecf0;
  text-align: center;
}

table.wikitable > caption {
  font-weight: bold;
}*/

/******************************
 * Basictable of plain white
   for clean look general use
 ******************************/
 table.basictable {
  background-color: #fff;
  color: #444;
  margin: 0;
  border: 1px solid #fff;
  text-align: left;
}

table.basictable > tr > th,
table.basictable > tr > td,
table.basictable > * > tr > th,
table.basictable > * > tr > td {
  background-color: #fff;	
  border: 1px solid #fff;
  padding: 0.2em 0.4em;
  text-align: left;
}

table.basictable > tr > th,
table.basictable > * > tr > th {
  background-color: #fff;
  text-align: center;
}

table.basictable > caption {
  font-weight: bold;
}

/******************************
 * Infotable for infoboxes 
      on soldier pages
 ******************************/
 table.infotable {
  background-color: #f7f7f7;
  color: #444;
  margin: 0;
  border: 3px solid #fff;
  text-align: left;
}

table.infotable > tr > th,
table.infotable > tr > td,
table.infotable > * > tr > th,
table.infotable > * > tr > td {	
  background-color: #f7f7f7;
  border: none;
  padding: 0.15em;
  text-align: left;
}

table.infotable > tr > th,
table.infotable > * > tr > th {
  background-color: #1b9591;
  text-align: center;
  color: #fff;
  padding: 10px 5px;
}

table.infotable > caption {
  font-weight: bold;
}

/*********************************
 * Remtable for full-width tables 
    on soldier remembrance pages
 *********************************/
 table.remtable {
  background-color: #f7f7f7;
  color: #444;
  margin: 0;
  border: 1px solid #fff;
  text-align: left;
}

table.remtable > tr > th,
table.remtable > tr > td,
table.remtable > * > tr > th,
table.remtable > * > tr > td {
  background-color: #f7f7f7;	
  border: 1px solid #fff;
  padding: 0.2em 0.4em;
  text-align: left;
}

table.remtable > tr > th,
table.remtable > * > tr > th {
  background-color: #f7f7f7;
  text-align: center;
}

table.remtable > caption {
  font-weight: bold;
}

/******************************
 * Pivot-table used on the 
  transcribing projects page
 ******************************/
 table.pivot-table {
  background-color: #f2f2f2;
  color: #444;
  margin: 1em 0;
  border: 1px solid #fff;
  text-align: center;
}

table.pivot-table > tr > th,
table.pivot-table > tr > td,
table.pivot-table > * > tr > th,
table.pivot-table > * > tr > td {	
  border: 2px solid #fff;
  padding: 0.4em;
  text-align: center;
}

table.pivot-table > tr > th,
table.pivot-table > * > tr > th {
  background-color: #517398;
  text-align: center;
  color: #fff;
  padding: 10px 5px;
}

table.pivot-table > caption {
  font-weight: bold;
}

/******************************
 * diarytable used on war
 diary transcriptions pages
 ******************************/
 table.diarytable {
  background-color: #f2f2f2;
  color: #444;
  margin: 1em 0;
  border: 1px solid #fff;
  text-align: center;
}

table.diarytable > tr > th,
table.diarytable > tr > td,
table.diarytable > * > tr > th,
table.diarytable > * > tr > td {	
  border: 2px solid #fff;
  padding: 0.3em;
  text-align: center;
}

table.diarytable > tr > th,
table.diarytable > * > tr > th {
  background-color: #444;
  text-align: center;
  color: #fff;
  padding: 10px 5px;
}

table.diarytable > caption {
  font-weight: bold;
}

/******************************
 * Great War periodicals table
 ******************************/
 table.gwptable {
  background-color: #f8f9fa;
  color: #444;
  margin: 1em 0;
  border: 1px solid #fff;
  text-align: center;
}

table.gwptable > tr > th,
table.gwptable > tr > td,
table.gwptable > * > tr > th,
table.gwptable > * > tr > td {	
  border: 1px solid #fff;
  padding: 0.2em 0.4em;
  text-align: center;
}

table.gwptable > tr > th,
table.gwptable > * > tr > th {
  background-color: #eaecf0;
  text-align: center;
}

table.gwptable > caption {
  font-weight: bold;
}

/******************************
 * Page Index table
 ******************************/
 table.page-index-table {
  background-color: #f8f9fa;
  color: #444;
  margin: 1em 0;
  border: 1px solid #fff;
  text-align: center;
}

table.page-index-table > tr > th,
table.page-index-table > tr > td,
table.page-index-table > * > tr > th,
table.page-index-table > * > tr > td {	
  border: 1px solid #fff;
  padding: 0.2em 0.4em;
  text-align: center;
}

table.page-index-table > tr > th,
table.page-index-table > * > tr > th {
  background-color: #eaecf0;
  text-align: center;
}

table.page-index-table > caption {
  font-weight: bold;
}

/******************************
 * Roll of Honour table
 ******************************/
 table.rohtable {
  background-color: #f2f2f2;
  color: #444;
  margin: 1em 0;
  border: 1px solid #fff;
  text-align: left;
}

table.rohtable > tr > th,
table.rohtable > tr > td,
table.rohtable > * > tr > th,
table.rohtable > * > tr > td {	
  border: 2px solid #fff;
  padding: 0.4em;
  text-align: left;
}

table.rohtable > tr > th,
table.rohtable > * > tr > th {
  background-color: #50ab8a;
  text-align: center;
  color: #fff;
  padding: 10px 5px;
}

table.rohtable > caption {
  font-weight: bold;
}

/* CSS used on MediaWiki.org */
.mainpage_row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -5px 0 -5px;
}
.mainpage_box {
	flex: 1;
	margin: 5px;
	min-width: 210px;
	border: 1px solid #CCC;
	padding: 0 10px 10px 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box h3 {
	/* Reset padding so is equal across skins */
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
}
/* Set padding left only if headanchor gadget is not enabled */
.mainpage_box h3:not(.tpl-vheadanchor-heading) {
	padding-left: 0;
}
.mainpage_box h3 .header_icon {
	float: left;
	margin-right: 5px;
}
.mainpage_box .items {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
}
.mainpage_box p:last-child {
	margin-bottom: 0;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}

/***************************************
 * Banner and photo slider on main page
 ***************************************/
.banner-image {
    position: relative;
    overflow: hidden;
    max-width: 1125px; 
    height: auto;
    margin-bottom: .6em;
}
.banner-image img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}
.banner-box-wide {
    width: 80%
}
.banner-box-left,
.banner-box-right {
	padding: 8px 7px;
	background: rgb(16,16,16);
	background: rgba(0,0,0,0.3);
	border-radius: 4px;
	width: 40%;
}
.banner-box-left {
    left: 3%;
    text-align: left;
}
.banner-box-right {
    right: 3%;
    text-align: right;
}
.mainpage-shadowbox {
	color: white;
	background: rgb(16,16,16);
	background: rgba(0,0,0,0.3);
	border-radius: 4px;
}
.mainpage-shadowbox h2, .mainpage-shadowbox h3 {
	color: white;
	border:none;
	font-family: sans-serif;
    line-height: 1.2em;
	margin:0;
}
.mainpage-shadowbox h2 {
	font-size: 190%;
}
.mainpage-shadowbox h3 {
	font-size: 150%;
	padding: 0;
}
#mainpage-maplinks a, .mainpage-shadowbox a {
	color: white;
	font-weight: bold;
}
.banner-box-2 {
    position: absolute;
    z-index: 2;
    margin-top: 2em;
    min-width: 20em;
}
.banner-box-2 .quote {
    font-size: 90%;
    line-height: 1.2em;
}

/******************************
 * Collapsible elements
 ******************************/
.mw-collapsible-toggle-default::before {
    content: '(';
}
.mw-collapsible-toggle-default::after {
    content: ')';
}
.mw-collapsible-toggle {
    float: right;
    padding: 2px 5px;
}

/**************************************************
 * Styling for the timelines and on this day pages
 *************************************************/
table.timeline, table.timeline tbody {
    display: block;
}

table.timeline tr {
	position: relative;
	margin-left: 8px;
	padding: 5px 20px 5px 12px;
    display: flex;
    flex-direction: column;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

table.timeline tr:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    background-color: #f7f7f7;
}

table.timeline tr td {
    /*font-size: 1rem;*/
    /*font-weight: var( --font-weight-semibold );*/
    color: #202122;
    padding: 0 10px;
}

table.timeline tr td:first-child:before {
	content: "";
    width: 8px;
    height: 8px;
    display: block;
    background-color: #72777d;
    border-radius: 100%;
    position: absolute;
    left: -3.5px;
    margin-top: 8px;
}

/*table.timeline tr td {
	padding: 0;
}*/

table.timeline tr + tr {
	border-top: 0;
}

/**************************************************
 * Styling for responsive flex boxes
 *************************************************/
/* * {
  box-sizing: border-box;
} */

.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-item-1 {
  /*background-color: ;*/
  border:1px solid #f3f2f2;
  border-radius: 8px;
  box-shadow: 0 3px 6px #f2f2f2;
  padding: 10px;
  margin: 5px;
  flex: 33.3%;
  box-sizing: border-box;
}

.flex-item-2 {
  /*background-color: ;*/
  border:1px solid #f3f2f2;
  border-radius: 8px;
  box-shadow: 0 3px 6px #f2f2f2;
  padding: 10px;
  margin: 5px;
  flex: 33.3%;
  box-sizing: border-box;
}

.flex-item-3 {
  /*background-color: ;*/
  border:1px solid #f3f2f2;
  border-radius: 8px;
  box-shadow: 0 3px 6px #f2f2f2;
  padding: 10px;
  margin: 5px;
  flex: 33.3%;
  box-sizing: border-box;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 900px) {
  .flex-container {
    flex-direction: column;
  }
}

/*********************************************************
 * Styling for a responsive image gallery with 4 coloumns
 *********************************************************/
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 5px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 23%;
  padding: 0 5px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 48%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.