2024-04-12 19:22:00 +00:00
|
|
|
/* variables */
|
|
|
|
|
2024-07-13 21:09:48 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Thin.ttf');
|
|
|
|
font-weight: 100;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Light.ttf');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Regular.ttf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Italic.ttf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Medium.ttf');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-MediumItalic.ttf');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-Bold.ttf');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Clear Sans';
|
|
|
|
src: url('/theme/fonts/ClearSans/ClearSans-BoldItalic.ttf');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Michroma';
|
|
|
|
src: url('/theme/fonts/Michroma/Michroma-Regular.ttf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-ExtraLight.otf');
|
|
|
|
font-weight: 200;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-ExtraLightIt.otf');
|
|
|
|
font-weight: 200;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Light.otf');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-LightIt.otf');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Regular.otf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-It.otf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Medium.otf');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-MediumIt.otf');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Semibold.otf');
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-SemiboldIt.otf');
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Bold.otf');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-BoldIt.otf');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-Black.otf');
|
|
|
|
font-weight: 900;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Source Code Pro';
|
|
|
|
src: url('/theme/fonts/SourceCodePro/SourceCodePro-BlackIt.otf');
|
|
|
|
font-weight: 900;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
:root {
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
--scrollbar-width: 20px; /* dumb thing that css still doesn't handle */
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
--hue-highlight: 80deg;
|
|
|
|
--hue-success: var(--hue-highlight);
|
2024-04-12 19:22:00 +00:00
|
|
|
--hue-warning: 30deg;
|
2024-04-12 19:22:00 +00:00
|
|
|
--hue-error: 320deg;
|
|
|
|
--hue-problem: 360deg;
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
--alpha-inactive: 50%;
|
2024-06-11 09:54:12 +00:00
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
--color-bg-main: hsl(0 0% 10%);
|
|
|
|
--color-text-main: hsl(0 0% 95%);
|
2024-06-03 15:50:44 +00:00
|
|
|
--color-bg-alt: hsl(0 0% 5% / 80%);
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-bg-alt-alt: hsl(0 0% 100% / 10%);
|
2024-04-12 19:22:00 +00:00
|
|
|
|
|
|
|
--color-highlight: hsl(var(--hue-highlight) 100% 50%);
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-highlight-inactive: hsl(var(--hue-highlight) 100% 50% / var(--alpha-inactive));
|
2024-04-12 19:22:00 +00:00
|
|
|
--color-highlight-contrast: var(--color-bg-main);
|
|
|
|
|
|
|
|
--color-success: hsl(var(--hue-success) 100% 50%);
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-success-inactive: hsl(var(--hue-success) 100% 50% / var(--alpha-inactive));
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
--color-warning: hsl(var(--hue-warning) 100% 50%);
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-warning-inactive: hsl(var(--hue-warning) 100% 50% / var(--alpha-inactive));
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
--color-error: hsl(var(--hue-error) 100% 50%);
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-error-inactive: hsl(var(--hue-error) 100% 50% / var(--alpha-inactive));
|
2024-04-12 19:22:00 +00:00
|
|
|
|
|
|
|
--color-problem-off: hsl(var(--hue-problem) 100% 50% / 0%);
|
|
|
|
--color-problem-on: hsl(var(--hue-problem) 100% 50% / 100%);
|
|
|
|
|
|
|
|
--font-main: 'Clear Sans', sans;
|
|
|
|
--font-decorative: 'Michroma', sans;
|
2024-07-13 21:09:48 +00:00
|
|
|
--font-monospace: 'Source Code Pro', monospace;
|
2024-04-12 19:22:00 +00:00
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
--distance-typographic-width: 50rem; /* make this 80rex whenever rex support drops in firefox */
|
2024-04-12 19:22:00 +00:00
|
|
|
--distance-main: 1rem;
|
|
|
|
--distance-major: 5rem;
|
|
|
|
--distance-minor: 0.5rem;
|
2024-10-14 14:54:17 +00:00
|
|
|
|
|
|
|
--menu-burger-width: 4rem;
|
|
|
|
--menu-burger-height: var(--menu-burger-width);
|
|
|
|
|
|
|
|
--ease-bounce: cubic-bezier(0.695, 0.095, 0.215, 1.130);
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
* {
|
2024-06-11 09:54:12 +00:00
|
|
|
box-sizing: border-box;
|
2024-06-03 15:50:44 +00:00
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
/* animations */
|
|
|
|
|
|
|
|
@keyframes problem {
|
|
|
|
|
|
|
|
0% {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
box-shadow: 0 0 5rem var(--color-problem-off);
|
|
|
|
}
|
|
|
|
|
|
|
|
45% {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
box-shadow: 0 0 5rem var(--color-problem-off);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
background: var(--color-problem-on);
|
|
|
|
box-shadow: 0 0 5rem var(--color-problem-on);
|
|
|
|
}
|
|
|
|
|
|
|
|
95% {
|
|
|
|
background: var(--color-problem-on);
|
|
|
|
box-shadow: 0 0 5rem var(--color-problem-on);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
box-shadow: 0 0 5rem var(--color-problem-off);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
/* scroll behavior */
|
|
|
|
:target {
|
|
|
|
scroll-margin-top: var(--distance-major);
|
|
|
|
}
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
/* common elements */
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-highlight-inactive);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:focus {
|
|
|
|
color: var(--color-highlight);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2024-05-17 00:56:17 +00:00
|
|
|
a + .scoredlink-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
2024-05-02 18:57:38 +00:00
|
|
|
|
2024-06-11 09:54:12 +00:00
|
|
|
ul {
|
|
|
|
list-style: square;
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
ul li {
|
|
|
|
margin-top: var(--distance-minor);
|
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
img {
|
2024-08-16 15:57:08 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
pre {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
/* layout? */
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
html {
|
2024-10-14 14:54:17 +00:00
|
|
|
background-color: var(--color-bg-main);
|
2024-04-12 19:22:00 +00:00
|
|
|
color: var(--color-text-main);
|
|
|
|
font-family: var(--font-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
min-height: 100vh;
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2024-10-27 20:43:21 +00:00
|
|
|
#bg {
|
2024-10-14 14:54:17 +00:00
|
|
|
position: fixed;
|
|
|
|
z-index: -1;
|
|
|
|
width: 150vw;
|
2024-10-27 20:43:21 +00:00
|
|
|
transform: rotate(-15deg) translate(46%, -74%);
|
2024-10-14 14:54:17 +00:00
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
body > header,
|
|
|
|
body > footer,
|
2024-04-12 19:22:00 +00:00
|
|
|
body > .menus {
|
2024-04-12 19:22:00 +00:00
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header {
|
2024-06-18 01:38:50 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-06-18 01:38:50 +00:00
|
|
|
.security-info,
|
|
|
|
.seal-message {
|
|
|
|
max-width: 20rem;
|
2024-05-20 02:10:17 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.security-info span {
|
2024-11-04 12:17:28 +00:00
|
|
|
display: block;
|
2024-05-20 02:10:17 +00:00
|
|
|
font-size: 70%;
|
|
|
|
color: var(--color-highlight-inactive);
|
|
|
|
}
|
|
|
|
|
|
|
|
.security-info .client-cert-fingerprint {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.security-info .client-cert-fingerprint.unmatched {
|
|
|
|
color: var(--color-error);
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
.logo {
|
2024-06-18 01:38:50 +00:00
|
|
|
margin: 0 auto;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
.logo img {
|
2024-04-12 19:22:00 +00:00
|
|
|
display: block;
|
|
|
|
height: 10rem;
|
2024-06-29 03:36:26 +00:00
|
|
|
margin: var(--distance-main) 0;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-06-18 01:38:50 +00:00
|
|
|
.seal-message {
|
|
|
|
margin-top: calc(2 * var(--distance-main));
|
|
|
|
padding: var(--distance-minor);
|
|
|
|
right: calc(2 * var(--distance-major));
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 120%;
|
|
|
|
text-align: center;
|
|
|
|
background: var(--color-highlight);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
transform: rotate(-5deg);
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
body > .menus {
|
2024-04-12 19:22:00 +00:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2024-04-12 19:22:00 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body > footer {
|
2024-04-12 19:22:00 +00:00
|
|
|
/*position: sticky;
|
|
|
|
top: 100%;*/
|
2024-06-16 23:46:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2024-04-12 19:22:00 +00:00
|
|
|
padding: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
flex-grow: 1; /* let main fill available screen space */
|
2024-06-11 09:54:12 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-11 18:31:28 +00:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
main > .tabs {
|
|
|
|
border-bottom: var(--distance-minor) solid var(--color-highlight-inactive);
|
|
|
|
}
|
|
|
|
|
|
|
|
main > .tabs:has(a:hover),
|
|
|
|
main > .tabs:has(a:focus) {
|
|
|
|
border-color: var(--color-highlight);
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main > h1 {
|
|
|
|
display: block;
|
2024-11-04 12:17:28 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: var(--distance-typographic-width);
|
2024-04-12 19:22:00 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: var(--font-decorative);
|
2024-06-15 14:19:08 +00:00
|
|
|
font-weight: normal;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* notifications */
|
|
|
|
|
|
|
|
.notifications .messages {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications .message {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
padding: var(--distance-minor);
|
2024-07-27 01:05:56 +00:00
|
|
|
color: var(--color-text-main);
|
2024-04-12 19:22:00 +00:00
|
|
|
margin-top: var(--distance-minor);
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications .message::before {
|
|
|
|
content: "ⓘ";
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
font-size: 200%;
|
|
|
|
line-height: 100%;
|
|
|
|
vertical-align: -20%; /* not middle because glyphs arent vertically centered */
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.success,
|
|
|
|
.notifications .message.success {
|
2024-07-27 01:05:56 +00:00
|
|
|
color: var(--color-success);
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.success::before,
|
|
|
|
.notifications .message.success::before {
|
2024-04-12 19:22:00 +00:00
|
|
|
content: "✔";
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.warning,
|
|
|
|
.notifications .message.warning {
|
2024-07-27 01:05:56 +00:00
|
|
|
color: var(--color-warning);
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.warning::before,
|
|
|
|
.notifications .message.warning::before {
|
2024-04-12 19:22:00 +00:00
|
|
|
content: "⚠";
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.error,
|
|
|
|
.notifications .message.error {
|
2024-07-27 01:05:56 +00:00
|
|
|
color: var(--color-error);
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.error::before,
|
|
|
|
.notifications .message.error::before {
|
2024-04-12 19:22:00 +00:00
|
|
|
content: "✖";
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
/* menus */
|
|
|
|
|
|
|
|
nav menu {
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2024-06-15 14:19:08 +00:00
|
|
|
flex-wrap: wrap;
|
2024-04-12 19:22:00 +00:00
|
|
|
gap: var(--distance-main);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a {
|
|
|
|
display: block;
|
|
|
|
color: var(--color-text-main);
|
|
|
|
text-decoration: none;
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
font-size: 150%;
|
|
|
|
padding: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-05-13 02:52:45 +00:00
|
|
|
nav a.active {
|
|
|
|
background: var(--color-highlight-inactive);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a:hover,
|
|
|
|
nav a:focus {
|
2024-04-12 19:22:00 +00:00
|
|
|
background: var(--color-highlight);
|
|
|
|
color: var(--color-highlight-contrast);
|
2024-05-07 03:11:48 +00:00
|
|
|
text-decoration: none;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav a.trail {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: var(--distance-minor) solid var(--color-highlight);
|
|
|
|
padding-bottom: calc( var(--distance-main) - var(--distance-minor) );
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
/* burgers */
|
|
|
|
|
|
|
|
.with-burger .burgers {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (screen and orientation: portrait), (max-width: 100rem) {
|
|
|
|
|
2024-11-04 12:17:28 +00:00
|
|
|
body > header,
|
|
|
|
body > footer {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header .security-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header .seal-message {
|
|
|
|
position: relative;
|
|
|
|
right: initial;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer > * {
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer menu {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer menu a {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer object,
|
|
|
|
body > footer img {
|
|
|
|
max-width: 80vw !important;
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
body > .menus {
|
|
|
|
/* this element (currently) contains all burgered content */
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
2024-11-04 12:17:28 +00:00
|
|
|
/*left: calc(100vw - var(--menu-burger-width));*/
|
|
|
|
left: calc(100% - var(--menu-burger-width));
|
2024-10-14 14:54:17 +00:00
|
|
|
top: 10rem;
|
|
|
|
background: transparent;
|
|
|
|
backdrop-filter: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger {
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers + * { /* element following .burgers */
|
|
|
|
position: fixed;
|
2024-11-04 12:17:28 +00:00
|
|
|
width: calc(100% - var(--menu-burger-width));
|
2024-10-14 14:54:17 +00:00
|
|
|
min-height: 25vh;
|
|
|
|
left: -100vw;
|
|
|
|
top: 0;
|
|
|
|
transition: left 0.3s ease-in;
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger:has(.burgers:target) .burgers + * {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger:has(.burgers:target) .burgers .burger.hide {
|
|
|
|
background-color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers .burger {
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--menu-burger-width);
|
|
|
|
height: var(--menu-burger-height);
|
|
|
|
color: transparent;
|
|
|
|
background-color: var(--color-highlight-inactive);
|
|
|
|
background-image: url('/theme/svg/burger.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 50%;
|
|
|
|
background-position: center;
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers a.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers:target a.show {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers:target a.hide {
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
/*background-image: url('static/burger.svg#active');*/
|
|
|
|
/*background-color: var(--color-dark-background-highlight);*/
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-burger .burgers .burger:hover,
|
|
|
|
.with-burger .burgers .burger:focus {
|
|
|
|
background-color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* specific burgered content */
|
|
|
|
|
|
|
|
#menu-main menu {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-main menu a {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-main menu a.trail {
|
|
|
|
border: 0 none;
|
|
|
|
background-color: var(--color-highlight-inactive);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
padding-bottom: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-main menu a.trail:hover,
|
|
|
|
#menu-main menu a.trail:focus {
|
|
|
|
background-color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-wrapper .burgers .burger {
|
|
|
|
background-image: url('/theme/svg/search.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
body > .menus .searchminiform {
|
|
|
|
margin-top: var(--distance-major);
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > .menus .searchminiform button {
|
|
|
|
background-color: var(--color-highlight-inactive);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
}
|
2024-10-22 15:02:22 +00:00
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
body > .menus .searchminiform button:hover,
|
|
|
|
body > .menus .searchminiform button:focus
|
|
|
|
{
|
|
|
|
background-color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
/* footer */
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > footer menu {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2024-04-12 19:22:00 +00:00
|
|
|
|
2024-11-04 12:17:28 +00:00
|
|
|
body > footer object,
|
|
|
|
body > footer img {
|
|
|
|
max-width: 20%;
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > footer menu li {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > footer menu a {
|
2024-04-12 19:22:00 +00:00
|
|
|
background: transparent;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
color: hsl(0 0% 60%);
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > footer menu a:hover,
|
|
|
|
body > footer menu a:focus {
|
|
|
|
color: hsl(0 0% 90%) !important;
|
|
|
|
background: transparent;
|
2024-04-12 19:22:00 +00:00
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > footer menu a.active,
|
|
|
|
body > footer menu a.trail {
|
|
|
|
background: transparent;
|
2024-04-12 19:22:00 +00:00
|
|
|
color: hsl(0 0% 75%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* content types */
|
|
|
|
|
|
|
|
/* fallback error page */
|
|
|
|
#problem::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 10rem;
|
|
|
|
height: 10rem;
|
|
|
|
border-radius: 5rem;
|
|
|
|
border: 1rem solid #666;
|
|
|
|
margin: 0 auto;
|
|
|
|
animation: problem 2s ease-in-out infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
#problem {
|
|
|
|
position: relative;
|
|
|
|
width: 20rem;
|
|
|
|
min-height: 30rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: var(--distance-main);
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
top: 50vh;
|
|
|
|
translate: 0 -50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#problem h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* regular error page */
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
body.content-type-errorpage main {
|
2024-04-12 19:22:00 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.errorpage {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
position: relative;
|
|
|
|
width: 40rem;
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: 100%;
|
2024-04-12 19:22:00 +00:00
|
|
|
min-height: 10rem;
|
2024-04-12 19:22:00 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: var(--distance-main);
|
|
|
|
background: var(--color-highlight);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
font-size: 200%;
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.errorpage > .moji {
|
|
|
|
font-size: 300%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.errorpage > .content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.errorpage > .content > h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 200%;
|
|
|
|
font-weight: bold;
|
2024-06-11 18:31:28 +00:00
|
|
|
background: var(--color-highlight-contrast);
|
2024-04-12 19:22:00 +00:00
|
|
|
color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.errorpage > .content > .message {
|
|
|
|
margin-top: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-05-13 02:52:45 +00:00
|
|
|
.pagination {
|
|
|
|
font-size: 0.7rem;
|
2024-06-11 09:54:12 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination nav menu {
|
|
|
|
justify-content: center;
|
2024-05-13 02:52:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination nav a {
|
|
|
|
line-height: 1em;
|
|
|
|
text-align: center;
|
|
|
|
background: var(--color-highlight-inactive);
|
2024-10-14 14:54:17 +00:00
|
|
|
transition-duration: 0.2s;
|
|
|
|
transition-timing-function: var(--ease-bounce);
|
|
|
|
transition-property: scale, background-color;
|
2024-05-13 02:52:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination nav a.current-page {
|
|
|
|
background: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.pagination nav a:hover,
|
|
|
|
.pagination nav a:focus {
|
|
|
|
background: var(--color-highlight);
|
|
|
|
scale: 1.2;
|
|
|
|
}
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
article.tagcollection ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.tagcollection ul li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.tagcollection ul li a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: var(--distance-minor);
|
|
|
|
background: var(--color-highlight-inactive);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
font-weight: 300;
|
|
|
|
text-decoration: none;
|
|
|
|
transition-duration: 0.2s;
|
|
|
|
transition-timing-function: var(--ease-bounce);
|
|
|
|
transition-property: scale, background-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.tagcollection ul li a:hover,
|
|
|
|
article.tagcollection ul li a:focus {
|
|
|
|
background: var(--color-highlight);
|
|
|
|
scale: 1.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-08-16 15:57:08 +00:00
|
|
|
/* common constructs */
|
|
|
|
|
|
|
|
article .unpublished {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 250%;
|
|
|
|
margin-left: var(--distance-minor);
|
|
|
|
margin-top: var(--distance-minor);
|
|
|
|
cursor: help;
|
2024-10-14 14:54:17 +00:00
|
|
|
z-index: 500; /* place warning above full view headings */
|
|
|
|
}
|
|
|
|
|
|
|
|
a.download {
|
|
|
|
display: block;
|
|
|
|
padding-left: 4.5rem;
|
|
|
|
line-height: 4rem; /* smaller size, determines background size */
|
|
|
|
background-image: url('/theme/svg/download.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.download:hover {
|
|
|
|
background-image: url('/theme/svg/download.svg#hover');
|
|
|
|
}
|
|
|
|
|
|
|
|
a.download:active {
|
|
|
|
background-image: url('/theme/svg/download.svg#pressed');
|
2024-08-16 15:57:08 +00:00
|
|
|
}
|
2024-06-03 15:50:44 +00:00
|
|
|
|
2024-04-21 14:02:58 +00:00
|
|
|
/* generic modals */
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal:target,
|
|
|
|
.modal:has(:target) {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2024-08-16 15:57:08 +00:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
overflow: auto;
|
2024-04-21 14:02:58 +00:00
|
|
|
z-index: 2000;
|
2024-08-16 15:57:08 +00:00
|
|
|
min-width: 100vw;
|
2024-11-04 12:17:28 +00:00
|
|
|
/*backdrop-filter: blur(8px); */ /* breaks fixed for a[href="#__close"] */
|
2024-08-16 15:57:08 +00:00
|
|
|
/* see: https://stackoverflow.com/a/1384613 */
|
|
|
|
background: var(--color-bg-alt);
|
2024-04-21 14:02:58 +00:00
|
|
|
}
|
|
|
|
|
2024-11-04 12:17:28 +00:00
|
|
|
.modal a[href="#__close"] {
|
2024-04-21 14:02:58 +00:00
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 2100;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: 4rem;
|
|
|
|
line-height: 4rem;
|
|
|
|
text-decoration: none;
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
2024-09-01 16:52:27 +00:00
|
|
|
color: var(--color-error-inactive);
|
|
|
|
|
|
|
|
}
|
2024-04-21 14:02:58 +00:00
|
|
|
|
2024-11-04 12:17:28 +00:00
|
|
|
.modal a[href="#__close"]:hover {
|
2024-09-01 16:52:27 +00:00
|
|
|
color: var(--color-error);
|
2024-04-21 14:02:58 +00:00
|
|
|
}
|
|
|
|
|
2024-08-16 15:57:08 +00:00
|
|
|
.modal img {
|
|
|
|
/* enable images to be shown at full scale, even if too big for viewport */
|
|
|
|
max-width: none !important;
|
|
|
|
max-height: none !important;
|
|
|
|
overflow: visible !important;
|
2024-08-18 08:44:31 +00:00
|
|
|
object-fit: none;
|
2024-08-16 15:57:08 +00:00
|
|
|
}
|
|
|
|
|
2024-10-29 11:19:03 +00:00
|
|
|
.modal .content {
|
|
|
|
/* vertical centering for smaller than viewport height */
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
/* checkbox for clean content toggles */
|
|
|
|
/* we use this construct because <details> isn't animatable */
|
|
|
|
|
|
|
|
.toggle-input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-label {
|
2024-06-17 22:32:06 +00:00
|
|
|
display: inline-block !important;
|
|
|
|
padding: var(--distance-minor) var(--distance-main);
|
|
|
|
background: var(--color-highlight-inactive);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
cursor: s-resize;
|
2024-09-01 16:52:27 +00:00
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
2024-06-17 22:32:06 +00:00
|
|
|
transition: background 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-label::after {
|
|
|
|
content: '' !important;
|
2024-05-02 18:57:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-label:hover,
|
|
|
|
.toggle-input:focus + .toggle-label {
|
2024-06-17 22:32:06 +00:00
|
|
|
background: var(--color-highlight);
|
2024-05-02 18:57:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-input + .toggle-label + * {
|
|
|
|
max-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: max-height 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
.toggle-input:checked + .toggle-label {
|
|
|
|
cursor: n-resize;
|
|
|
|
}
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
.toggle-input:checked + .toggle-label + * {
|
2024-11-04 12:17:28 +00:00
|
|
|
max-height: 500vh;
|
2024-05-02 18:57:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* comments */
|
|
|
|
|
2024-10-29 11:19:03 +00:00
|
|
|
.comments {
|
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
.comment {
|
2024-10-29 11:19:03 +00:00
|
|
|
border-left: var(--distance-minor) solid var(--color-highlight-inactive);
|
|
|
|
padding-left: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .meta span {
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .nick {
|
|
|
|
float: left;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .nick::after {
|
|
|
|
content: ' wrote';
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .replies {
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .replies .comment-reply-form {
|
|
|
|
margin-bottom: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment .replies .comment {
|
|
|
|
|
2024-05-02 18:57:38 +00:00
|
|
|
}
|
|
|
|
|
2024-06-11 09:54:12 +00:00
|
|
|
/* teasers */
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
.mode-teaser,
|
|
|
|
.mode-admin-teaser {
|
2024-10-22 15:02:22 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
position: relative; /* enables z-index */
|
2024-06-11 09:54:12 +00:00
|
|
|
background: var(--color-bg-alt);
|
2024-10-14 14:54:17 +00:00
|
|
|
transition: scale 0.2s var(--ease-bounce);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
}
|
|
|
|
|
2024-10-27 20:43:21 +00:00
|
|
|
article.renderable.mode-teaser > header h2,
|
|
|
|
article.renderable.mode-teaser > header .meta {
|
|
|
|
padding-left: var(--distance-main);
|
|
|
|
padding-right: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
.mode-teaser > .content,
|
|
|
|
.mode-teaser > .content .teaser-link,
|
|
|
|
.mode-admin-teaser > .content,
|
|
|
|
.mode-admin-teaser > .content .teaser-link {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mode-teaser > .content,
|
|
|
|
.mode-teaser > .content .teaser-link,
|
|
|
|
.mode-admin-teaser > .content,
|
|
|
|
.mode-admin-teaser > .content .teaser-link {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mode-teaser a,
|
|
|
|
.mode-admin-teaser a {
|
2024-10-14 14:54:17 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: var(--color-text-main);
|
|
|
|
}
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
.mode-teaser:hover,
|
|
|
|
.mode-teaser:has(:focus),
|
|
|
|
.mode-admin-teaser:hover,
|
|
|
|
.mode-admin-teaser:has(:focus) {
|
|
|
|
scale: 1.05;
|
2024-10-14 14:54:17 +00:00
|
|
|
z-index: 50;
|
2024-06-11 18:31:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
.mode-teaser > .content .teaser-link section {
|
|
|
|
background: transparent;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-27 20:43:21 +00:00
|
|
|
.mode-teaser > .content .teaser-link section p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mode-teaser > .content .teaser-link section p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2024-10-22 15:02:22 +00:00
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
/*.mode-teaser > :first-child,
|
|
|
|
.mode-admin-teaser > :first-child {*/
|
|
|
|
/* keeping original selector around in case it was actually a smart thing to do */
|
2024-10-27 20:43:21 +00:00
|
|
|
.mode-teaser > .content .teaser-link,
|
|
|
|
.mode-admin-teaser > .content .teaser-link {
|
|
|
|
padding: 0 var(--distance-main);
|
|
|
|
padding: var(--distance-main);
|
2024-06-11 09:54:12 +00:00
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
/* lead images */
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
.mode-teaser .lead-image img,
|
|
|
|
.mode-admin-teaser .lead-image img {
|
2024-06-11 09:54:12 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 20rem;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
.mode-teaser .lead-image .lead-image-fallback,
|
|
|
|
.mode-admin-teaser .lead-image .lead-image-fallback {
|
2024-06-11 09:54:12 +00:00
|
|
|
/* fallback is the logo, which is quadratic, center it at 20rem height */
|
|
|
|
display: block;
|
|
|
|
width: 20rem;
|
|
|
|
max-width: 100%;
|
|
|
|
height: 20rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
.lead-image .description {
|
2024-06-11 09:54:12 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-07-27 01:05:56 +00:00
|
|
|
.mode-full .lead-image img {
|
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
.mode-teaser > footer .tabs,
|
|
|
|
.mode-admin-teaser > footer .tabs {
|
2024-06-11 18:31:28 +00:00
|
|
|
font-size: 80%
|
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
.mode-teaser img,
|
|
|
|
.mode-admin-teaser img,
|
2024-06-29 03:36:26 +00:00
|
|
|
.mode-teaser video,
|
|
|
|
.mode-admin-teaser video {
|
|
|
|
/*max-height: calc(100vh - (3 * var(--distance-major)));*/
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
article.administerable > header {
|
|
|
|
position: relative; /* makes absolute in > h1 relative to header bounds */
|
|
|
|
}
|
|
|
|
|
|
|
|
article.administerable > header > h1 {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 200%;
|
2024-10-29 11:19:03 +00:00
|
|
|
max-width: 100vw;
|
2024-06-03 15:50:44 +00:00
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
margin: 0;
|
2024-10-29 11:19:03 +00:00
|
|
|
padding: var(--distance-main);
|
2024-06-03 15:50:44 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.administerable > header > h1.on-lead-image {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
translate: 0 -50%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
article.administerable > header > article.upload {
|
|
|
|
margin-bottom: var(--distance-major);
|
|
|
|
}
|
|
|
|
|
2024-06-11 09:54:12 +00:00
|
|
|
/* listings */
|
|
|
|
|
|
|
|
.listing {
|
|
|
|
margin: var(--distance-main) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.listing > .noitems {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.listing > ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: var(--distance-main) var(--distance-major);
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
gap: var(--distance-main);
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.listing > ul > li {
|
|
|
|
flex-basis: calc(33vw - (2 * var(--distance-main)) - (2 * var(--distance-major)) );
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 20rem;
|
|
|
|
max-width: 40rem;
|
|
|
|
}
|
|
|
|
|
2024-06-15 14:19:08 +00:00
|
|
|
.listing > ul > li > .mode-teaser,
|
|
|
|
.listing > ul > li > .mode-admin-teaser {
|
2024-10-22 15:02:22 +00:00
|
|
|
height: 100%; /* makes all teasers in the same row have the same height */
|
2024-06-11 09:54:12 +00:00
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
/* renderables */
|
|
|
|
|
|
|
|
article.renderable > .content > h1,
|
|
|
|
article.renderable > .content > h2,
|
|
|
|
article.renderable > .content > h3,
|
|
|
|
article.renderable > .content > h4,
|
|
|
|
article.renderable > .content > h5,
|
|
|
|
article.renderable > .content > h6 {
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: var(--distance-typographic-width);
|
2024-06-03 15:50:44 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-10-27 20:43:21 +00:00
|
|
|
article.renderable header .meta,
|
|
|
|
article.renderable footer .meta {
|
2024-10-26 18:31:31 +00:00
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
2024-10-27 20:43:21 +00:00
|
|
|
padding: var(--distance-main) 0;
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
font-size: 80%;
|
|
|
|
text-align: right;
|
2024-10-26 18:31:31 +00:00
|
|
|
}
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
article.administerable > .content section {
|
2024-06-03 15:50:44 +00:00
|
|
|
background: hsla(0 0 5 / 90%);
|
|
|
|
backdrop-filter: blur(8px);
|
2024-06-15 14:19:08 +00:00
|
|
|
max-width: var(--distance-typographic-width);
|
2024-06-03 15:50:44 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: var(--distance-main);
|
2024-09-01 16:52:27 +00:00
|
|
|
margin-bottom: var(--distance-main);
|
2024-10-14 14:54:17 +00:00
|
|
|
|
|
|
|
font-size: 120%;
|
|
|
|
text-align: justify;
|
2024-10-22 15:02:22 +00:00
|
|
|
line-height: 120%;
|
2024-09-01 16:52:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
article.administerable > .content section:last-child {
|
|
|
|
margin-bottom: 0;
|
2024-06-03 15:50:44 +00:00
|
|
|
}
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
|
|
|
|
article.administerable > .content section:has(p:empty:only-child) {
|
2024-06-03 15:50:44 +00:00
|
|
|
|
|
|
|
/* this is a hack that takes care of an edge case for another hack.
|
|
|
|
* namely, the inline_renderable and section markdown plugins have
|
|
|
|
* no awareness of each other (because they happen in different "chains",
|
|
|
|
* 'core' vs. 'inline'). inlin_renderable does `</section>{ body}<section>`
|
|
|
|
* to break its contents out of the current <section>, but if another
|
|
|
|
* heading is encountered directly after a renderable, it will result in
|
|
|
|
* an "empty" <section><p></p></section>.
|
|
|
|
*/
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* uploads */
|
|
|
|
|
2024-10-22 15:02:22 +00:00
|
|
|
article.upload {
|
|
|
|
margin-bottom: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
article.upload .description {
|
2024-10-22 15:02:22 +00:00
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: var(--distance-main);
|
2024-06-03 15:50:44 +00:00
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
article.image img {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
article.image img,
|
2024-06-15 14:19:08 +00:00
|
|
|
article.video video {
|
2024-06-03 15:50:44 +00:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
2024-10-14 14:54:17 +00:00
|
|
|
max-height: 80vh;
|
|
|
|
margin: 0 auto;
|
2024-06-29 03:36:26 +00:00
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
article.audio audio {
|
2024-06-03 15:50:44 +00:00
|
|
|
|
|
|
|
display: block;
|
2024-10-14 14:54:17 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: var(--distance-typographic-width);
|
2024-06-03 15:50:44 +00:00
|
|
|
margin: 0 auto;
|
2024-10-14 14:54:17 +00:00
|
|
|
background: #444;
|
|
|
|
}
|
|
|
|
|
2024-10-26 18:31:31 +00:00
|
|
|
article.image.mode-inline .description {
|
2024-10-22 15:02:22 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 50vw;
|
|
|
|
translate: -50% -100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.file .description {
|
|
|
|
padding: 0;
|
|
|
|
padding-left: 4.5rem;
|
|
|
|
translate: 0 100%;
|
|
|
|
background: transparent;
|
|
|
|
backdrop-filter: none;
|
|
|
|
pointer-events: none;
|
2024-10-14 14:54:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fileinfo {
|
|
|
|
height: 4rem; /* remove -100% y-translated filesize from height */
|
2024-10-22 15:02:22 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
2024-10-14 14:54:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fileinfo .filesize {
|
|
|
|
display: block;
|
|
|
|
margin-left: 4.5rem;
|
|
|
|
translate: 0 -100%;
|
|
|
|
pointer-events: none; /* otherwise, element interferes with link */
|
2024-06-03 15:50:44 +00:00
|
|
|
}
|
|
|
|
|
2024-04-21 14:02:58 +00:00
|
|
|
/* galleries (and their modal behavior) */
|
|
|
|
|
|
|
|
article.gallery {}
|
|
|
|
|
|
|
|
article.gallery .gallery-preview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2024-09-01 16:52:27 +00:00
|
|
|
justify-content: center;
|
2024-04-21 14:02:58 +00:00
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
article.gallery img.preview {
|
2024-04-21 14:02:58 +00:00
|
|
|
width: 10rem;
|
|
|
|
height: 10rem;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 2001;
|
|
|
|
background: var(--color-bg-main);
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item:target {
|
|
|
|
z-index: 2002;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image {
|
|
|
|
width: 100vw;
|
|
|
|
height: calc(100vh - 10rem);
|
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
article.gallery .gallery-item-image > img {
|
2024-04-21 14:02:58 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
object-fit: scale-down;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image > .description {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 10rem; /* this should hopefully mean that multi-line descriptions grow upwards */
|
|
|
|
/* TODO: max-height + overflow-y: hidden to make really long descriptions scrollable? */
|
|
|
|
z-index: 2003;
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image .gallery-arrows ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image .gallery-arrows ul a {
|
|
|
|
display: inline-block;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 2003;
|
|
|
|
top: calc((100vh - 10rem) / 2);
|
|
|
|
translate: 0 -50%;
|
|
|
|
font-size: 5rem;
|
|
|
|
opacity: 0.5;
|
|
|
|
text-shadow: 0 0 1rem #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image .gallery-arrows ul a:hover {
|
|
|
|
background: transparent;
|
|
|
|
color: var(--color-text-main);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image .gallery-arrows ul .previous {
|
|
|
|
left: var(--distance-major);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item-image .gallery-arrows ul .next {
|
|
|
|
right: var(--distance-major);
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item .gallery-item-preview {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.gallery .gallery-item .gallery-item-preview.active {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
/* forms */
|
|
|
|
|
|
|
|
input, textarea {
|
2024-06-11 09:54:12 +00:00
|
|
|
--color-border: var(--color-highlight-inactive);
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
padding: var(--distance-main);
|
2024-06-11 09:54:12 +00:00
|
|
|
background: var(--color-bg-alt);
|
2024-10-14 14:54:17 +00:00
|
|
|
backdrop-filter: blur(8px);
|
2024-06-11 09:54:12 +00:00
|
|
|
color: var(--color-text-main);
|
|
|
|
font-size: 100%;
|
|
|
|
border: 0 none;
|
|
|
|
border-bottom: 2px solid var(--color-border);
|
2024-07-13 21:09:48 +00:00
|
|
|
font-family: var(--font-monospace);
|
|
|
|
font-weight: 500;
|
2024-06-11 09:54:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
--color-border: var(--color-highlight-inactive);
|
|
|
|
padding: var(--distance-minor);
|
2024-06-03 15:50:44 +00:00
|
|
|
background: var(--color-bg-alt);
|
|
|
|
color: var(--color-text-main);
|
|
|
|
font-size: 120%;
|
2024-06-11 09:54:12 +00:00
|
|
|
border: 0 none;
|
|
|
|
border-bottom: 2px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
select,
|
|
|
|
input[type="file"] {
|
2024-06-29 03:36:26 +00:00
|
|
|
min-width: 10rem;
|
|
|
|
width: 100%;
|
2024-06-11 09:54:12 +00:00
|
|
|
max-width: 100%;
|
2024-06-03 15:50:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:focus,
|
2024-06-11 09:54:12 +00:00
|
|
|
textarea:focus,
|
|
|
|
select:focus {
|
|
|
|
--color-border: var(--color-highlight);
|
2024-06-03 15:50:44 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
2024-06-11 09:54:12 +00:00
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
2024-06-03 15:50:44 +00:00
|
|
|
min-height: 15em;
|
|
|
|
}
|
|
|
|
|
2024-06-11 09:54:12 +00:00
|
|
|
fieldset {
|
|
|
|
|
|
|
|
border: 0 none;
|
|
|
|
background: var(--color-bg-alt-alt);
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset fieldset {
|
|
|
|
background: var(--color-bg-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset fieldset fieldset {
|
|
|
|
background: var(--color-bg-alt-alt);
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
fieldset fieldset fieldset fieldset {
|
|
|
|
background: var(--color-bg-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset fieldset fieldset fieldset fieldset {
|
|
|
|
background: var(--color-bg-alt-alt);
|
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
button {
|
2024-06-11 09:54:12 +00:00
|
|
|
cursor: pointer;
|
2024-06-03 15:50:44 +00:00
|
|
|
background: var(--color-bg-alt);
|
2024-10-14 14:54:17 +00:00
|
|
|
backdrop-filter: blur(8px);
|
2024-06-03 15:50:44 +00:00
|
|
|
color: var(--color-text-main);
|
|
|
|
border: 0 none;
|
|
|
|
padding: var(--distance-main);
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover,
|
|
|
|
button:active {
|
|
|
|
background: var(--color-highlight);
|
|
|
|
color: var(--color-highlight-contrast);
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field,
|
|
|
|
form .buttons {
|
2024-06-03 15:50:44 +00:00
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field {
|
2024-06-11 09:54:12 +00:00
|
|
|
margin-top: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-07-27 01:05:56 +00:00
|
|
|
form .field .invalid,
|
|
|
|
form .field :invalid {
|
|
|
|
border-color: var(--color-error-inactive);
|
|
|
|
}
|
|
|
|
|
|
|
|
form .field .invalid:focus,
|
|
|
|
form .field :invalid:focus {
|
|
|
|
border-color: var(--color-error);
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field label {
|
2024-06-11 09:54:12 +00:00
|
|
|
display: block;
|
|
|
|
margin-bottom: var(--distance-minor);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field label::after {
|
2024-06-11 09:54:12 +00:00
|
|
|
content: ':';
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field.groupablefield label {
|
2024-06-11 18:31:28 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field.groupablefield label::after {
|
2024-06-11 18:31:28 +00:00
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .field-help-wrapper {
|
|
|
|
margin-top: var(--distance-minor);
|
|
|
|
}
|
|
|
|
|
2024-07-27 01:05:56 +00:00
|
|
|
.field input[type="range"]::-moz-range-thumb,
|
|
|
|
.field input[type="range"]::-webkit-slider-thumb {
|
|
|
|
background: var(--color-text-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
.field input[type="range"]::-moz-range-progress {
|
|
|
|
background: #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field input[type="range"]::-moz-range-track {
|
|
|
|
background: #333;
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .buttons {
|
2024-06-11 09:54:12 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-top: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-06-17 22:32:06 +00:00
|
|
|
form .buttons:has(button:only-child) {
|
2024-06-11 09:54:12 +00:00
|
|
|
justify-content: end;
|
|
|
|
}
|
|
|
|
|
2024-06-03 15:50:44 +00:00
|
|
|
/* search */
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > .menus .searchminiform {
|
2024-06-03 15:50:44 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2024-06-29 03:36:26 +00:00
|
|
|
body > .menus .searchminiform .field,
|
|
|
|
body > .menus .searchminiform input,
|
|
|
|
body > .menus .searchminiform button {
|
2024-06-11 09:54:12 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > .menus .searchminiform .field,
|
|
|
|
body > .menus .searchminiform .buttons {
|
2024-06-17 22:32:06 +00:00
|
|
|
/* reset some of the normal form styles */
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > .menus .searchminiform input {
|
2024-06-11 09:54:12 +00:00
|
|
|
background: var(--color-bg-alt-alt);
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
body > .menus .searchminiform .field-help-wrapper {
|
2024-06-17 22:32:06 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-06-11 09:54:12 +00:00
|
|
|
.searchpage #search-help-wrapper {
|
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2024-06-03 15:50:44 +00:00
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
/* ScoredLink view */
|
|
|
|
.scoredlink {
|
|
|
|
max-width: var(--distance-typographic-width);
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoredlink ul.fields {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoredlink a.url {
|
|
|
|
/*background-image: url('/theme/svg/link.svg#active');*/
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
background-position-x: right;
|
|
|
|
padding-right: 1.5em; /* leave enough space for background icon */
|
|
|
|
font-size: 150%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoredlink .field.external-site-count {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoredlink .field .value {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoredlink .field .explanation {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-bottom: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
/* Propaganda view */
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
.propaganda .text,
|
|
|
|
.propaganda .pieces {
|
|
|
|
margin-top: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
2024-10-14 14:54:17 +00:00
|
|
|
.propaganda .claim {
|
|
|
|
width: var(--distance-typographic-width);
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: 100%;
|
2024-10-14 14:54:17 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
.propaganda.mode-full .propagandapiece {
|
|
|
|
/*padding: var(--distance-main) 0;*/
|
|
|
|
margin-bottom: var(--distance-main);
|
|
|
|
padding-bottom: 1px; /* hack to ensure margin doesn't spill out of container */
|
|
|
|
}
|
|
|
|
|
2024-07-27 01:05:56 +00:00
|
|
|
.propagandapiece .preview img {
|
2024-08-16 15:57:08 +00:00
|
|
|
max-width: 100%;
|
2024-07-27 01:05:56 +00:00
|
|
|
max-height: 80vh;
|
|
|
|
}
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
.propagandapiece:nth-child(odd) {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece:nth-child(odd) > .content > section {
|
|
|
|
background: transparent;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece:nth-child(even) {
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece .files {
|
|
|
|
width: var(--distance-typographic-width);
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: 100%;
|
2024-09-01 16:52:27 +00:00
|
|
|
padding: var(--distance-main);
|
|
|
|
margin: var(--distance-main) auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece:nth-child(odd) .files {
|
|
|
|
background: var(--color-bg-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece:nth-child(even) .files {
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
}
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
.propagandapiece .modal article,
|
|
|
|
.propagandapiece .modal .content {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapiece .modal img {
|
|
|
|
}
|
|
|
|
|
|
|
|
.propaganda.mode-teaser .preview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2024-09-01 16:52:27 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propaganda.mode-teaser .preview > * {
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 25%;
|
2024-08-18 08:44:31 +00:00
|
|
|
}
|
|
|
|
|
2024-09-01 16:52:27 +00:00
|
|
|
.propaganda.mode-teaser .preview > :first-child {
|
|
|
|
flex-basis: 100%;
|
|
|
|
flex-grow: 4;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propaganda.mode-teaser .preview > :nth-child(2),
|
|
|
|
.propaganda.mode-teaser .preview > :nth-child(3) {
|
|
|
|
flex-basis: 50%;
|
|
|
|
flex-grow: 2;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-08-18 08:44:31 +00:00
|
|
|
.propaganda.mode-teaser .preview .content,
|
|
|
|
.propaganda.mode-teaser .preview article.upload,
|
|
|
|
.propaganda.mode-teaser .preview img {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propaganda.mode-teaser .preview img {
|
|
|
|
object-fit: cover;
|
2024-11-04 12:17:28 +00:00
|
|
|
max-height: none; /* allow image to take all the height it needs,
|
2024-10-29 11:19:03 +00:00
|
|
|
even if it's above the normal 50vh limitation. */
|
2024-08-18 08:44:31 +00:00
|
|
|
}
|
|
|
|
|
2024-06-29 03:36:26 +00:00
|
|
|
/* Propaganda admin */
|
|
|
|
|
|
|
|
fieldset.propagandapiece-wrapper {
|
|
|
|
|
|
|
|
/* reset default form width */
|
|
|
|
max-width: 100% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset.propagandapiece-wrapper > .fields {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset.propagandapiece-wrapper > .fields > .propagandapieceform {
|
|
|
|
max-width: calc(100% - 8rem);
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset.propagandapiece-wrapper > .fields > .form-order {
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset.propagandapiece-wrapper > .fields > .form-order > .buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
font-size: 500%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields > .field {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: var(--distance-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields > .field-collection_id,
|
|
|
|
.propagandapieceform > .fields > .field-order_pos,
|
|
|
|
.propagandapieceform > .fields > .field-description {
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields > .field-collection_id > select,
|
|
|
|
.propagandapieceform > .fields > .field-collection_id > label,
|
|
|
|
.propagandapieceform > .fields > .field-order_pos > input,
|
|
|
|
.propagandapieceform > .fields > .field-order_pos > label,
|
|
|
|
.propagandapieceform > .fields > .field-description > textarea,
|
|
|
|
.propagandapieceform > .fields > .field-description > label {
|
|
|
|
display: block;
|
|
|
|
min-width: var(--distance-typographic-width);
|
|
|
|
width: var(--distance-typographic-width);
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: 100%;
|
2024-06-29 03:36:26 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields > .field-preview {
|
|
|
|
flex-basis: 33%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
background: var(--color-bg-alt);
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceform > .fields > .field-items {
|
|
|
|
flex-basis: 67%;
|
|
|
|
max-width: 100vw;
|
|
|
|
}
|
|
|
|
|
2024-07-13 21:09:48 +00:00
|
|
|
.propagandapieceform .propagandapieceitemform.form-new,
|
|
|
|
.propagandapieceform .propagandapieceitem-wrapper,
|
|
|
|
.propagandapieceform .propagandapieceitem-wrapper > .fields > .field {
|
2024-06-29 03:36:26 +00:00
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-07-13 21:09:48 +00:00
|
|
|
.galleryitem-wrapper > .fields,
|
|
|
|
.propagandapieceitem-wrapper > .fields {
|
2024-06-29 03:36:26 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2024-07-13 21:09:48 +00:00
|
|
|
.form-order > .buttons {
|
2024-06-29 03:36:26 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: calc(100% - var(--distance-main));
|
|
|
|
}
|
|
|
|
|
2024-07-13 21:09:48 +00:00
|
|
|
.propagandapieceitemform.form-new > .fields::before {
|
2024-06-29 03:36:26 +00:00
|
|
|
content: ' ';
|
|
|
|
flex-basis: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .field-piece_id,
|
|
|
|
.propagandapieceitemform > .fields > .field-order_pos {
|
|
|
|
min-width: 100%; /* enforces full width, even with flex */
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .field-piece_id > select,
|
|
|
|
.propagandapieceitemform > .fields > .field-piece_id > label,
|
|
|
|
.propagandapieceitemform > .fields > .field-order_pos > input,
|
|
|
|
.propagandapieceitemform > .fields > .field-order_pos > label {
|
|
|
|
display: block;
|
|
|
|
width: var(--distance-typographic-width);
|
2024-11-04 12:17:28 +00:00
|
|
|
max-width: 100%;
|
2024-06-29 03:36:26 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .field-preview {
|
|
|
|
max-width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .fieldset {
|
|
|
|
flex-basis: 25%;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .fieldset.form-order > .buttons {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
justify-content:space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .fields > .fieldset.form-order > .buttons > button {
|
|
|
|
font-size: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.propagandapieceitemform > .buttons {
|
|
|
|
max-width: 100%;
|
|
|
|
flex-basis: 100%; /* ensures fieldset buttons are *below* the row-oriented rest of the fieldset */
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
/* THE BUTTON */
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
.buttonform {
|
|
|
|
padding-bottom: 2rem; /* 1 rem fake 3d side / translation + 1rem space */
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttonform > .intro {
|
2024-04-12 19:22:00 +00:00
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-family: var(--font-decorative);
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
.buttonform > .intro em {
|
2024-04-12 19:22:00 +00:00
|
|
|
color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-button {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-top: var(--distance-major);
|
2024-06-03 15:50:44 +00:00
|
|
|
padding: 0;
|
2024-04-12 19:22:00 +00:00
|
|
|
width: 12rem;
|
|
|
|
height: 12rem;
|
|
|
|
font-size: 9rem;
|
2024-06-03 15:50:44 +00:00
|
|
|
font-family: revert;
|
2024-04-12 19:22:00 +00:00
|
|
|
background: hsl(var(--hue-error) 100% 30%);
|
|
|
|
color: var(--color-bg-alt);
|
|
|
|
border: 0 none;
|
|
|
|
border-radius: 6rem;
|
2024-04-12 19:22:00 +00:00
|
|
|
box-shadow: 0 1rem hsl(var(--hue-error) 100% 20%);
|
2024-04-12 19:22:00 +00:00
|
|
|
transition:
|
2024-04-12 19:22:00 +00:00
|
|
|
translate 0.5s ease-in-out,
|
|
|
|
box-shadow 0.5s ease-in-out,
|
|
|
|
background 0.5s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-button:hover,
|
|
|
|
#the-button:focus,
|
|
|
|
#the-button:active {
|
|
|
|
translate: 0 0.75rem;
|
|
|
|
box-shadow: 0 0.25rem hsl(var(--hue-error) 100% 20%);
|
|
|
|
background: hsl(var(--hue-error) 100% 40%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-button:active {
|
2024-04-12 19:22:00 +00:00
|
|
|
translate: 0 1rem;
|
2024-04-12 19:22:00 +00:00
|
|
|
box-shadow: 0 0 hsl(var(--hue-error) 100% 20%);
|
|
|
|
background: var(--color-error);
|
|
|
|
}
|
2024-05-02 18:57:38 +00:00
|
|
|
|
|
|
|
/* no-adblock detection */
|
|
|
|
.ad {
|
|
|
|
display: none;
|
|
|
|
}
|