Difference between revisions of "MediaWiki:Common.css"

m
Since we're also using the infobox class for non-infobox tables, where it's reasonable to want to be able to, say, center all text in a row
m
m (Since we're also using the infobox class for non-infobox tables, where it's reasonable to want to be able to, say, center all text in a row)
 
(14 intermediate revisions by 4 users not shown)
text-align: center;
}
.infobox .kv td, .navbar td {
text-align: left;
}
padding: 0.5em;
}
div.notice.stubquality {
font-style: italic;
}
#footer-info-viewcount { float: right; }
#footer-places { clear: both; }
 
/* Notes section */
.notes {
clear: both;
 
/* auto columns*/
/* hide things */
.hidden { display: none; }
 
/* hide the cite tracking <sub>#</sub> */
.cm-tracking {
vertical-align: sub;
font-size: xx-small;
/* hide the cite tracking {{t|tracking-link}} */
.references .cm-tracking { display: none; }
/* REMOVE: hide the cite tracking <sub>#</sub> */
.reference-text sub { display: none; }
/* hide the date ? error */
.rosharan-date .error { display: none; }
 
/* some helper classes for table column styling 2018-11-08 */
.center-col-1 td:nth-child(1) { text-align: center; }
.center-col-2 td:nth-child(2) { text-align: center; }
.center-col-3 td:nth-child(3) { text-align: center; }
.center-col-4 td:nth-child(4) { text-align: center; }
.center-col-5 td:nth-child(5) { text-align: center; }
.center-col-6 td:nth-child(6) { text-align: center; }
.center-col-7 td:nth-child(7) { text-align: center; }
 
 
/* thumbnail attribution style */
.attribution { font-size: smaller; text-align: center; }
 
 
/* Main page overviews */
.cosmere-overview {
column-count: 3;
font-size: 110%;
width: 80%;
margin: auto;
}
 
.series-overview p {
width: 100%;
display: grid;
grid-template-columns: repeat(5, 1fr);
font-size: 130%;
padding: 1px;
grid-gap: 2px;
text-align: center;
font-weight: bold;
}
 
@media (max-width: 640px) {
.coppermind-spoiler-warning {
font-size: 1em !important;
}
}
 
@font-face {
font-family: "Trajan Pro";
src: url('https://coppermind.net/TrajanProBold.ttf') format("truetype");
}