MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →Wikipedia-style infobox for PC biographies: .pc-infobox { float: right; clear: right; width: 22em; margin: 0.5em 0 0.5em 1em; padding: 0.2em; border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: #202122; font-size: 88%; line-height: 1.5; } .pc-infobox caption, .pc-infobox-title { padding: 0.2em; font-size: 125%; font-weight: bold;..." |
No edit summary |
||
| Line 55: | Line 55: | ||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
} | |||
/* Hide the sidebar Tools section */ | |||
#p-tb { | |||
display: none; | |||
} | } | ||
Latest revision as of 03:31, 17 July 2026
/* CSS placed here will be applied to all skins */
/* Wikipedia-style infobox for PC biographies */
.pc-infobox {
float: right;
clear: right;
width: 22em;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: #202122;
font-size: 88%;
line-height: 1.5;
}
.pc-infobox caption,
.pc-infobox-title {
padding: 0.2em;
font-size: 125%;
font-weight: bold;
text-align: center;
}
.pc-infobox-image {
padding: 0.4em;
text-align: center;
}
.pc-infobox-header {
background-color: #dfe8f2;
font-weight: bold;
text-align: center;
}
.pc-infobox-label {
width: 35%;
padding-right: 0.6em;
vertical-align: top;
text-align: left;
white-space: nowrap;
}
.pc-infobox-data {
vertical-align: top;
text-align: left;
}
@media screen and (max-width: 720px) {
.pc-infobox {
float: none;
width: auto;
max-width: 100%;
margin: 1em 0;
}
}
/* Hide the sidebar Tools section */
#p-tb {
display: none;
}