MediaWiki:Common.css
From UmiharaWiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Styles used for image galleries */
.image-gallery {
display: flex;
flex-flow: row wrap;
}
.image-gallery .thumb {
margin: 0 6px 6px 0;
}
/* Styles used for infoboxes */
.infobox {
border: 1px solid rgba(0, 0, 0, 0.25);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}
.infobox-title {
width: 100%;
}
.infobox-image {
width: 100%;
text-align: center;
}
.infobox-separator {
width: 100%;
}
.infobox-separator > hr {
margin: 0 auto;
width: 80%;
height: 1px;
}
.infobox-items-container {
width: 100%;
text-align: left;
}
.infobox-items {
width: 100%;
}
.infobox-item-title {
vertical-align: top;
width: 35%;
}
.infobox-item-data {
vertical-align: top;
width: 65%;
}
@media (min-width: 600px) {
.infobox {
float: right;
margin-left: calc(1.5em + 3px);
width: 280px;
}
}
/* Tracklist styles for soundtrack pages */
.tracklist {
display: table;
}
.tracklist > div {
display: table-row;
}
.tracklist > div:first-child {
font-weight: bold;
}
.tracklist > div > div {
display: table-cell;
text-align: left;
}
.tracklist > div > div:not(:last-child) {
padding-right: 10px;
}
.tracklist-number {
width: 10%;
}
.tracklist-title {
width: 50%;
}
.tracklist-artist {
width: 30%;
}
.tracklist-time {
width: 10%;
text-align: right;
}