yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
MediaWiki:Common.css: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 63: | Line 63: | ||
body.skin.Monobook #p-tb { | body.skin.Monobook #p-tb { | ||
margin-left: 4px; | margin-left: 4px; | ||
} | |||
.mw-headline, .mw-body #firstHeading { | |||
font-family: "Tahoma", sans-serif; | |||
} | |||
/* portable infobox stuff */ | |||
.portable-infobox { | |||
background-color: #EEF2FF; | |||
border: 1px solid #ccc; | |||
padding: 2px 4px; | |||
font-family: sans-serif; | |||
font-size: 88%; | |||
line-height: 1.25em; | |||
box-sizing: border-box; | |||
} | |||
.portable-infobox img, | |||
.portable-infobox .pi-image img, | |||
.portable-infobox .pi-media-collection img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
display: block; | |||
margin: 0 auto; | |||
} | |||
.portable-infobox .pi-image, | |||
.portable-infobox .pi-image-collection, | |||
.portable-infobox .pi-media-collection { | |||
max-width: 100%; | |||
overflow: hidden; | |||
text-align: center; | |||
margin: 2px 0; | |||
border: 1px solid #D6DAF0; | |||
} | |||
.portable-infobox.pi-background, | |||
.portable-infobox .pi-secondary-background, | |||
.portable-infobox .pi-horizontal-group-item.pi-data-label, | |||
.portable-infobox .pi-horizontal-group-item.pi-data-value { | |||
background-color: #EEF2FF; | |||
} | |||
.portable-infobox .pi-title { | |||
background-color: #D6DAF0; | |||
font-size: 115%; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 2px 4px; | |||
border: 1px solid #D6DAF0; | |||
margin-bottom: 2px; | |||
} | |||
.portable-infobox .pi-title p, | |||
.portable-infobox .pi-title center { | |||
margin: 0; | |||
padding: 0; | |||
display: inline; | |||
} | |||
.portable-infobox .pi-header { | |||
background-color: #D6DAF0; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 1px 4px; | |||
border: 1px solid #D6DAF0; | |||
} | |||
.portable-infobox .pi-data-label { | |||
font-weight: bold; | |||
padding: 1px 4px; | |||
} | |||
.portable-infobox .pi-data-value { | |||
padding: 1px 4px; | |||
} | |||
.portable-infobox .pi-item { | |||
padding: 1px 0; | |||
} | |||
.portable-infobox .pi-data, | |||
.portable-infobox .pi-group { | |||
border: 1px solid #D6DAF0; | |||
margin-bottom: 2px; | |||
} | |||
.portable-infobox .pi-border-color { | |||
border-color: #D6DAF0; | |||
} | |||
@media (max-width: 720px) { | |||
.portable-infobox { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
} | |||
/* end of protable infobox stuff */ | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | |||
.infobox-header, | |||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox-label, | |||
.infobox-data, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-above, | |||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-navbar { | |||
/* @noflip */ | |||
text-align: right; | |||
} | } | ||
Revision as of 04:13, 1 September 2026
/* Monobook Multiquote Controls */
.hiddentext {
display: none;
}
.showhidetext {
color: #002bb8;
cursor: pointer;
user-select: none;
}
.showhidetext:hover {
text-decoration: underline;
}
.showhidetext:active {
color: #b85b00;
}
/* Force-remove red outlines/boxes across the wiki */
.new, .new a, a.new, .new:visited, a.new:visited {
color: #ba0000 !important;
outline: none !important;
border: none !important;
}
/* Fix red borders on preview/diff warnings */
.previewnote, .diffchange {
border: none !important;
outline: none !important;
background: none !important;
}
/*name colers, these reflect your position on the 2swagg ib for now */
/* jeanie */
a[href="/index.php/User:"]
{
color: #62c1ff !important;
}
/* mAWDSSSSSSSSSSSSSSSSSSS */
a[href="/index.php/User:JANNY"],
a[href="/index.php/User:Princess"]
{
font-weight:bold;
color: #709 !important;
}
/* bureacat */
a[href="/index.php/User:Admin"] {
color:#FF101A !important;
font-weight:bold;
text-decoration-line: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
/* end of name colors */
body.skin.Monobook #p-tb {
margin-left: 4px;
}
.mw-headline, .mw-body #firstHeading {
font-family: "Tahoma", sans-serif;
}
/* portable infobox stuff */
.portable-infobox {
background-color: #EEF2FF;
border: 1px solid #ccc;
padding: 2px 4px;
font-family: sans-serif;
font-size: 88%;
line-height: 1.25em;
box-sizing: border-box;
}
.portable-infobox img,
.portable-infobox .pi-image img,
.portable-infobox .pi-media-collection img {
max-width: 100% !important;
height: auto !important;
display: block;
margin: 0 auto;
}
.portable-infobox .pi-image,
.portable-infobox .pi-image-collection,
.portable-infobox .pi-media-collection {
max-width: 100%;
overflow: hidden;
text-align: center;
margin: 2px 0;
border: 1px solid #D6DAF0;
}
.portable-infobox.pi-background,
.portable-infobox .pi-secondary-background,
.portable-infobox .pi-horizontal-group-item.pi-data-label,
.portable-infobox .pi-horizontal-group-item.pi-data-value {
background-color: #EEF2FF;
}
.portable-infobox .pi-title {
background-color: #D6DAF0;
font-size: 115%;
font-weight: bold;
text-align: center;
padding: 2px 4px;
border: 1px solid #D6DAF0;
margin-bottom: 2px;
}
.portable-infobox .pi-title p,
.portable-infobox .pi-title center {
margin: 0;
padding: 0;
display: inline;
}
.portable-infobox .pi-header {
background-color: #D6DAF0;
font-weight: bold;
text-align: center;
padding: 1px 4px;
border: 1px solid #D6DAF0;
}
.portable-infobox .pi-data-label {
font-weight: bold;
padding: 1px 4px;
}
.portable-infobox .pi-data-value {
padding: 1px 4px;
}
.portable-infobox .pi-item {
padding: 1px 0;
}
.portable-infobox .pi-data,
.portable-infobox .pi-group {
border: 1px solid #D6DAF0;
margin-bottom: 2px;
}
.portable-infobox .pi-border-color {
border-color: #D6DAF0;
}
@media (max-width: 720px) {
.portable-infobox {
margin-left: auto;
margin-right: auto;
}
}
/* end of protable infobox stuff */
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}