MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary Tag: Manual revert |
||
| (115 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* JUSTIFY ALL TEXT IN CONTENT AREA */ | /* JUSTIFY ALL TEXT IN CONTENT AREA */ | ||
#mw-content-text { | .ns-0 #mw-content-text, | ||
.ns-10 #mw-content-text, | |||
.ns-12 #mw-content-text, | |||
.ns-100 #mw-content-text { | |||
text-align: justify; | text-align: justify; | ||
} | } | ||
| Line 9: | Line 12: | ||
} | } | ||
/* | h1, h2, h3, h4, h5 { | ||
text-align: left !important; | |||
} | |||
/* SET LEVEL 3 HEADING STYLE */ | |||
h3 { | |||
font-family: Georgia, serif !important; | |||
font-weight: normal !important; | |||
font-size: 1.25em !important; | |||
border-bottom: 1px solid #a2a9b1 !important; | |||
} | } | ||
/* INFOBOX STYLING */ | /* INFOBOX STYLING */ | ||
.infobox { | .infobox { | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
padding: 0.5em; /* Keep other padding for now */ | padding: 0.5em; /* Keep other padding for now */ | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
.infobox-float { | |||
width: 300px; | |||
float: right; | |||
clear: right; | |||
display: inline-block; | display: inline-block; | ||
position: relative; | position: relative; | ||
top: 1.5em; | top: 1.5em; | ||
margin: -1.5em 0 1.5em 1em; | |||
} | } | ||
| Line 72: | Line 86: | ||
} | } | ||
.infobox-data-row th { | .infobox-data-row th { | ||
padding: 0.1em; | padding: 0.1em; | ||
vertical-align: top; | vertical-align: top; | ||
width: 30%; | width: 30%; | ||
text-align: left; | text-align: left; | ||
} | } | ||
| Line 87: | Line 100: | ||
/* CITATIONS CUSTOMIZATIONS */ | /* CITATIONS CUSTOMIZATIONS */ | ||
/* Remove brackets around superscript citation numbers | /* Remove brackets around superscript citation numbers | ||
.reference .cite-bracket { font-size: 0; } | .reference .cite-bracket { font-size: 0; } */ | ||
/* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */ | /* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */ | ||
| Line 100: | Line 113: | ||
font-weight: bold; /* Make letters bold */ | font-weight: bold; /* Make letters bold */ | ||
font-style: italic; /* Make letters italic */ | font-style: italic; /* Make letters italic */ | ||
} | |||
/* HIDE ORIGINAL REVISION NOTICE WHEN USING THE TIME MACHINE */ | |||
#mw-content-subtitle > .mw-revision { | |||
display: none !important; | |||
} | } | ||
| Line 159: | Line 177: | ||
.editorial-notation-tooltip-box { | .editorial-notation-tooltip-box { | ||
position: absolute; | position: absolute; | ||
background-color: # | max-width: 500px; | ||
background-color: #e7f1fd; | |||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
padding: 5px; | padding: 5px; | ||
| Line 167: | Line 186: | ||
display: none; | display: none; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
} | |||
.editorial-notation-tooltip span { | |||
cursor: help; | |||
text-decoration: none; | |||
} | |||
.editorial-notation-tooltip span:hover { | |||
text-decoration: underline; | |||
} | } | ||
| Line 173: | Line 201: | ||
.calendar th { | .calendar th { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
/* TEMPLATE:ART INFOBOX STYLING */ | |||
.art-infobox { | |||
display: inline-block; | |||
max-width: 50%; | |||
background: #f8f9fa; | |||
border: 1px solid #aaa; | |||
padding: 0.7em; | |||
vertical-align: top; | |||
box-sizing: border-box; | |||
float: none; | |||
clear: none; | |||
position: static; | |||
top: auto; | |||
} | |||
.art-infobox-table { | |||
width: 100%; | |||
border-spacing: 0; | |||
margin: 0; | |||
background-color: #f8f9fa; | |||
} | |||
.art-infobox th { | |||
vertical-align: top; | |||
padding-right: 0.5em; | |||
} | |||
/* ENSURE IMAGES FIT MOBILE SCREENS */ | |||
.thumbinner { max-width: 80vw; } | |||
.thumbimage { max-width: 80vw; height: auto; } | |||
/* PREVENT LOADING INDICATOR FROM BOUNCING THE WHOLE PAGE */ | |||
.mw-indicators.mw-preview-loading-elements { | |||
display: none !important; | |||
} | |||
#editlock { | |||
background-color: #e7f1fd; | |||
} | |||
/* Hide Privacy Policy link in Vector 2022 footer */ | |||
#footer-places-privacy { | |||
display: none !important; /* Use !important just in case of specificity issues */ | |||
} | |||
/* Hide Disclaimers link in Vector 2022 footer */ | |||
#footer-places-disclaimers { | |||
display: none !important; /* Use !important just in case of specificity issues */ | |||
} | |||
/* ConfirmEdit QuestyCaptcha -- on Create Account */ | |||
.mw-htmlform-field-HTMLInfoField .cdx-field__control { | |||
color:green; | |||
font-weight:bold; | |||
font-size:105%; | |||
font-style:italic; | |||
} | } | ||