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

58 lines
746 B
CSS
Raw Normal View History

/* Base elements */
html, body {
height: 100%;
margin: 0;
padding: 0;
2020-05-03 18:58:08 +02:00
}
body {
color: black;
}
2021-04-28 12:19:46 +02:00
main {
/* Flex-based footer positioning, taken from https://stackoverflow.com/a/12253099 */
display: flex;
flex-direction: column;
min-height: 100%;
}
2020-05-03 18:02:48 +02:00
#contents {
2021-04-28 12:19:46 +02:00
flex: 1;
margin-top: 5rem;
margin-bottom: 5rem;
}
2021-04-24 16:22:39 +02:00
noscript p {
color: red;
font-weight: bold;
}
2021-04-24 18:07:54 +02:00
.hidden {
display: none !important;
2021-04-24 16:22:39 +02:00
}
2021-04-24 18:07:54 +02:00
2021-04-24 16:22:39 +02:00
/* Header */
header .container {
text-align: center;
}
2021-04-24 16:22:39 +02:00
/* Footer */
footer {
margin-bottom: 3rem;
}
#footerVersion {
float: right;
}
/* Make arrow next to dropdown visible */
select {
-webkit-appearance: menulist;
-moz-appearance: menulist;
appearance: auto;
}