You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

257 lines
6.0 KiB

@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 400;
src: url(noto-ikea-400i.latin-ext.5f8f91ea.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 400;
src: url(noto-ikea-400i.latin.10395910.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 700;
src: url(noto-ikea-700i.latin-ext.3637155a.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 700;
src: url(noto-ikea-700i.latin.29eb18bb.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 400;
src: url(noto-ikea-400.latin-ext.edd421f4.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 400;
src: url(noto-ikea-400.latin.647e877d.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 700;
src: url(noto-ikea-700.latin-ext.97f0d455.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 700;
src: url(noto-ikea-700.latin.d7277c39.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
:root {
--clr-white: #fff;
--clr-black: #000;
--clr-dark-yellow: #F0B902;
--clr-medium-yellow: #FFDE52;
--clr-light-yellow: #FFF3AE;
--clr-text-highlight: #CCE8FE;
--clr-error: #0058a3;
--ff-ikea: "Noto IKEA", "Noto Sans", "Roboto", "Open Sans", system-ui, sans-serif;
--shadow: 0px 0px 10px 2px rgba(0,0,0,0.1);
--fs-s: 0.875rem;
--fs-base: 1rem;
--fs-lg: 1.125rem;
--fs-xl: 1.75rem;
--fs-2xl: 2rem;
--fs-3xl: 2.5rem;
--fs-4xl: 5.625rem;
font: 16px/1.3 var(--ff-ikea);
}
#debug {
position: fixed;
bottom: 0;
left: 0;
font: 0.75rem ui-monospace;
padding: 1em;
max-width: 40ch;
}
.turbo-progress-bar {
height: 3px;
background-color: #0058a3;
}
body {
background-color: var(--clr-dark-yellow);
color: var(--clr-black);
margin: 0;
display: flex;
flex-direction: column;
gap: 0;
min-height: 100vh;
min-height: 100dvh;
-webkit-font-smoothing: antialiased;
touch-action: manipulation;
background-image: var(--bg-landscape);
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
@media (orientation: portrait) {
background-image: var(--bg-portrait);
}
}
ul[class] {
margin: 0 auto;
padding: 0;
list-style: none;
}
header {
padding: 0.75rem;
flex-grow: 0;
z-index: 11;
position: absolute;
& svg {
width: 203px;
height: auto;
max-width: 60vw;
}
}
path.logo-text {
fill: var(--clr-white);
}
:has(main .with-backdrop) {
& header path.logo-text {
fill: var(--clr-black);
}
& footer {
color: var(--clr-black);
}
}
footer {
position: fixed;
font-size: 0.75rem;
line-height: 1.2;
right: 0.75rem;
top: 0.75rem;
font-family: var(--ff-ikea);
writing-mode: vertical-rl;
text-orientation: mixed;
z-index: 10;
color: var(--clr-white);
}
[data-locale] {
display: none;
}
html[lang="en"] [data-locale='en'],
html[lang="zh"] [data-locale='zh'],
html[lang="hr"] [data-locale='hr'],
html[lang="cs"] [data-locale='cs'],
html[lang="da"] [data-locale='da'],
html[lang="nl"] [data-locale='nl'],
html[lang="fi"] [data-locale='fi'],
html[lang="fr"] [data-locale='fr'],
html[lang="fr-CA"] [data-locale='fr-CA'],
html[lang="de"] [data-locale='de'],
html[lang="hu"] [data-locale='hu'],
html[lang="it"] [data-locale='it'],
html[lang="ja"] [data-locale='ja'],
html[lang="ko"] [data-locale='ko'],
html[lang="nb"] [data-locale='nb'],
html[lang="pl"] [data-locale='pl'],
html[lang="pt"] [data-locale='pt'],
html[lang="ro"] [data-locale='ro'],
html[lang="sr"] [data-locale='sr'],
html[lang="sk"] [data-locale='sk'],
html[lang="sl"] [data-locale='sl'],
html[lang="es"] [data-locale='es'],
html[lang="sv"] [data-locale='sv'],
html[lang="uk"] [data-locale='uk'] {
display: revert;
}
main {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem;
}
article {
background-color: var(--clr-white);
padding: 2rem 1.5rem;
max-width: 48ch;
& > *:first-child {
margin-block-start: 0;
}
}
h2 {
line-height: 1.2;
margin-block-end: 1em;
}
p {
margin-block-end: 1em;
}
.action-container {
margin-block-start: 2em;
display: flex;
flex-direction: column;
gap: 0.4em;
}
button {
appearance: none;
border: none;
background-color: var(--clr-black);
color: var(--clr-white);
padding: 0.6em 1em;
cursor: pointer;
border-radius: 0.4em;
}