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

76 lines
985 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;
}
.inputWithButton {
display: flex;
}
.inputWithButton > *:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.inputWithButton > *:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/* Header */
header .container {
text-align: center;
}
header h1 > a {
color: black;
}
/* Footer */
footer {
margin-bottom: 3rem;
}
#footerVersion {
float: right;
}