FeDirect/static/crossroad.css

86 lines
1.4 KiB
CSS
Raw Normal View History

2025-01-13 14:10:35 +01:00
:root {
--red: #cb0b0b;
--blue: #2081c3;
--large: 2em;
--medium: 1em;
}
2025-01-12 06:39:38 +01:00
html,
body {
2025-01-13 14:10:35 +01:00
background: linear-gradient(300deg, var(--red), var(--blue));
2025-01-12 06:39:38 +01:00
background-size: 100vw 100vh;
margin: 0;
min-height: 100vh;
height: 100vh;
2025-01-13 14:10:35 +01:00
font-family: sans-serif;
2025-01-12 06:39:38 +01:00
}
dialog {
background-color: white;
border: 0;
2025-01-13 14:10:35 +01:00
border-radius: var(--large);
2025-01-12 06:39:38 +01:00
opacity: 0;
transition: opacity 0.125s ease-out;
}
dialog::backdrop {
backdrop-filter: blur(5px);
background-color: #0008;
transition: background-color 0.125s ease-out;
@starting-style {
/* This might not work on Firefox because Firefox being behind moment */
background-color: #0000;
}
}
dialog[open] {
opacity: 1;
@starting-style {
/* This might not work on Firefox because Firefox being behind moment */
opacity: 0;
}
}
2025-01-13 14:10:35 +01:00
header {
display: flex;
justify-content: space-between;
}
abbr[title] {
text-decoration-color: var(--blue);
}
2025-01-12 06:39:38 +01:00
.flex-vcenter {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 100%;
2025-01-13 14:10:35 +01:00
}
.flex-row {
display: flex;
flex-direction: row;
}
.half-width {
min-width: 50%;
}
.half-height {
min-height: 50%;
}
.separator-bottom {
border-bottom: solid 1px #0008;
}
.margin-auto-top {
margin-top: auto;
}
.margin-large-bottom {
margin-bottom: var(--large);
2025-01-12 06:39:38 +01:00
}