MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary Tag: Manual revert |
||
| (270 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* 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; | ||
} | } | ||
/* SET BACKGROUND COLOR TO WHITE */ | |||
background-color: white | :root { | ||
--background-color-base: white; | |||
} | } | ||
/* | h1, h2, h3, h4, h5 { | ||
/* Remove brackets around superscript citation numbers | text-align: left !important; | ||
.reference .cite-bracket { font-size: 0; } | } | ||
/* 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 { | |||
background: #f8f9fa; | |||
border: 1px solid #aaa; | |||
padding: 0.5em; /* Keep other padding for now */ | |||
vertical-align: top; | |||
} | |||
.infobox-float { | |||
width: 300px; | |||
float: right; | |||
clear: right; | |||
display: inline-block; | |||
position: relative; | |||
top: 1.5em; | |||
margin: -1.5em 0 1.5em 1em; | |||
} | |||
.infobox-table { | |||
width: 100%; | |||
border-spacing: 0; | |||
margin: 0; | |||
background-color: #f8f9fa; | |||
} | |||
.infobox-header { | |||
text-align: center; | |||
background-color: #f8f9fa; | |||
font-size: 120%; | |||
font-weight: bold; | |||
margin-top: -5em; /* Add a top margin */ | |||
margin-bottom: 0.1em; /* Add a bottom margin */ | |||
} | |||
.infobox-image-container { /* New class for the image container */ | |||
display: block; | |||
margin: 0.2em auto; /* Reduce top and bottom margin */ | |||
margin-top: 0.35em; | |||
margin-bottom: 0.5em; | |||
padding: 0; /* Remove padding */ | |||
background-color: #f8f9fa; | |||
text-align: center; /* Ensure image is centered within the container */ | |||
} | |||
.infobox-image { | |||
padding: 0; | |||
background-color: #f8f9fa; | |||
} | |||
.infobox-caption { | |||
text-align: center; | |||
font-size: 80%; | |||
color: #000000; | |||
background-color: #f8f9fa; | |||
padding: 0.1em 0; | |||
} | |||
/* Styling for data rows */ | |||
.infobox-data-row { | |||
background-color: #f8f9fa; | |||
} | |||
.infobox-data-row th { | |||
padding: 0.1em; | |||
vertical-align: top; | |||
width: 30%; | |||
text-align: left; | |||
} | |||
.infobox-data-row td { /* For the data cell */ | |||
text-align: left; | |||
vertical-align: top; | |||
padding: 0.1em; | |||
} | |||
/* CITATIONS CUSTOMIZATIONS */ | |||
/* Remove brackets around superscript citation numbers | |||
.reference .cite-bracket { font-size: 0; } */ | |||
/* | /* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */ | ||
.mw-cite-backlink > a { | .mw-cite-backlink > a { | ||
font-weight: bold; /* Make caret bold */ | font-weight: bold; /* Make caret bold */ | ||
| Line 18: | Line 109: | ||
} | } | ||
/* | /* TARGET THE LOWERCASE LETTERS (a, b, c, ...) IN MANY CITATION BACKLINKS */ | ||
.mw-cite-backlink > sup > a { | .mw-cite-backlink > sup > a { | ||
font-weight: bold; /* Make letters bold */ | font-weight: bold; /* Make letters bold */ | ||
| Line 24: | Line 115: | ||
} | } | ||
/* | /* HIDE ORIGINAL REVISION NOTICE WHEN USING THE TIME MACHINE */ | ||
#mw-content-subtitle > .mw-revision { | |||
display: none !important; | |||
} | |||
/* NOTICES DEFAULT APPEARANCE */ | |||
div.notice { | div.notice { | ||
text-align: center; | text-align: center; | ||
margin: 0. | margin: 0.3em auto; | ||
padding: 0.5em; | padding: 0.5em; | ||
width: auto; /* Let the width be set by the template */ | |||
box-sizing: border-box; | |||
} | } | ||
div.notice.quality { | div.notice.quality { | ||
font-style: italic; | |||
} | } | ||
img.notice { | img.notice { | ||
width: 1em; | |||
} | } | ||
| Line 53: | Line 151: | ||
} | } | ||
/* | /* NAVIGATION */ | ||
.navigation { | .navigation { | ||
display: block; | display: block; | ||
margin: 1em 40px; | margin: 1em 40px; | ||
font-style: italic; | font-style: italic; | ||
} | |||
/* Center the body of the dismissable notice */ | |||
.vector-sitenotice-container .mw-dismissable-notice-body { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
/* Ensure the dismissable notice has relative positioning for the button */ | |||
.vector-sitenotice-container .mw-dismissable-notice { | |||
position: relative; | |||
} | |||
/* HIDES TEMPLATE:NOTICE DISMISS BUTTON FROM ANONYMOUS USERS */ | |||
.user-logged-out .user-only-dismiss { | |||
display: none !important; | |||
} | |||
/*EDITORIAL NOTATION TOOLTIP STYLING*/ | |||
.editorial-notation-tooltip-box { | |||
position: absolute; | |||
max-width: 500px; | |||
background-color: #e7f1fd; | |||
border: 1px solid #ccc; | |||
padding: 5px; | |||
border-radius: 3px; | |||
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); | |||
z-index: 1000; | |||
display: none; | |||
font-size: 0.9em; | |||
} | |||
.editorial-notation-tooltip span { | |||
cursor: help; | |||
text-decoration: none; | |||
} | |||
.editorial-notation-tooltip span:hover { | |||
text-decoration: underline; | |||
} | |||
/* VERTICAL ALIGN CALENDAR TABLES */ | |||
.calendar td, | |||
.calendar th { | |||
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; | |||
} | } | ||
Latest revision as of 04:08, 1 July 2026
/* JUSTIFY ALL TEXT IN CONTENT AREA */
.ns-0 #mw-content-text,
.ns-10 #mw-content-text,
.ns-12 #mw-content-text,
.ns-100 #mw-content-text {
text-align: justify;
}
/* SET BACKGROUND COLOR TO WHITE */
:root {
--background-color-base: white;
}
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 {
background: #f8f9fa;
border: 1px solid #aaa;
padding: 0.5em; /* Keep other padding for now */
vertical-align: top;
}
.infobox-float {
width: 300px;
float: right;
clear: right;
display: inline-block;
position: relative;
top: 1.5em;
margin: -1.5em 0 1.5em 1em;
}
.infobox-table {
width: 100%;
border-spacing: 0;
margin: 0;
background-color: #f8f9fa;
}
.infobox-header {
text-align: center;
background-color: #f8f9fa;
font-size: 120%;
font-weight: bold;
margin-top: -5em; /* Add a top margin */
margin-bottom: 0.1em; /* Add a bottom margin */
}
.infobox-image-container { /* New class for the image container */
display: block;
margin: 0.2em auto; /* Reduce top and bottom margin */
margin-top: 0.35em;
margin-bottom: 0.5em;
padding: 0; /* Remove padding */
background-color: #f8f9fa;
text-align: center; /* Ensure image is centered within the container */
}
.infobox-image {
padding: 0;
background-color: #f8f9fa;
}
.infobox-caption {
text-align: center;
font-size: 80%;
color: #000000;
background-color: #f8f9fa;
padding: 0.1em 0;
}
/* Styling for data rows */
.infobox-data-row {
background-color: #f8f9fa;
}
.infobox-data-row th {
padding: 0.1em;
vertical-align: top;
width: 30%;
text-align: left;
}
.infobox-data-row td { /* For the data cell */
text-align: left;
vertical-align: top;
padding: 0.1em;
}
/* CITATIONS CUSTOMIZATIONS */
/* Remove brackets around superscript citation numbers
.reference .cite-bracket { font-size: 0; } */
/* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */
.mw-cite-backlink > a {
font-weight: bold; /* Make caret bold */
font-style: normal; /* Ensure caret is not italicized */
}
/* TARGET THE LOWERCASE LETTERS (a, b, c, ...) IN MANY CITATION BACKLINKS */
.mw-cite-backlink > sup > a {
font-weight: bold; /* Make letters bold */
font-style: italic; /* Make letters italic */
}
/* HIDE ORIGINAL REVISION NOTICE WHEN USING THE TIME MACHINE */
#mw-content-subtitle > .mw-revision {
display: none !important;
}
/* NOTICES DEFAULT APPEARANCE */
div.notice {
text-align: center;
margin: 0.3em auto;
padding: 0.5em;
width: auto; /* Let the width be set by the template */
box-sizing: border-box;
}
div.notice.quality {
font-style: italic;
}
img.notice {
width: 1em;
}
/* curved */
.curved {
border-radius: 10px;
}
.dismiss-button {
font-size: 1.5em; /* Adjust the size as needed */
color: #000000; /* Initial color */
}
.dismiss-button:hover {
color: #666666; /* Color on hover */
}
/* NAVIGATION */
.navigation {
display: block;
margin: 1em 40px;
font-style: italic;
}
/* Center the body of the dismissable notice */
.vector-sitenotice-container .mw-dismissable-notice-body {
margin-left: auto;
margin-right: auto;
}
/* Ensure the dismissable notice has relative positioning for the button */
.vector-sitenotice-container .mw-dismissable-notice {
position: relative;
}
/* HIDES TEMPLATE:NOTICE DISMISS BUTTON FROM ANONYMOUS USERS */
.user-logged-out .user-only-dismiss {
display: none !important;
}
/*EDITORIAL NOTATION TOOLTIP STYLING*/
.editorial-notation-tooltip-box {
position: absolute;
max-width: 500px;
background-color: #e7f1fd;
border: 1px solid #ccc;
padding: 5px;
border-radius: 3px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: none;
font-size: 0.9em;
}
.editorial-notation-tooltip span {
cursor: help;
text-decoration: none;
}
.editorial-notation-tooltip span:hover {
text-decoration: underline;
}
/* VERTICAL ALIGN CALENDAR TABLES */
.calendar td,
.calendar th {
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;
}