Difference between revisions of "MediaWiki:Common.css"
From ALttP Speedrunning Wiki
(Created page with "→CSS placed here will be applied to all skins: body { background: blue; }") |
|||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | .alttp-box { | |
+ | padding: 8px; | ||
+ | border: 1px solid #777; | ||
+ | display: inline-block; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | .alttp-box .label { | ||
+ | display: inline-block; | ||
+ | width: 106px; | ||
+ | } | ||
+ | |||
+ | .alttp-box .title { | ||
+ | font-weight: bold; | ||
+ | border: 2px solid black; | ||
+ | text-align: center; | ||
+ | padding: 3px; | ||
+ | background: #f9f9f9; | ||
+ | margin-bottom: 8px; | ||
+ | } | ||
+ | |||
+ | .alttp-box .prev-next { | ||
+ | margin-top: 8px; | ||
+ | font-size: 0.9em; | ||
+ | } | ||
+ | |||
+ | .alttp-box .prev-next div { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .alttp-box .prev a:before { | ||
+ | content: '< '; | ||
+ | } | ||
+ | |||
+ | .alttp-box .next { | ||
+ | float: right; | ||
+ | margin-left: 12px; | ||
+ | } | ||
+ | |||
+ | .alttp-box .next a:after { | ||
+ | content: ' >'; | ||
+ | } |
Revision as of 10:57, 4 January 2017
/* CSS placed here will be applied to all skins */
.alttp-box {
padding: 8px;
border: 1px solid #777;
display: inline-block;
float: right;
}
.alttp-box .label {
display: inline-block;
width: 106px;
}
.alttp-box .title {
font-weight: bold;
border: 2px solid black;
text-align: center;
padding: 3px;
background: #f9f9f9;
margin-bottom: 8px;
}
.alttp-box .prev-next {
margin-top: 8px;
font-size: 0.9em;
}
.alttp-box .prev-next div {
display: inline-block;
}
.alttp-box .prev a:before {
content: '< ';
}
.alttp-box .next {
float: right;
margin-left: 12px;
}
.alttp-box .next a:after {
content: ' >';
}