Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
699 bytes added ,  18:57, 6 October 2020
First pass infobox styles.
(Align track list table contents to the top.)
(First pass infobox styles.)
Line 8: Line 8:
  
 
.box {
 
.box {
display: block;
 
 
padding: 1em;
 
padding: 1em;
 
border: 1px solid hsl(0, 0%, 89%);
 
border: 1px solid hsl(0, 0%, 89%);
Line 115: Line 114:
 
border-style: dashed;
 
border-style: dashed;
 
}
 
}
 +
 +
/* Boxes - Infoboxes. */
 +
 +
.box.infobox {
 +
width: 100%;
 +
max-width: 320px;
 +
margin-left: 1em;
 +
margin-bottom: 1em;
 +
padding: .5em;
 +
float: right;
 +
clear: right;
 +
font-size: .9em;
 +
}
 +
.infobox th, .infobox td {
 +
text-align: left;
 +
vertical-align: top;
 +
}
 +
.infobox .infobox__image {
 +
text-align: center;
 +
}
 +
.infobox .infobox__caption {
 +
text-align: center;
 +
}
 +
.infobox .infobox__title {
 +
font-size: 1.6em;
 +
font-weight: bold;
 +
text-align: center;
 +
}
 +
.infobox .infobox__heading {
 +
padding: .125em .5em;
 +
font-weight: bold;
 +
text-align: center;
 +
}
 +
 +
/* Infobox chronology */
 +
.chronology {
 +
width: 100%;
 +
table-layout: fixed;
 +
}
 +
.chronology
 +
.chronology th, .chronology td {
 +
padding: 0 .125em;
 +
text-align: center;
 +
}
 +
  
 
/* Homepage specific styles */
 
/* Homepage specific styles */
Line 165: Line 209:
  
 
.track-listing {
 
.track-listing {
width: 100%;
 
 
border-spacing: 0;
 
border-spacing: 0;
 
}
 
}

Navigation menu