MediaWiki:Common.css: Difference between revisions
(add my own styling back after import) |
(adding res-img-700 for maximum image size of 700px) |
||
(29 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
|||
/****************************** |
/****************************** |
||
* Hide items on main page |
* Hide items on main page |
||
Line 9: | Line 10: | ||
/****************************** |
/****************************** |
||
* Hide category header 3 |
|||
* Changing the tagline |
|||
******************************/ |
******************************/ |
||
.mw-category-generated h3 { |
|||
#siteSub { |
|||
display: none; |
|||
font-weight:normal; |
|||
font-size:90%; |
|||
} |
} |
||
/* The transcription progress bar */ |
|||
/****************************** |
|||
.pr_quality { |
|||
* Changing the font family |
|||
width:20%; |
|||
******************************/ |
|||
border-spacing: 1px; |
|||
#bodyContent { |
|||
border: 1px solid #ccc; |
|||
font-family: 'Raleway', sans-serif; |
|||
font-size: |
font-size: 1.5em; |
||
font-weight:400; |
|||
} |
|||
.firstHeading { |
|||
font-family: 'Helvetica Neue', sans-serif; |
|||
} |
} |
||
#contentSub { |
|||
h1, h2, h3, h4, h5, h6 { |
|||
margin: 0 0 1.5em 0; |
|||
font-family: 'Times', serif; |
|||
line-height: 1em; |
|||
color: #4c4c4c; |
|||
} |
} |
||
#navigationHeader { |
|||
p { |
|||
display: table; |
|||
border-collapse: collapse; |
|||
border-spacing: 0; |
|||
empty-cells: hide; |
|||
font-family: 'Raleway', sans-serif; |
|||
margin: 0 auto 4px auto; |
|||
width: 100%; |
|||
} |
} |
||
/***************************************** |
|||
a { |
|||
* Lists: bulleted, ordered and unordered |
|||
font-family: 'Raleway', sans-serif; |
|||
****************************************/ |
|||
} |
|||
@media screen { |
|||
.mw-content-ltr ol { |
|||
li { |
|||
margin: 0.8em 0 0 2.1em; |
|||
padding: 0; |
|||
} |
|||
} |
|||
/****************************** |
|||
* Font-size in text editor |
|||
******************************/ |
|||
#wpTextbox1 { |
|||
font-size:1.15em; |
|||
} |
|||
/****************************** |
|||
* Make references smaller |
|||
******************************/ |
|||
ol.references, |
|||
div.reflist, |
|||
div.refbegin { |
|||
font-size: 90%; /* Default font-size */ |
|||
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 */ |
|||
list-style-type: inherit; /* Enable custom list style types */ |
|||
} |
|||
/****************************** |
|||
* Footer image & positioning |
|||
******************************/ |
|||
div#footer { |
|||
background-image: url(https://static.miraheze.org/thelonsdalebattalionwiki/d/da/Header-silhouette.png); |
|||
background-repeat: repeat-x; |
|||
background-position: 100% 100%; /*100% 120%*/ |
|||
background-color: #ffffff; |
|||
height: 22em; /*18em*/ |
|||
margin: 0; |
|||
padding: .5em 0 0 0; |
|||
} |
|||
#footer #footer-icons { |
|||
margin-top:14.6em; |
|||
margin-right: .5em; |
|||
} |
} |
||
Line 103: | Line 57: | ||
} |
} |
||
.lonsdale-mainpage-column-first { |
.lonsdale-mainpage-column-first { |
||
padding-right: |
padding-right: 10px; |
||
} |
} |
||
.lonsdale-mainpage-column-second { |
.lonsdale-mainpage-column-second { |
||
padding-left: |
padding-left: 10px; |
||
} |
} |
||
.lonsdale-mainpage-sister-projects { |
.lonsdale-mainpage-sister-projects { |
||
Line 113: | Line 67: | ||
} |
} |
||
/****************************** |
|||
/* Default style for navigation boxes */ |
|||
* Columns for soldier pages |
|||
.navbox { /* Navbox container style */ |
|||
******************************/ |
|||
box-sizing: border-box; |
|||
border: 1px solid #aaa; |
|||
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: #fdfdfd; /* Background color */ |
|||
} |
|||
.navbox-list { |
|||
line-height: 1.5em; |
|||
border-color: #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 */ |
|||
} |
|||
@media all and (min-width: 768px) { |
|||
/* Default styling for Navbar template */ |
|||
.soldier-column { |
|||
.navbar { |
|||
float:left; |
|||
display: inline; |
|||
width:50%; |
|||
font-size: 88%; |
|||
} |
|||
font-weight: normal; |
|||
.soldier-column-first { |
|||
} |
|||
padding-right:10px; |
|||
.navbar ul { |
|||
} |
|||
display: inline; |
|||
.soldier-column-second { |
|||
white-space: nowrap; |
|||
padding-left:10px; |
|||
} |
|||
} |
|||
.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; |
|||
width: 6em; |
|||
} |
|||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript |
|||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ |
|||
.collapseButton { |
|||
/* @noflip */ |
|||
float: right; |
|||
font-weight: normal; |
|||
/* @noflip */ |
|||
margin-left: 0.5em; |
|||
/* @noflip */ |
|||
text-align: right; |
|||
width: auto; |
|||
} |
|||
/* In navboxes, the show/hide button balances the v·d·e links |
|||
from [[Template:Navbar]], so they need to be the same width. */ |
|||
.navbox .collapseButton { |
|||
width: 6em; |
|||
} |
|||
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ |
|||
.mw-collapsible-toggle { |
|||
font-weight: normal; |
|||
/* @noflip */ |
|||
text-align: right; |
|||
} |
|||
.navbox .mw-collapsible-toggle { |
|||
width: 6em; |
|||
} |
} |
||
/****************************** |
/****************************** |
||
* To make images responsive |
|||
* Bullets |
|||
******************************/ |
******************************/ |
||
.res-img img { |
|||
ul { |
|||
max-width:100%; |
|||
list-style-type: disc; |
|||
height:auto; |
|||
list-style-image: none; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
.res-img-600 img { |
|||
/***************************** |
|||
display: block; |
|||
* Top Bar Colour |
|||
margin-left: auto; |
|||
******************************/ |
|||
margin-right: auto; |
|||
#mw-page-base { |
|||
max-width:100%; |
|||
background-color: #444444 !important; |
|||
width:600px; |
|||
background-image: none; |
|||
height:auto; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
.res-img-700 img { |
|||
@media (max-width:768px) { |
|||
display: block; |
|||
#mw-page-base { |
|||
margin-left: auto; |
|||
background-color: #444444; |
|||
margin-right: auto; |
|||
} |
|||
max-width:100%; |
|||
width:700px; |
|||
height:auto; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
.res-img-800 img { |
|||
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { |
|||
display: block; |
|||
#mw-page-base { |
|||
margin-left: auto; |
|||
background-color: #444444; |
|||
margin-right: auto; |
|||
} |
|||
max-width:100%; |
|||
width:800px; |
|||
height:auto; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
.res-img-1000 img { |
|||
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { |
|||
display: block; |
|||
#mw-page-base { |
|||
margin-left: auto; |
|||
background-color: #444444; |
|||
margin-right: auto; |
|||
} |
|||
max-width:100%; |
|||
width:1000px; |
|||
height:auto; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
.res-img-1200 img { |
|||
div.vectorTabs a:hover { |
|||
display: block; |
|||
background-color: #282828; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
max-width:100%; |
|||
width:1200px; |
|||
height:auto; |
|||
margin-bottom:0.2em; |
|||
text-align:center; |
|||
border-radius:10px; |
|||
} |
} |
||
/**************************************************** |
|||
div.onhoverbg:hover { |
|||
* To hide wikisource proofread icons on index pages |
|||
background-color: #282828; |
|||
****************************************************/ |
|||
.mw-indicators.mw-body-content { |
|||
display: none; |
|||
} |
} |
||
/****************************** |
|||
img.downarrow:hover{ |
|||
* Blockquotes |
|||
background-color: #282828; |
|||
******************************/ |
|||
blockquote { |
|||
color: #222; |
|||
border-left: 3px solid #ddd; |
|||
} |
} |
||
/****************************** |
|||
div.vectorMenu:hover h5 a { |
|||
* Wikitables |
|||
background-color: #282828; |
|||
******************************/ |
|||
/*table.wikitable { |
|||
background-color: #f8f9fa; |
|||
color: #222; |
|||
margin: 1em 0; |
|||
border: 1px solid #a3a9b1; |
|||
border-collapse: collapse; |
|||
} |
} |
||
table.wikitable > tr > th, |
|||
div.vectorMenu h5 a { |
|||
table.wikitable > tr > td, |
|||
background-color: #444444; |
|||
table.wikitable > * > tr > th, |
|||
table.wikitable > * > tr > td { |
|||
border: 1px solid #a3a9b1; |
|||
padding: 0.2em 0.4em; |
|||
} |
} |
||
table.wikitable > tr > th, |
|||
div.vectorMenu:hover { |
|||
table.wikitable > * > tr > th { |
|||
background-color: #282828; |
|||
background-color: #eaecf0; |
|||
text-align: center; |
|||
} |
} |
||
table.wikitable > caption { |
|||
div.vectorMenu ul { |
|||
font-weight: bold; |
|||
border: solid 2px #444444; |
|||
}*/ |
|||
border-top: none; |
|||
/****************************** |
|||
* 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, |
|||
@media (max-width: 768px) { |
|||
table.basictable > tr > td, |
|||
#hamburgerIcon:hover { |
|||
table.basictable > * > tr > th, |
|||
background-color: #282828; |
|||
table.basictable > * > tr > td { |
|||
background-color: #fff; |
|||
border: 1px solid #fff; |
|||
padding: 0.2em 0.4em; |
|||
text-align: left; |
|||
} |
} |
||
table.basictable > tr > th, |
|||
img.editbutton:hover { |
|||
table.basictable > * > tr > th { |
|||
background-color: #282828; |
|||
background-color: #fff; |
|||
text-align: center; |
|||
} |
} |
||
table.basictable > caption { |
|||
div.actionmenu ul { |
|||
font-weight: bold; |
|||
border-top: solid 2px #444444; |
|||
} |
} |
||
/****************************** |
|||
#left-navigation { |
|||
* Infotable for infoboxes |
|||
background-color: #444444; |
|||
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, |
|||
* Vertical center search box |
|||
table.infotable > * > tr > th, |
|||
******************************/ |
|||
table.infotable > * > tr > td { |
|||
#simpleSearch { |
|||
background-color: #f7f7f7; |
|||
margin-top: 0.5em; |
|||
border: none; |
|||
padding: 0.15em; |
|||
text-align: left; |
|||
} |
} |
||
table.infotable > tr > th, |
|||
/***************************** |
|||
table.infotable > * > tr > th { |
|||
* Category links |
|||
background-color: #1b9591; |
|||
******************************/ |
|||
text-align: center; |
|||
#catlinks { |
|||
color: #fff; |
|||
margin-top:0.5em; |
|||
padding: 10px 5px; |
|||
background-color:#e6e4e1; |
|||
} |
} |
||
table.infotable > caption { |
|||
/***************************** |
|||
font-weight: bold; |
|||
* Clickable table cell |
|||
******************************/ |
|||
.clickablecell a { |
|||
display:block; |
|||
width:100%; |
|||
} |
} |
||
/***************************** |
/********************************* |
||
* Remtable for full-width tables |
|||
* Fix google maps in responsive skin |
|||
on soldier remembrance pages |
|||
******************************/ |
|||
*********************************/ |
|||
.gm-style img { |
|||
table.remtable { |
|||
max-width: none; |
|||
background-color: #f7f7f7; |
|||
color: #444; |
|||
margin: 0; |
|||
border: 1px solid #fff; |
|||
text-align: left; |
|||
} |
} |
||
table.remtable > tr > th, |
|||
/***************************** |
|||
table.remtable > tr > td, |
|||
* Styling main title |
|||
table.remtable > * > tr > th, |
|||
******************************/ |
|||
table.remtable > * > tr > td { |
|||
.title-name { |
|||
background-color: #f7f7f7; |
|||
font-size: 18px; |
|||
border: 1px solid #fff; |
|||
font-weight: 200; |
|||
padding: 0.2em 0.4em; |
|||
text-align: left; |
|||
} |
} |
||
table.remtable > tr > th, |
|||
/***************************** |
|||
table.remtable > * > tr > th { |
|||
* Following from Wikipedia to make other stuff work correctly |
|||
background-color: #f7f7f7; |
|||
******************************/ |
|||
text-align: center; |
|||
/* Reset italic styling set by user agent */ |
|||
cite, dfn { |
|||
font-style: inherit; |
|||
} |
} |
||
table.remtable > caption { |
|||
/* Straight quote marks for <q> */ |
|||
font-weight: bold; |
|||
q { |
|||
quotes: '"' '"' "'" "'"; |
|||
} |
} |
||
/****************************** |
|||
/* Avoid collision of blockquote with floating elements by swapping margin and padding */ |
|||
* Pivot-table used on the |
|||
blockquote { |
|||
transcribing projects page |
|||
overflow: hidden; |
|||
******************************/ |
|||
margin: 1em 0; |
|||
table.pivot-table { |
|||
padding: 0 40px; |
|||
background-color: #f2f2f2; |
|||
color: #444; |
|||
margin: 1em 0; |
|||
border: 1px solid #fff; |
|||
text-align: center; |
|||
} |
} |
||
table.pivot-table > tr > th, |
|||
/* Prevent the 'double bold' bug in Firefox when using DirectWrite */ |
|||
table.pivot-table > tr > td, |
|||
strong.selflink { |
|||
table.pivot-table > * > tr > th, |
|||
font-weight: 700; |
|||
table.pivot-table > * > tr > td { |
|||
border: 2px solid #fff; |
|||
padding: 0.4em; |
|||
text-align: center; |
|||
} |
} |
||
table.pivot-table > tr > th, |
|||
/* Consistent size for <small>, <sub> and <sup> */ |
|||
table.pivot-table > * > tr > th { |
|||
small { |
|||
background-color: #517398; |
|||
text-align: center; |
|||
} |
|||
color: #fff; |
|||
.mw-body-content sub, |
|||
padding: 10px 5px; |
|||
.mw-body-content sup, |
|||
span.reference /* for Parsoid */ { |
|||
font-size: 80%; |
|||
} |
} |
||
table.pivot-table > caption { |
|||
/* Same spacing for indented and unidented paragraphs on talk pages */ |
|||
font-weight: bold; |
|||
.ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;} |
|||
/* Main page fixes */ |
|||
#interwiki-completelist { |
|||
font-weight: bold; |
|||
} |
} |
||
/****************************** |
|||
/* Reduce page jumps by hiding collapsed/dismissed content */ |
|||
* diarytable used on war |
|||
.client-js .mw-special-Watchlist #watchlist-message, |
|||
diary transcriptions pages |
|||
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) { |
|||
******************************/ |
|||
display: none; |
|||
table.diarytable { |
|||
background-color: #f2f2f2; |
|||
color: #444; |
|||
margin: 1em 0; |
|||
border: 1px solid #fff; |
|||
text-align: center; |
|||
} |
} |
||
table.diarytable > tr > th, |
|||
/* Tone down 'Changed since last visit' colors */ |
|||
table.diarytable > tr > td, |
|||
span.updatedmarker { |
|||
table.diarytable > * > tr > th, |
|||
background-color: transparent; |
|||
table.diarytable > * > tr > td { |
|||
color: #006400; |
|||
border: 2px solid #fff; |
|||
padding: 0.3em; |
|||
text-align: center; |
|||
} |
} |
||
table.diarytable > tr > th, |
|||
/* Edit window toolbar */ |
|||
table.diarytable > * > tr > th { |
|||
#toolbar { |
|||
background-color: #444; |
|||
height: 22px; |
|||
text-align: center; |
|||
color: #fff; |
|||
padding: 10px 5px; |
|||
} |
} |
||
table.diarytable > caption { |
|||
/* Hide charinsert base for those not using the gadget */ |
|||
font-weight: bold; |
|||
#editpage-specialchars { |
|||
display: none; |
|||
} |
} |
||
/****************************** |
|||
/* Highlight linked elements (such as clicked references) in blue */ |
|||
* Great War periodicals table |
|||
body.action-info .mw-body-content :target, |
|||
******************************/ |
|||
.citation:target { |
|||
table.gwptable { |
|||
background-color: #DEF; /* Fallback */ |
|||
background-color: #f8f9fa; |
|||
color: #444; |
|||
margin: 1em 0; |
|||
border: 1px solid #fff; |
|||
text-align: center; |
|||
} |
} |
||
table.gwptable > tr > th, |
|||
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */ |
|||
table.gwptable > tr > td, |
|||
.citation { |
|||
table.gwptable > * > tr > th, |
|||
word-wrap: break-word; |
|||
table.gwptable > * > tr > td { |
|||
border: 1px solid #fff; |
|||
padding: 0.2em 0.4em; |
|||
text-align: center; |
|||
} |
} |
||
table.gwptable > tr > th, |
|||
/* For linked citation numbers and document IDs, where the number need not be shown |
|||
table.gwptable > * > tr > th { |
|||
on a screen or a handheld, but should be included in the printed version */ |
|||
background-color: #eaecf0; |
|||
@media screen, handheld { |
|||
text-align: center; |
|||
.citation .printonly { |
|||
display: none; |
|||
} |
|||
} |
} |
||
table.gwptable > caption { |
|||
/* Make the list of references smaller */ |
|||
font-weight: bold; |
|||
ol.references, |
|||
div.reflist, |
|||
div.refbegin { |
|||
font-size: 90%; /* Default font-size */ |
|||
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 */ |
|||
* Page Index table |
|||
sup.reference { |
|||
******************************/ |
|||
font-weight: normal; |
|||
table.page-index-table { |
|||
font-style: normal; |
|||
background-color: #f8f9fa; |
|||
color: #444; |
|||
margin: 1em 0; |
|||
border: 1px solid #fff; |
|||
text-align: center; |
|||
} |
} |
||
table.page-index-table > tr > th, |
|||
/* Allow hidden ref errors to be shown by user CSS */ |
|||
table.page-index-table > tr > td, |
|||
span.brokenref { |
|||
table.page-index-table > * > tr > th, |
|||
display: none; |
|||
table.page-index-table > * > tr > td { |
|||
border: 1px solid #fff; |
|||
padding: 0.2em 0.4em; |
|||
text-align: center; |
|||
} |
} |
||
table.page-index-table > tr > th, |
|||
/* Hanging indentation for Template:Refbegin */ |
|||
table.page-index-table > * > 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.page-index-table > 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 */ |
|||
* Roll of Honour table |
|||
.nocolbreak, |
|||
******************************/ |
|||
div.columns li, |
|||
table.rohtable { |
|||
div.columns dd dd { |
|||
background-color: #f2f2f2; |
|||
-webkit-column-break-inside: avoid; |
|||
color: #444; |
|||
page-break-inside: avoid; |
|||
margin: 1em 0; |
|||
break-inside: avoid-column; |
|||
border: 1px solid #fff; |
|||
text-align: left; |
|||
} |
} |
||
table.rohtable > tr > th, |
|||
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */ |
|||
table.rohtable > tr > td, |
|||
.flowlist ul { |
|||
table.rohtable > * > tr > th, |
|||
overflow-x: hidden; |
|||
table.rohtable > * > tr > td { |
|||
margin-left: 0; |
|||
border: 2px solid #fff; |
|||
padding-left: 1.6em; |
|||
padding: 0.4em; |
|||
} |
|||
text-align: left; |
|||
.flowlist ol { |
|||
overflow-x: hidden; |
|||
margin-left: 0; |
|||
padding-left: 3.2em; |
|||
} |
|||
.flowlist dl { |
|||
overflow-x: hidden; |
|||
} |
} |
||
table.rohtable > tr > th, |
|||
/* Style for horizontal lists (separator following item). |
|||
table.rohtable > * > tr > th { |
|||
@source mediawiki.org/wiki/Snippets/Horizontal_lists |
|||
background-color: #50ab8a; |
|||
@revision 8 (2016-05-21) |
|||
text-align: center; |
|||
@author [[User:Edokter]] |
|||
color: #fff; |
|||
*/ |
|||
padding: 10px 5px; |
|||
.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.rohtable > 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; |
|||
} |
} |
||
/* |
/* CSS used on MediaWiki.org */ |
||
.mainpage_row { |
|||
.navbox { /* Navbox container style */ |
|||
display: flex; |
|||
box-sizing: border-box; |
|||
flex-direction: row; |
|||
border: 1px solid #a2a9b1; |
|||
flex-flow: row wrap; |
|||
width: 100%; |
|||
justify-content: space-between; |
|||
clear: both; |
|||
padding: 0; |
|||
font-size: 88%; |
|||
margin: 0 -5px 0 -5px; |
|||
text-align: center; |
|||
padding: 1px; |
|||
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ |
|||
} |
} |
||
.mainpage_box { |
|||
.navbox .navbox { |
|||
flex: 1; |
|||
margin-top: 0; /* No top margin for nested navboxes */ |
|||
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 { |
|||
.navbox + .navbox { |
|||
/* Reset padding so is equal across skins */ |
|||
margin-top: -1px; /* Single pixel border between adjacent navboxes */ |
|||
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 */ |
|||
.navbox-inner, |
|||
.mainpage_box h3:not(.tpl-vheadanchor-heading) { |
|||
.navbox-subgroup { |
|||
padding-left: 0; |
|||
width: 100%; |
|||
} |
} |
||
.mainpage_box h3 .header_icon { |
|||
.navbox-group, |
|||
float: left; |
|||
.navbox-title, |
|||
margin-right: 5px; |
|||
.navbox-abovebelow { |
|||
padding: 0.25em 1em; /* Title, group and above/below styles */ |
|||
line-height: 1.5em; |
|||
text-align: center; |
|||
} |
} |
||
.mainpage_box .items { |
|||
th.navbox-group { /* Group style */ |
|||
border-top: 1px solid #CCC; |
|||
white-space: nowrap; |
|||
padding-top: 0.5em; |
|||
/* @noflip */ |
|||
text-align: right; |
|||
} |
} |
||
.mainpage_box p:last-child { |
|||
.navbox, |
|||
margin-bottom: 0; |
|||
.navbox-subgroup { |
|||
background: #fdfdfd; /* Background color */ |
|||
} |
} |
||
.mainpage_boxcontents_small { |
|||
.navbox-list { |
|||
font-size: 95%; |
|||
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 */ |
|||
} |
} |
||
/*************************************** |
|||
/* Default styling for Navbar template */ |
|||
* Banner and photo slider on main page |
|||
.navbar { |
|||
***************************************/ |
|||
display: inline; |
|||
.banner-image { |
|||
font-size: 88%; |
|||
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 { |
|||
.mw-body-content .navbar ul { |
|||
width: 80% |
|||
} |
} |
||
.banner-box-left, |
|||
.navbar li { |
|||
.banner-box-right { |
|||
word-spacing: -0.125em; |
|||
padding: 8px 7px; |
|||
background: rgb(16,16,16); |
|||
background: rgba(0,0,0,0.3); |
|||
border-radius: 4px; |
|||
width: 40%; |
|||
} |
} |
||
.banner-box-left { |
|||
.navbar.mini li abbr[title] { |
|||
left: 3%; |
|||
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; |
text-align: left; |
||
/* @noflip */ |
|||
margin-right: 0.5em; |
|||
} |
} |
||
.banner-box-right { |
|||
right: 3%; |
|||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript |
|||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ |
|||
.collapseButton { |
|||
/* @noflip */ |
|||
float: right; |
|||
font-weight: normal; |
|||
/* @noflip */ |
|||
margin-left: 0.5em; |
|||
/* @noflip */ |
|||
text-align: right; |
text-align: right; |
||
width: auto; |
|||
} |
} |
||
.mainpage-shadowbox { |
|||
color: white; |
|||
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ |
|||
background: rgb(16,16,16); |
|||
.mw-parser-output .mw-collapsible-toggle { |
|||
background: rgba(0,0,0,0.3); |
|||
font-weight: normal; |
|||
border-radius: 4px; |
|||
/* @noflip */ |
|||
text-align: right; |
|||
padding-right: 0.2em; |
|||
padding-left: 0.2em; |
|||
} |
} |
||
.mainpage-shadowbox h2, .mainpage-shadowbox h3 { |
|||
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { |
|||
color: white; |
|||
/* @noflip */ |
|||
border:none; |
|||
font-family: sans-serif; |
|||
/* @noflip */ |
|||
line-height: 1.2em; |
|||
margin:0; |
|||
} |
} |
||
.mainpage-shadowbox h2 { |
|||
font-size: 190%; |
|||
/* Infobox template style */ |
|||
.infobox { |
|||
border: 1px solid #a2a9b1; |
|||
border-spacing: 3px; |
|||
background-color: #f8f9fa; |
|||
color: black; |
|||
/* @noflip */ |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
/* @noflip */ |
|||
float: right; |
|||
/* @noflip */ |
|||
clear: right; |
|||
font-size: 88%; |
|||
line-height: 1.5em; |
|||
} |
} |
||
.mainpage-shadowbox h3 { |
|||
.infobox caption { |
|||
font-size: 150%; |
|||
padding: 0; |
|||
font-weight: bold; |
|||
padding: 0.2em; |
|||
text-align: center; |
|||
} |
} |
||
#mainpage-maplinks a, .mainpage-shadowbox a { |
|||
.infobox td, |
|||
color: white; |
|||
.infobox th { |
|||
font-weight: bold; |
|||
vertical-align: top; |
|||
/* @noflip */ |
|||
text-align: left; |
|||
} |
} |
||
.banner-box-2 { |
|||
.infobox.bordered { |
|||
position: absolute; |
|||
z-index: 2; |
|||
margin-top: 2em; |
|||
min-width: 20em; |
|||
} |
} |
||
.banner-box-2 .quote { |
|||
.infobox.bordered td, |
|||
.infobox.bordered th { |
|||
border: 1px solid #a2a9b1; |
|||
} |
|||
.infobox.bordered .borderless td, |
|||
.infobox.bordered .borderless th { |
|||
border: 0; |
|||
} |
|||
.infobox.sisterproject { |
|||
width: 20em; |
|||
font-size: 90%; |
font-size: 90%; |
||
} |
|||
.infobox.standard-talk { |
|||
border: 1px solid #c0c090; |
|||
background-color: #f8eaba; |
|||
} |
|||
.infobox.standard-talk.bordered td, |
|||
.infobox.standard-talk.bordered th { |
|||
border: 1px solid #c0c090; |
|||
} |
|||
/* styles for bordered infobox with merged rows */ |
|||
.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, |
|||
.infobox.bordered .mergedrow th { |
|||
border: 0; |
|||
/* @noflip */ |
|||
border-right: 1px solid #a2a9b1; |
|||
} |
|||
/* Styles for geography infoboxes, eg countries, |
|||
country subdivisions, cities, etc. */ |
|||
.infobox.geography { |
|||
border-collapse: collapse; |
|||
line-height: 1.2em; |
line-height: 1.2em; |
||
font-size: 90%; |
|||
} |
} |
||
/****************************** |
|||
.infobox.geography td, |
|||
* Collapsible elements |
|||
.infobox.geography th { |
|||
******************************/ |
|||
border-top: 1px solid #a2a9b1; |
|||
.mw-collapsible-toggle-default::before { |
|||
padding: 0.4em 0.6em 0.4em 0.6em; |
|||
content: '('; |
|||
} |
} |
||
.mw-collapsible-toggle-default::after { |
|||
.infobox.geography .mergedtoprow td, |
|||
content: ')'; |
|||
.infobox.geography .mergedtoprow th { |
|||
border-top: 1px solid #a2a9b1; |
|||
padding: 0.4em 0.6em 0.2em 0.6em; |
|||
} |
} |
||
.mw-collapsible-toggle { |
|||
.infobox.geography .mergedrow td, |
|||
.infobox.geography .mergedrow th { |
|||
border: 0; |
|||
padding: 0 0.6em 0.2em 0.6em; |
|||
} |
|||
.infobox.geography .mergedbottomrow td, |
|||
.infobox.geography .mergedbottomrow th { |
|||
border-top: 0; |
|||
border-bottom: 1px solid #a2a9b1; |
|||
padding: 0 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .maptable td, |
|||
.infobox.geography .maptable th { |
|||
border: 0; |
|||
padding: 0; |
|||
} |
|||
/* Normal font styling for table row headers with scope="row" tag */ |
|||
.wikitable.plainrowheaders th[scope=row] { |
|||
font-weight: normal; |
|||
/* @noflip */ |
|||
text-align: left; |
|||
} |
|||
/* Lists in data cells are always left-aligned */ |
|||
.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]], |
|||
[[Template:Multi-listen_start]], [[Template:Video]], |
|||
[[Template:Multi-video_start]] */ |
|||
div.listenlist { |
|||
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent; |
|||
background-size: 30px; |
|||
padding-left: 40px; |
|||
} |
|||
/* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */ |
|||
table.mw-hiero-table td { |
|||
vertical-align: middle; |
|||
} |
|||
/* Style rules for media list templates */ |
|||
div.medialist { |
|||
min-height: 50px; |
|||
margin: 1em; |
|||
/* @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; |
|||
} |
|||
/* Change the external link icon to an Adobe icon for all PDF files |
|||
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]]) */ |
|||
div.columns-2 div.column { |
|||
/* @noflip */ |
|||
float: left; |
|||
width: 50%; |
|||
min-width: 300px; |
|||
} |
|||
div.columns-3 div.column { |
|||
/* @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; |
|||
} |
|||
/* Messagebox templates */ |
|||
.messagebox { |
|||
border: 1px solid #a2a9b1; |
|||
background-color: #f8f9fa; |
|||
width: 80%; |
|||
margin: 0 auto 1em auto; |
|||
padding: .2em; |
|||
} |
|||
.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; |
float: right; |
||
padding: 2px 5px; |
|||
/* @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; |
|||
} |
} |
||
/************************************************** |
|||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ |
|||
* Styling for the timelines and on this day pages |
|||
th.mbox-text, td.mbox-text { /* The message body cell(s) */ |
|||
*************************************************/ |
|||
border: none; |
|||
table.timeline, table.timeline tbody { |
|||
/* @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; |
|||
} |
|||
/* Article message box styles */ |
|||
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 { |
|||
/* @noflip */ |
|||
border-left: 10px solid #36c; /* Blue */ |
|||
} |
|||
table.ambox-speedy { |
|||
/* @noflip */ |
|||
border-left: 10px solid #b32424; /* Red */ |
|||
background: #fee7e6; /* Pink */ |
|||
} |
|||
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 */ |
|||
} |
|||
/* Image message box styles */ |
|||
table.imbox { |
|||
margin: 4px 10%; |
|||
border-collapse: collapse; |
|||
border: 3px solid #36c; /* Default "notice" blue */ |
|||
background: #fbfbfb; |
|||
} |
|||
.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 { |
|||
border: 3px solid #36c; /* Blue */ |
|||
} |
|||
table.imbox-speedy { |
|||
border: 3px solid #b32424; /* Red */ |
|||
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 */ |
|||
} |
|||
/* Category message box styles */ |
|||
table.cmbox { |
|||
margin: 3px 10%; |
|||
border-collapse: collapse; |
|||
border: 1px solid #a2a9b1; |
|||
background: #DFE8FF; /* Default "notice" blue */ |
|||
} |
|||
table.cmbox-notice { |
|||
background: #D8E8FF; /* Blue */ |
|||
} |
|||
table.cmbox-speedy { |
|||
margin-top: 4px; |
|||
margin-bottom: 4px; |
|||
border: 4px solid #b32424; /* Red */ |
|||
background: #FFDBDB; /* Pink */ |
|||
} |
|||
table.cmbox-delete { |
|||
background: #FFDBDB; /* Red */ |
|||
} |
|||
table.cmbox-content { |
|||
background: #FFE7CE; /* Orange */ |
|||
} |
|||
table.cmbox-style { |
|||
background: #FFF9DB; /* Yellow */ |
|||
} |
|||
table.cmbox-move { |
|||
background: #E4D8FF; /* Purple */ |
|||
} |
|||
table.cmbox-protection { |
|||
background: #EFEFE1; /* Gray-gold */ |
|||
} |
|||
/* 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 { |
|||
border: 1px solid #a2a9b1; /* Gray */ |
|||
} |
|||
table.ombox-speedy { |
|||
border: 2px solid #b32424; /* Red */ |
|||
background: #fee7e6; /* Pink */ |
|||
} |
|||
table.ombox-delete { |
|||
border: 2px solid #b32424; /* Red */ |
|||
} |
|||
table.ombox-content { |
|||
border: 1px solid #f28500; /* Orange */ |
|||
} |
|||
table.ombox-style { |
|||
border: 1px solid #fc3; /* Yellow */ |
|||
} |
|||
table.ombox-move { |
|||
border: 1px solid #9932cc; /* Purple */ |
|||
} |
|||
table.ombox-protection { |
|||
border: 2px solid #a2a9b1; /* Gray-gold */ |
|||
} |
|||
/* Talk page message box styles */ |
|||
table.tmbox { |
|||
margin: 4px 10%; |
|||
border-collapse: collapse; |
|||
border: 1px solid #c0c090; /* Default "notice" gray-brown */ |
|||
background: #f8eaba; |
|||
} |
|||
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ |
|||
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */ |
|||
width: 100%; /* For Safari and Opera */ |
|||
} |
|||
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ |
|||
line-height: 1.5em; /* also "nested", so reset styles that are */ |
|||
font-size: 100%; /* set in "mbox-small" above. */ |
|||
} |
|||
table.tmbox-speedy { |
|||
border: 2px solid #b32424; /* Red */ |
|||
background: #fee7e6; /* Pink */ |
|||
} |
|||
table.tmbox-delete { |
|||
border: 2px solid #b32424; /* Red */ |
|||
} |
|||
table.tmbox-content { |
|||
border: 2px solid #f28500; /* Orange */ |
|||
} |
|||
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 */ |
|||
table.dmbox { |
|||
clear: both; |
|||
margin: 0.9em 1em; |
|||
border-top: 1px solid #ccc; |
|||
border-bottom: 1px solid #ccc; |
|||
background: transparent; |
|||
} |
|||
/* 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 */ |
|||
} |
|||
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; |
|||
/* @noflip */ |
|||
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 */ |
|||
/* Hide the images */ |
|||
.compact-ambox table .mbox-image, |
|||
.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; |
|||
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; |
||
top: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
display: block; |
|||
width: 1px; |
width: 1px; |
||
background-color: #f7f7f7; |
|||
overflow: hidden; |
|||
} |
} |
||
table.timeline tr td { |
|||
/* Bold save button */ |
|||
/*font-size: 1rem;*/ |
|||
#wpSave { |
|||
font-weight: |
/*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: |
display: block; |
||
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; |
||
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 { |
|||
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; |
|||
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 { |
|||
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; |
|||
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 11:32, 28 June 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-600 img {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:600px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
.res-img-700 img {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:700px;
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%;
}
}