template/src/main/css/snippets/common.css

58 lines
693 B
CSS

/* Base elements */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
color: black;
}
main {
/* Flex-based footer positioning, taken from https://stackoverflow.com/a/12253099 */
display: flex;
flex-direction: column;
min-height: 100%;
}
#contents {
flex: 1;
margin-top: 5rem;
margin-bottom: 5rem;
}
/* Noscript */
noscript img {
position: absolute;
}
noscript p {
font-weight: bold;
text-align: center;
}
/* Generic classes */
.hidden {
display: none !important;
}
/* Header */
header .container {
text-align: center;
}
/* Footer */
footer {
margin-bottom: 3rem;
}
#footerVersion {
float: right;
}