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.
 
 
 
 
 

311 lines
6.8 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;
--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-base: 1.6rem;
--fs-lg: 1.8rem;
--fs-xl: 2.8rem;
--fs-2xl: 3.2rem;
--fs-3xl: 5.6rem;
--flip-deg: 0deg;
--flip-scale: 1;
--flip-rotate: 0deg;
font: 10px/1.3 var(--ff-ikea);
}
body {
background-color: var(--clr-dark-yellow);
color: var(--clr-black);
margin: 0;
display: flex;
flex-direction: column;
gap: 0;
min-height: 100svh;
justify-content: end;
position: relative;
-webkit-font-smoothing: antialiased;
touch-action: manipulation;
}
ul[class] {
margin: 0 auto;
padding: 0;
list-style: none;
}
header {
position: fixed;
top: 1.2rem;
left: 1.2rem;
& svg {
width: 70px;
height: auto;
}
}
footer {
position: fixed;
font-size: 1.2rem;
line-height: 1.2;
right: 1.2rem;
top: 1.2rem;
font-family: var(--ff-ikea);
writing-mode: vertical-rl;
text-orientation: mixed;
}
.language__selector-select {
position: relative;
display: inline-block;
}
.hidden-select {
position: absolute;
opacity: 0;
width: 100%;
height: 100%;
top: 0;
left: 0;
cursor: pointer;
z-index: 1;
font-size: var(--fs-base);
border: 2px solid red;
}
.hidden-select-value {
background-color: var(--clr-black);
color: var(--clr-white);
font-size: var(--fs-base);
font-weight: 700;
font-family: var(--ff-ikea);
line-height: 1;
border-radius: 400px;
height: 43px;
padding: 0 20px;
display: inline-flex;
align-items: center;
& > div {
display: inline-flex;
align-items: baseline;
gap: 0.4em;
pointer-events: none;
}
& svg {
width: 8px;
height: auto;
}
}
.button__base {
appearance: none;
background-color: var(--clr-black);
border: 2px solid var(--clr-black);
color: var(--clr-white);
font-size: var(--fs-base);
font-family: var(--ff-ikea);
font-weight: 700;
line-height: 1.4;
height: 60px;
border-radius: 400px;
width: 100%;
cursor: pointer;
text-decoration: none;
display: inline-block;
text-align: center;
box-sizing: border-box;
padding: 0.888888888888889em 1.333333333333333em;
}
.button__base-light {
background-color: transparent;
color: var(--clr-black);
}
main {
margin: 1.2rem 1.2rem 1.6rem 1.2rem;
}
.intro-container {
display: grid;
grid-template-columns: 1;
grid-template-rows: auto;
gap: 8px;
}
.intro-content-container {
display: grid;
grid-template-columns: 1;
grid-template-rows: auto;
gap: 8px;
}
.intro-content-header,
.intro-content-body {
padding: 1.6rem 1.2rem;
border-radius: 1.2rem;
}
.intro-content-header {
background-color: var(--clr-white);
font-size: var(--fs-2xl);
line-height: 1.2;
font-weight: 700;
}
.intro-content-body {
background-color: var(--clr-medium-yellow);
font-size: var(--fs-base);
line-height: 1.4;
}
.intro-content-container button {
margin: 4px 0 0 0
}
@media (min-width: 815px) {
header {
top: 2rem;
left: 3rem;
& svg {
width: 80px;
}
}
main {
margin: 2rem 3rem;
}
footer {
top: 2rem;
right: 3rem;
}
}
[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;
}