MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Add responsive artwork styling scoped exclusively to the Eclesiar main-page wrapper |
Add responsive artwork and table styles scoped to illustrated wiki guides |
||
| Line 22: | Line 22: | ||
padding: 16px !important; | padding: 16px !important; | ||
} | } | ||
} | |||
/* Eclesiar guide styling. Scoped to the illustrated guide wrapper. */ | |||
.mw-parser-output .eclesiar-wiki-guide .eclesiar-guide-art img { | |||
display: block; | |||
width: 100%; | |||
max-width: 100% !important; | |||
height: auto !important; | |||
margin: 0 auto; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide .eclesiar-guide-art p { | |||
margin: 0; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide h2 { | |||
font-family: Georgia, serif; | |||
color: #173a57; | |||
line-height: 1.3; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide h3 { | |||
color: #244e71; | |||
line-height: 1.35; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide .wikitable { | |||
background: #fff; | |||
border-color: #cbd9e5; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide .wikitable th { | |||
background: #e9f1f8; | |||
color: #173a57; | |||
border-color: #cbd9e5; | |||
padding: 9px 12px; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide .wikitable td { | |||
border-color: #cbd9e5; | |||
padding: 8px 12px; | |||
} | |||
.mw-parser-output .eclesiar-wiki-guide pre { | |||
white-space: pre-wrap; | |||
overflow-wrap: anywhere; | |||
background: #f5f8fb; | |||
border-color: #d6e3ef; | |||
padding: 12px 16px; | |||
} | } | ||
Latest revision as of 17:15, 12 October 2026
/* CSS placed here will be applied to all skins */
/* Eclesiar main-page artwork. All rules are scoped to its page wrapper. */
.mw-parser-output .eclesiar-wiki-main .eclesiar-main-art img {
display: block;
width: 100%;
max-width: 100% !important;
height: auto !important;
margin: 0 auto;
}
.mw-parser-output .eclesiar-wiki-main .eclesiar-main-art p {
margin: 0;
}
.mw-parser-output .eclesiar-wiki-main h2 {
line-height: 1.25;
}
.mw-parser-output .eclesiar-wiki-main .eclesiar-main-step {
min-width: 0;
}
@media (max-width: 720px) {
.mw-parser-output .eclesiar-wiki-main .eclesiar-main-starter {
padding: 16px !important;
}
}
/* Eclesiar guide styling. Scoped to the illustrated guide wrapper. */
.mw-parser-output .eclesiar-wiki-guide .eclesiar-guide-art img {
display: block;
width: 100%;
max-width: 100% !important;
height: auto !important;
margin: 0 auto;
}
.mw-parser-output .eclesiar-wiki-guide .eclesiar-guide-art p {
margin: 0;
}
.mw-parser-output .eclesiar-wiki-guide h2 {
font-family: Georgia, serif;
color: #173a57;
line-height: 1.3;
}
.mw-parser-output .eclesiar-wiki-guide h3 {
color: #244e71;
line-height: 1.35;
}
.mw-parser-output .eclesiar-wiki-guide .wikitable {
background: #fff;
border-color: #cbd9e5;
}
.mw-parser-output .eclesiar-wiki-guide .wikitable th {
background: #e9f1f8;
color: #173a57;
border-color: #cbd9e5;
padding: 9px 12px;
}
.mw-parser-output .eclesiar-wiki-guide .wikitable td {
border-color: #cbd9e5;
padding: 8px 12px;
}
.mw-parser-output .eclesiar-wiki-guide pre {
white-space: pre-wrap;
overflow-wrap: anywhere;
background: #f5f8fb;
border-color: #d6e3ef;
padding: 12px 16px;
}