FeDirect/static/main.css

184 lines
2.7 KiB
CSS
Raw Normal View History

2025-01-13 14:10:35 +01:00
:root {
--red: #cb0b0b;
--blue: #2081c3;
2025-01-14 10:49:44 +01:00
--transparent-black: #0008;
2025-01-15 07:58:48 +01:00
--xl: 4em;
2025-01-13 14:10:35 +01:00
--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);
2025-01-14 10:49:44 +01:00
background-color: var(--transparent-black);
2025-01-12 06:39:38 +01:00
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-15 07:58:48 +01:00
.align-start {
text-align: start;
}
2025-01-20 19:36:38 +01:00
.inline-block {
display: inline-block;
}
2025-01-20 19:36:38 +01:00
.align-content-center {
justify-content: center;
align-items: center;
}
2025-01-28 21:57:49 +01:00
.align-self-start {
align-self: start;
}
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
}
2025-01-15 06:44:47 +01:00
.flex-hcenter {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
height: 100%;
}
2025-01-13 14:10:35 +01:00
.flex-row {
display: flex;
flex-direction: row;
}
2025-01-14 10:49:44 +01:00
.flex-row-reverse {
display: flex;
flex-direction: row-reverse;
}
2025-01-15 07:58:48 +01:00
.flex-column {
display: flex;
flex-direction: column;
}
2025-01-14 10:49:44 +01:00
.flex-column-reverse {
display: flex;
flex-direction: column-reverse;
}
2025-01-15 06:44:47 +01:00
.flex-vevenly {
display: flex;
flex-direction: column;
justify-content: space-evenly;
height: 100%;
}
2025-01-15 07:58:48 +01:00
.wfit-content {
width: fit-content;
}
2025-01-13 14:10:35 +01:00
.half-width {
min-width: 50%;
}
.half-height {
min-height: 50%;
}
2025-01-28 23:52:17 +01:00
.full-width {
min-width: 100%;
}
2025-01-14 10:49:44 +01:00
.full-height {
min-height: 100%;
}
2025-01-20 19:36:38 +01:00
.medium-height {
height: var(--medium);
}
2025-01-13 14:10:35 +01:00
.separator-bottom {
2025-01-14 10:49:44 +01:00
border-bottom: solid 1px var(--transparent-black);
2025-01-13 14:10:35 +01:00
}
.margin-auto-top {
margin-top: auto;
}
.margin-large-bottom {
margin-bottom: var(--large);
2025-01-14 10:49:44 +01:00
}
.square {
aspect-ratio: 1;
}
.iconContainer {
width: 64px;
height: 64px;
padding: 1px;
border: solid 1px var(--transparent-black);
}
.icon {
position: relative;
max-width: 64px;
max-height: 64px;
margin: auto;
top: 50%;
left: 50%;
translate: -50% -50%;
2025-01-14 17:41:14 +01:00
}
.logo {
height: 4em;
}
.inlineIcon {
vertical-align: text-top;
2025-01-15 07:58:48 +01:00
}
.buttonPanel>* {
margin-top: min(var(--xl), 6vh);
2025-01-12 06:39:38 +01:00
}