MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
div.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;
}
/*
Meepledrone
*/
/* Background printing */
@media print {
body {
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
/* Remove unwanted lines in images due to Vector skin CSS settings for A tag */
a.image {
border-bottom: 0px;
}
}
/* Remove extra space in C2 rules boxes */
h3, h4, h5 {
margin: 0px !important;
}
div.wica-box-body div.thumb div.thumbinner {
border: 0px;
background-color: transparent;
}
div.wica-box-body div.thumb div.thumbinner a img.thumbimage {
border: 0px;
background-color: transparent;
}
/* === Boxes === */
div.wica-box-header.wica-placing-tile.wica-visible {
background:#5C7A1B;
margin-top: 0px;
padding:0px 10px 2px;
border: 2px solid #5C7A1B;
border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
}
div.wica-box-body.wica-placing-tile.wica-visible {
background:#CFE183;
margin-bottom: 0px;
padding:0px 10px 2px;
border: 2px solid #5C7A1B;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
div.wica-box-header.wica-placing-meeple.wica-visible {
background:#0072BC;
margin-top: 0px;
padding:0px 10px 2px;
border: 2px solid #0072BC;
border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
}
div.wica-box-body.wica-placing-meeple.wica-visible {
background:#C7EBFC;
margin-bottom: 0px;
padding:0px 10px 2px;
border: 2px solid #0072BC;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
div.wica-box-header.wica-scoring.wica-visible {
background:#9E2322;
margin-top: 0px;
padding:0px 10px 2px;
border: 2px solid #9E2322;
border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
}
div.wica-box-body.wica-scoring.wica-visible {
background:#FBC9C3;
margin-bottom: 0px;
padding:0px 10px 2px;
border: 2px solid #9E2322;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
div.wica-box-header.wica-additional-actions.wica-visible {
background:#D3C400;
margin-top: 0px;
padding:0px 10px 2px;
border: 2px solid #D3C400;
border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
}
div.wica-box-body.wica-additional-actions.wica-visible {
background:#FFF799;
margin-bottom: 0px;
padding:0px 10px 2px;
border: 2px solid #D3C400;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
div.wica-box-header.wica-dragon-movement.wica-visible {
background:#B64685;
margin-top: 0px;
padding:0px 10px 2px;
border: 2px solid #B64685;
border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
}
div.wica-box-body.wica-dragon-movement.wica-visible {
background:#EBC6DA;
margin-bottom: 0px;
padding:0px 10px 2px;
border: 2px solid #B64685;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
div.wica-top-spacing.wica-visible {
margin-top: 10px;
}
div.wica-bottom-spacing.wica-visible {
margin-bottom: 10px;
}
div.wica-box-header.wica-repeat-block.wica-visible {
border: 3px dotted #c8ccd1;
padding: 2px 10px 2px;
border-radius: 20px 20px 0px 0px;
-moz-border-radius: 20px 20px 0px 0px;
-webkit-border-radius: 20px 20px 0px 0px;
}
div.wica-box-body.wica-repeat-block.wica-visible {
border-left: 3px dotted #c8ccd1;
border-right: 3px dotted #c8ccd1;
border-bottom: 3px dotted #c8ccd1;
padding: 10px; border-radius: 0px 0px 20px 20px;
-moz-border-radius: 0px 0px 20px 20px;
-webkit-border-radius: 0px 0px 20px 20px;
}
div.wica-box-body.wica-repeat-step.wica-visible {
border: 3px dotted #9E2322;
padding: 5px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
margin: 10px 0px;
}
div.wica-box-body.wica-repeat-action.wica-visible {
border: 3px dotted #D3C400;
padding: 5px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
margin: 10px 0px;
}
span.fake-h4 {
font-weight: bold;
font-size: 100%;
padding-top: 0.5em;
margin: 0px !important;
border-bottom: 0px;
display: block;
font-family: sans-serif;
line-height: 0.5em;
}
ol.wica-list {
list-style: lower-latin outside;
/* padding-left: 1em; */
}
ol.wica-list ul {
/* padding-left: 1em; */
}
/* === Counters === */
.wica-counter-reset {
counter-reset: section-counter;
}
.wica-counter-show::before {
counter-increment: section-counter;
content: counter(section-counter);
}
/* === White box === */
.wica-white-box {
background: #ffffff;
border: 1px solid black;
padding-left: 3px;
padding-right: 3px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/* === Green box === */
.wica-green-box {
background: #0a7534;
border: 1px solid #0a7534;
color: #ffffff;
padding-left: 3px;
padding-right: 3px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/* === Black box === */
.wica-black-box {
background: #000000;
border: 1px solid #000000;
color: #ffffff;
padding-left: 3px;
padding-right: 3px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/* === Overflow boxes for images === */
.wica-overflow {
/*margin: 1em 0;*/
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
display: block;
width: 100% !important;
}
/* === Banners === */
.wica-banner-icon, .wica-banner-icon-subsection {
margin-right: 10px;
}
.wica-banner-spacer, .wica-banner-spacer-subsection {
clear: both;
}
/* === Figure reference === */
span.wica-mark-yes:after {
color: #00C000;
font-size: 1.5em;
content: '\02714'; /* big */
/* content: '\02713'; small */
}
span.wica-mark-no:after {
color: red;
font-size: 1.5em;
font-weight: bold;
content: '\02716'; /* big */
/* content: '\000D7'; small */
}
span.wica-mark-n-a:after {
color: DodgerBlue;
font-size: 1.5em;
font-weight: bold;
content: '\02212';
}
span.wica-mark-undefined:after {
color: orange;
font-size: 1.5em;
font-weight: bold;
content: '?';
}
/*
.wica-highlight span.wica-mark-yes:after {
color: inherit;
font-size: 1.5em;
content: '\02714'; /-* big *-/
/-* content: '\02713'; small *-/
}
.wica-highlight span.wica-mark-no:after {
color: inherit;
font-size: 1.5em;
font-weight: bold;
content: '\02716'; /-* big *-/
/-* content: '\000D7'; small *-/
}
.wica-highlight span.wica-mark-n-a:after {
color: inherit;
font-size: 1.5em;
font-weight: bold;
content: '\02212';
}
.wica-highlight span.wica-mark-undefined:after {
color: inherit;
font-size: 1.5em;
font-weight: bold;
content: '?';
}
*/
tr.wica-highlight > td,
tr.wica-highlight > th,
td.wica-highlight,
th.wica-highlight {
background-color: #f0f0ff;
}
/* === Wica-table === */
table.wica-table {
background-color:#f8f9fa;
color:#222;
margin:1em 0;
border:1px solid #a2a9b1;
border-collapse:collapse;
}
table.wica-table > tr > th,
table.wica-table > tr > td,
table.wica-table > * > tr > th,
table.wica-table > * > tr > td {
border:1px solid #a2a9b1;
padding:0.2em 0.4em;
}
table.wica-table > tr > th,
table.wica-table > * > tr > th {
background-color:#eaecf0;
text-align:center;
}
table.wica-table > caption {
font-weight:bold;
}
/* === Styles for Expansion Selector Help === */
span.help-h3 {
font-weight: bold;
font-size: 1.2em;
padding-top: 0.5em;
margin: 0px !important;
border-bottom: 0px;
display: block;
font-family: sans-serif;
line-height: 1.6;
}
span.help-h4 {
font-weight: bold;
font-size: 100%;
padding-top: 0.5em;
margin: 0px !important;
border-bottom: 0px;
display: block;
font-family: sans-serif;
line-height: 1.6;
}
/* == Styles for annotated block texts == */
.wica-text-block {
}
div.wica-text-block > p:first-of-type {
margin-top: 0px;
}
.wica-text-block.wica-full {
margin-bottom: 10px;
}
.wica-text-block.wica-half {
}
.wica-annotation-box {
background-color: rgba(240, 240, 240, 0.6);
border: 2px dotted #cccccc;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding: 5px;
}
.wica-annotation-box.wica-full {
margin-top: 0px;
margin-bottom: 0px;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
width: calc(100% - 14px);
}
.wica-annotation-box.wica-half {
margin-top: 0px;
margin-bottom: 0px;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
width: calc(100% - 14px);
}
.wica-clear-full {
display: none;
}
.wica-clear-half {
}
@media screen and (min-width: 600px) {
.wica-text-block.wica-half {
width: 45%;
float: left;
}
.wica-annotation-box.wica-half {
width: 50%;
float: right;
}
}
@media screen and (max-width: 600px) {
.wica-clear-half {
display: none;
}
}
.wica-nesting-0 {
}
.wica-nesting-1 {
width: calc(100% - 36px) !important;
margin-left: 22px;
}
.wica-nesting-2 {
width: calc(100% - 56px) !important;
margin-left: 42px;
}
/*
======================= Zoom (not used) ==========
*/
/* CSS Hover Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites. For my website:[http://www.yellpedia.com/wiki/Main_Page Yellpedia]
*/
.zoom_img img, .zoom_img3 img, .zoom_img4 img{
-moz-transition:-moz-transform 0.1s ease-in;
-webkit-transition:-webkit-transform 0.1s ease-in;
-o-transition:-o-transform 0.1s ease-in;
transition:transform 0.1 ease-in;
}
.zoom_img img:hover{
-moz-transform:scale(2);
-webkit-transform:scale(2);
-o-transform:scale(2);
transform:scale(2);
}
.zoom_img3 img:hover{
-moz-transform:scale(3);
-webkit-transform:scale(3);
-o-transform:scale(3);
transform:scale(3);
}
.zoom_img4 img:hover{
-moz-transform:scale(4);
-webkit-transform:scale(4);
-o-transform:scale(4);
transform:scale(4);
}
.zoom_img ul.gallery, .zoom_img3 ul.gallery, .zoom_img4 ul.gallery {
margin: 0px;
}
.zoom_img ul.gallery li.gallerybox, .zoom_img3 ul.gallery li.gallerybox, .zoom_img4 ul.gallery li.gallerybox {
width: 40px !important;
}
.zoom_img ul.gallery li.gallerybox div, .zoom_img3 ul.gallery li.gallerybox div, .zoom_img4 ul.gallery li.gallerybox div {
width: 40px !important;
}
.zoom_img ul.gallery li.gallerybox div div.thumb, .zoom_img3 ul.gallery li.gallerybox div div.thumb, .zoom_img4 ul.gallery li.gallerybox div div.thumb {
width: 40px !important;
margin: 0px !important;
}
/*
=================== Anti Zoom ============
*/
.anti_zoom_img img:hover {
-moz-transition:-moz-transform 0.1s ease-in;
-webkit-transition:-webkit-transform 0.1s ease-in;
-o-transition:-o-transform 0.1s ease-in;
transition:transform 0.1 ease-in;
-moz-transform:scale(4);
-webkit-transform:scale(4);
-o-transform:scale(4);
transform:scale(4);
position: relative;
z-index: 10;
}
.anti_zoom_img img{
-moz-transform:scale(1);
-webkit-transform:scale(1);
-o-transform:scale(1);
transform:scale(1);
width: 40px !important;
height: auto !important;
position: relative;
}
.anti_zoom_img ul.gallery {
margin: 0px !important;
}
.anti_zoom_img ul.gallery li.gallerybox, .anti_zoom_img ul.gallery li.gallerybox div {
width: 40px !important;
height: auto !important;
margin: 0px !important;
}
/*
==== Wikitable Light
*/
table.wikitable.light {
border-width: 0 !important; background-color: inherit;
}
table.wikitable.light th {
/*background-color: transparent !important;*/ border-width: 2px 0 2px 0 !important;
}
table.wikitable.light td {
background-color: transparent !important; border-width: 0 0 1px 0 !important;
}
table.wikitable.light td.empty {
background-color: #eeeeee !important; border-width: 0 0 1px 0 !important;
}
/*
==== Remove template edit icons ====
*/
.templateedit {
display: none;
text-decoration: none;
}
.templateedit a {
text-decoration: none;
}
/*
==== Symbol Box & Symbol Column ====
*/
.wica-symbol-box {
display: inline-block;
/*height: 20px;*/
padding: 2px 4px;
margin-right: 1ex;
}
.wica-symbol-column {
width: 26px;
min-width: 26px;
max-width: 26px;
}
table.wica-table-symbol-column .wica-symbol-box {
margin-right: 0ex !important;
}
/*
==== Hide selection tab ===
*/
div#_Tabs_Container_.hideSelectionPanel div#tabs-selection {
display: none;
}
/*
===== Breadcrumb hack ====
*/
html {
scroll-padding-top: 40px;
}
/*
===== Test ====
*/
.mw-collapsible-on-left .mw-collapsible-toggle {
float: none;
display: block;
}
/*
===== Sticky Expansion Selector =====
*/
.stickyExpansionSelector .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
padding: 0.25em 0.5em;
}
.stickyExpansionSelector .ui-tabs .ui-tabs-nav {
padding: 0;
}
.stickyExpansionSelector .ui-widget-header {
background-color: white;
border-width: 0 0 1px 0;
border-style: solid;
border-color: #dddddd;
}
.stickyExpansionSelector .ui-tabs .ui-tabs-panel {
max-height: 150px;
overflow: auto;
}
.stickyExpansionSelector blockquote {
padding: 0 0 0 2ex;
margin: 0.5ex 0 1ex 3ex;
}
.stickyExpansionSelector #tabs-quick .form-box {
line-height: 8px;
}
/****
*****/
body.mw-editable .mw-hidden-catlinks {
display: inherit;
}
body.mw-editable .catlinks-allhidden {
display: inherit;
}
/******
*******/
.hiddenFanExpansions {
display:none;
}
.showFanExpansions .hiddenFanExpansions {
display: inherit;
}
.showFanExpansions li.hiddenFanExpansions {
display: list-item;
}
/****
Classes for scoring pages
*****/
.wica-scrollable-content::-webkit-scrollbar {
height:5px;
}
.wica-scrollable-content::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 10px;
}
.wica-scrollable-content::-webkit-scrollbar-thumb {
background: grey;
border-radius: 10px;
}