Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Meepledrone (talk | contribs) m (Test) |
Meepledrone (talk | contribs) m (Test) |
||
Line 429: | Line 429: | ||
background-color: rgba(240, 240, 240, 0.6); | background-color: rgba(240, 240, 240, 0.6); | ||
border: 2px dotted #cccccc; | border: 2px dotted #cccccc; | ||
-webkit-border-radius: 10px; | |||
-moz-border-radius: 10px; | |||
border-radius: 10px; | border-radius: 10px; | ||
padding: 5px; | padding: 5px; | ||
Line 436: | Line 438: | ||
margin-top: 10px; | margin-top: 10px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
width: -webkit-fill-available; | width: -moz-available; /* WebKit-based browsers will ignore this. */ | ||
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ | |||
width: fill-available; | |||
} | } | ||
.wica-annotation-box.wica-half { | .wica-annotation-box.wica-half { | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
width: -webkit-fill-available; | width: -moz-available; /* WebKit-based browsers will ignore this. */ | ||
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ | |||
width: fill-available; | |||
} | } | ||
Revision as of 15:00, 2 July 2020
/* 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 {
margin-right: 10px;
}
.wica-banner-spacer {
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 {
float: left;
}
.wica-text-block.wica-half {
}
.wica-annotation-box {
float: right;
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: 10px;
margin-bottom: 10px;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
}
.wica-annotation-box.wica-half {
margin-bottom: 10px;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
}
@media screen and (min-width: 600px) {
.wica-text-block.wica-half {
width: 45%;
}
.wica-annotation-box.wica-half {
width: 50%;
margin-bottom: 10px;
}
}