Current section
Files
Jump to
Current section
Files
templates/vanilla/priv/static/assets/css/app.css
/**
* The CSS Reset
* from: https://www.joshwcomeau.com/css/custom-css-reset/
*/
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* 2. Remove default margin */
* {
margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
html {
interpolate-size: allow-keywords;
}
}
body {
/* 4. Add accessible line-height */
line-height: 1.5;
/* 5. Improve text rendering */
-webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
font: inherit;
}
/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
text-wrap: balance;
}
/*
10. Create a root stacking context
*/
#root,
#__next {
isolation: isolate;
}
/**
* Fonts
*/
@font-face {
font-family: "Instrument Sans Variable";
font-style: normal;
font-display: swap;
font-weight: 400 700;
src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Instrument Sans Variable";
font-style: normal;
font-display: swap;
font-weight: 400 700;
src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
U+A720-A7FF;
}
/**
* The app's CSS
*/
* {
font-family:
"Instrument Sans Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.page-container {
min-height: 100vh;
padding: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
background-color: #fdfdfc;
color: #706f6c;
@media (prefers-color-scheme: dark) {
background-color: #0a0a0a;
color: #a1a09a;
}
}
.main-container {
display: flex;
flex-direction: column;
}
.main-container > :not(:last-child) {
margin-block-start: 1.5rem;
margin-block-end: 1.5rem;
}
.logo {
width: 100%;
max-width: 250px;
}
.description {
font-size: 1.25rem;
line-height: calc(1.75 / 1.25);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}