100 lines
2.0 KiB
CSS
100 lines
2.0 KiB
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;
|
|
}
|
|
|
|
|
|
/* External link icon */
|
|
a.external::after {
|
|
display: inline-block;
|
|
|
|
width: 1rem;
|
|
height: 1rem;
|
|
margin-left: 0.5rem;
|
|
|
|
/* Image from https://icons.getbootstrap.com/icons/box-arrow-up-right/. MIT License. */
|
|
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg fill='currentColor' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z' fill-rule='evenodd'/%3E%3Cpath d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z' fill-rule='evenodd'/%3E%3C/svg%3E%0A");
|
|
mask-size: cover;
|
|
background-repeat: no-repeat no-repeat;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
background-color: var(--fwdekker-theme-color);
|
|
|
|
content: "";
|
|
}
|
|
|
|
|
|
/* Noscript */
|
|
noscript.fwd-jsNotice img {
|
|
position: absolute;
|
|
}
|
|
|
|
noscript.fwd-jsNotice p {
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* Header */
|
|
header .container {
|
|
text-align: center;
|
|
}
|
|
|
|
header h1 > a {
|
|
color: black;
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|
|
|
|
#fwd-toc {
|
|
position: fixed;
|
|
}
|
|
|
|
|
|
/* Footer */
|
|
.fwd-footer {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.fwd-footer #fwd-footer-version {
|
|
float: right;
|
|
}
|