User:KJNanika/common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(idk if this is gonna work but) |
||
| Line 3: | Line 3: | ||
* [[Template:Tool]], etc. | * [[Template:Tool]], etc. | ||
*/ | */ | ||
#mw-head { | |||
background-image: url(https://trigunwiki.com/wiki/File:This_is_a_test_header.png); | |||
} | |||
.infobox { | .infobox { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
Latest revision as of 19:40, 10 October 2023
/**
* Common TemplateStyles used by [[Template:Extension]], [[Template:Skin]],
* [[Template:Tool]], etc.
*/
#mw-head {
background-image: url(https://trigunwiki.com/wiki/File:This_is_a_test_header.png);
}
.infobox {
box-sizing: border-box;
border: 2px solid #D20F1A;
width: 280px;
border-collapse: collapse;
border-spacing: 0;
background-color: white;
/* these are overriden by .infobox-rtl on the templates of interest */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 0 0 0.5em 0.5em;
}
.infobox-rtl {
/* @noflip */
clear: left;
/* @noflip */
float: left;
/* @noflip */
margin: 0 0.5em 0.5em 0;
}
.infobox th {
/* @noflip */
text-align: left;
padding: 0.2em 0.5em;
vertical-align: top;
}
.infobox-rtl th {
/* @noflip */
text-align: right;
}
@media (max-width: 719px) {
/* high specificity to ensure specific infoboxes won't override these
* properties with their own tstyles inadvertently */
body.mediawiki .infobox {
float: none;
clear: both;
width: 100%;
margin: 0 0 .5em 0;
}
}
.infobox td {
border: none;
padding: 0.2em 0.5em;
vertical-align: top;
}
.infobox-header {
background-color: #D20F1A;
color: #FFF;
text-align: left;
}
.infobox-header a {
color: #FFF;
}
.infobox-header td,
.infobox-header th {
padding: 0.5em 0.5em;
}
.infobox-header img {
padding: 0 0.2em 0 0.5em;
}