Difference between revisions of "MediaWiki:Common.css"
From ALttP Speedrunning Wiki
Line 40: | Line 40: | ||
float: right; | float: right; | ||
margin-left: 12px; | margin-left: 12px; | ||
+ | } | ||
+ | |||
+ | /* Standard Navigationsleisten, aka box hiding thingy | ||
+ | from .de. Documentation at [[Wikipedia:NavFrame]]. */ | ||
+ | div.NavFrame { | ||
+ | margin: 0; | ||
+ | padding: 4px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #fff; | ||
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | /* @noflip */ | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | background-color: #ccf; | ||
+ | position: relative; | ||
+ | } | ||
+ | div.NavFrame p, | ||
+ | div.NavFrame div.NavContent, | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | /* @noflip */ | ||
+ | right: 3px; | ||
+ | font-weight: normal; | ||
+ | font-size: 90%; | ||
} | } |
Revision as of 12:50, 5 January 2017
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
/* CSS placed here will be applied to all skins */
.alttp-box {
padding: 6px;
border: 1px solid #777;
display: inline-block;
float: right;
margin-left: 20px;
margin-bottom: 20px;
font-size: 0.95em;
background: #f9f9f9;
}
.alttp-box .title {
font-weight: bold;
border-bottom: 2px solid black;
text-align: center;
padding-bottom: 4px;
margin-bottom: 8px;
font-size: 1.15em;
}
.alttp-box .label {
display: inline-block;
width: 90px;
font-weight: bold;
}
.alttp-box .prev-next {
margin-top: 4px;
font-size: 0.9em;
}
.alttp-box .prev-next div {
display: inline-block;
}
.alttp-box .next {
float: right;
margin-left: 12px;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}