MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
mNo edit summary |
No edit summary |
||
| (21 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* | /* | ||
* Styling for links generated by [[MediaWiki:Edittools]] | |||
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling | |||
* @updated 2012-02-29 | |||
*/ | |||
.mw-charinsert-buttons { | |||
margin-top: 10px; | |||
border: 1px solid #a2a9b1; | |||
padding: 1px; | |||
text-align: center; | |||
font-size: 110%; | |||
} | |||
.mw-charinsert-buttons a { | |||
color: black; | |||
background-color: #cde !important; | |||
font-weight: bold; | |||
font-size: .9em; | |||
text-decoration: none; | |||
border: thin #069 outset; | |||
padding: 0 .1em .1em; | |||
} | |||
.mw-charinsert-buttons a:hover, | |||
.mw-charinsert-buttons a:active { | |||
background-color: #bcd; | |||
border-style: inset; | |||
} | |||
.client-js .mw-edittools-section { | |||
display: inline; | |||
} | |||
.client-js .mw-edittools-section input[type="button"] { | |||
font-size: 0.9em; | |||
padding-left: 1px; | |||
padding-right: 1px; | |||
margin-left: 1px; | |||
} | |||
# | /* To deal with the AddThis Extension Floater */ | ||
.mw-parser-output { | |||
clear: both; | |||
} | |||
/* Handling of various Google ads with Citizen skin */ | |||
.adsbygoogle { | |||
text-align: center; | |||
} | |||
/* Centered DIV / Table Elements */ | |||
.centered { | |||
margin: auto; | |||
} | |||
.infobox { | |||
max-width: 350px !important; | |||
} | |||
/* Inline Video Element Overrides - 5.25.25 */ | |||
.video-js.vjs-mediacms .vjs-corner-layer .media-links-top-left .title-link { | |||
padding-left: 0px !important; | |||
padding-top: 0px !important; | |||
overflow: visible !important; | |||
} | |||
.video-js.vjs-mediacms .vjs-corner-layer .media-links-top-left .user-thumb-link { | |||
display: none !important; | |||
visibility: hidden !important; | |||
} | |||
/* For Indicators - 7.19.25 */ | |||
/* | |||
* Styles for the EraIndicator Template | |||
* The ID must match the 'name' attribute from the <indicator> tag, | |||
* prefixed with '#mw-indicator-'. | |||
*/ | |||
/* Common styles for all indicators */ | |||
#mw-indicator-tos-indicator, | |||
#mw-indicator-trs-indicator, | |||
#mw-indicator-caprica-indicator, | |||
#mw-indicator-1980-indicator, | |||
#mw-indicator-bac-indicator, | |||
#mw-indicator-sepcon-indicator, | |||
#mw-indicator-gallery-indicator { /* CHANGED from licensed-indicator */ | |||
border: 1px solid #000; | |||
padding: 2px 6px; | |||
font-size: 9pt; | |||
font-weight: bold; | |||
border-radius: 5px; | |||
} | |||
/* TOS Indicator */ | |||
#mw-indicator-tos-indicator { | |||
background-color: #D4AF37; /* Gold */ | |||
color: #000; | |||
} | |||
/* TRS Indicator */ | |||
#mw-indicator-trs-indicator { | |||
border-color: #CCC; | |||
background-color: #444444; /* Dark Gray */ | |||
color: #FFF; | |||
} | |||
/* Caprica Indicator */ | |||
#mw-indicator-caprica-indicator { | |||
background-color: #A1C6E7; /* Light Blue */ | |||
color: #000; | |||
} | |||
/* 1980 Indicator */ | |||
#mw-indicator-1980-indicator { | |||
background-color: #CD7F32; /* Bronze */ | |||
color: #FFF; | |||
} | |||
/* Separate Continuity Indicator */ | |||
#mw-indicator-sepcon-indicator { | |||
background-color: #4B0082; /* Indigo */ | |||
color: #FFF; | |||
border-color: #AAA; | |||
} | |||
#mw-indicator-bac-indicator { | |||
background-color: #2F4F4F; /* Dark Slate Gray */ | |||
color: #00FFFF; /* Cyan */ | |||
border-color: #00FFFF; | |||
} | |||
#mw-indicator-gallery-indicator { | |||
background-color: #36454f; /* Charcoal: Neutral enough for both modes */ | |||
color: #00ced1; /* Dark Turquoise: Readable on charcoal and white */ | |||
border: 1px solid #00ced1; | |||
} | |||
#mw-indicator-sepcon-indicator a, #mw-indicator-trs-indicator a, #mw-indicator-bac-indicator a, #mw-indicator-gallery-indicator a { | |||
color: white !important; | |||
} | |||
.mw-indicator a { | |||
color: black !important; | |||
} | |||
/* Category Hidden for Spoilerific Content */ | |||
.page-Ellen_Tigh #catlinks, .page-Saul_Tigh #catlinks, .page-Galen_Tyrol #catlinks, .page-Tory_Foster #catlinks, .page-Samuel_Anders #catlinks{ | |||
display: none; | |||
} | |||
/* iFrame Height Adjust */ | |||
iframe { | |||
height: 50vh; | |||
} | |||
iframe.video { | |||
height: revert-layer; | |||
} | |||
Latest revision as of 00:45, 27 December 2025
/*
* Styling for links generated by [[MediaWiki:Edittools]]
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
* @updated 2012-02-29
*/
.mw-charinsert-buttons {
margin-top: 10px;
border: 1px solid #a2a9b1;
padding: 1px;
text-align: center;
font-size: 110%;
}
.mw-charinsert-buttons a {
color: black;
background-color: #cde !important;
font-weight: bold;
font-size: .9em;
text-decoration: none;
border: thin #069 outset;
padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
background-color: #bcd;
border-style: inset;
}
.client-js .mw-edittools-section {
display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
font-size: 0.9em;
padding-left: 1px;
padding-right: 1px;
margin-left: 1px;
}
/* To deal with the AddThis Extension Floater */
.mw-parser-output {
clear: both;
}
/* Handling of various Google ads with Citizen skin */
.adsbygoogle {
text-align: center;
}
/* Centered DIV / Table Elements */
.centered {
margin: auto;
}
.infobox {
max-width: 350px !important;
}
/* Inline Video Element Overrides - 5.25.25 */
.video-js.vjs-mediacms .vjs-corner-layer .media-links-top-left .title-link {
padding-left: 0px !important;
padding-top: 0px !important;
overflow: visible !important;
}
.video-js.vjs-mediacms .vjs-corner-layer .media-links-top-left .user-thumb-link {
display: none !important;
visibility: hidden !important;
}
/* For Indicators - 7.19.25 */
/*
* Styles for the EraIndicator Template
* The ID must match the 'name' attribute from the <indicator> tag,
* prefixed with '#mw-indicator-'.
*/
/* Common styles for all indicators */
#mw-indicator-tos-indicator,
#mw-indicator-trs-indicator,
#mw-indicator-caprica-indicator,
#mw-indicator-1980-indicator,
#mw-indicator-bac-indicator,
#mw-indicator-sepcon-indicator,
#mw-indicator-gallery-indicator { /* CHANGED from licensed-indicator */
border: 1px solid #000;
padding: 2px 6px;
font-size: 9pt;
font-weight: bold;
border-radius: 5px;
}
/* TOS Indicator */
#mw-indicator-tos-indicator {
background-color: #D4AF37; /* Gold */
color: #000;
}
/* TRS Indicator */
#mw-indicator-trs-indicator {
border-color: #CCC;
background-color: #444444; /* Dark Gray */
color: #FFF;
}
/* Caprica Indicator */
#mw-indicator-caprica-indicator {
background-color: #A1C6E7; /* Light Blue */
color: #000;
}
/* 1980 Indicator */
#mw-indicator-1980-indicator {
background-color: #CD7F32; /* Bronze */
color: #FFF;
}
/* Separate Continuity Indicator */
#mw-indicator-sepcon-indicator {
background-color: #4B0082; /* Indigo */
color: #FFF;
border-color: #AAA;
}
#mw-indicator-bac-indicator {
background-color: #2F4F4F; /* Dark Slate Gray */
color: #00FFFF; /* Cyan */
border-color: #00FFFF;
}
#mw-indicator-gallery-indicator {
background-color: #36454f; /* Charcoal: Neutral enough for both modes */
color: #00ced1; /* Dark Turquoise: Readable on charcoal and white */
border: 1px solid #00ced1;
}
#mw-indicator-sepcon-indicator a, #mw-indicator-trs-indicator a, #mw-indicator-bac-indicator a, #mw-indicator-gallery-indicator a {
color: white !important;
}
.mw-indicator a {
color: black !important;
}
/* Category Hidden for Spoilerific Content */
.page-Ellen_Tigh #catlinks, .page-Saul_Tigh #catlinks, .page-Galen_Tyrol #catlinks, .page-Tory_Foster #catlinks, .page-Samuel_Anders #catlinks{
display: none;
}
/* iFrame Height Adjust */
iframe {
height: 50vh;
}
iframe.video {
height: revert-layer;
}