Files
buildpath/frontend/assets/css/main.css
vhaudiquet e5050d65de
All checks were successful
pipeline / build-and-push-images (push) Successful in 23s
pipeline / deploy (push) Successful in 6s
Mobile layout (fix #2)
2024-12-01 15:10:34 +01:00

58 lines
1015 B
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
--color-surface: #312E2C;
--color-on-surface: #B7B8E1;
--color-surface-darker: #1f1d1c;
}
/* Font setting */
h1,h2,h3,h4,h5,h6,p,a,input[type=text] {
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
color: var(--color-on-surface);
}
/* Default margins to none */
h1,h2,h3,h4,h5,h6,p,a {
margin: 0px;
}
body {
background-color: var(--color-surface);
padding: 0;
margin: 0;
/* default value: font-size: 16px; */
}
@media only screen and (max-width: 650px) {
body {
font-size: 12px;
}
html {
font-size: 12px;
}
}
/* Different title settings */
h1 {
font-size: 2.5rem;
font-weight: 500;
}
h2 {
font-size: 1.5rem;
font-weight: 400;
}
h3 {
font-size: 1.5rem;
font-weight: 300;
}
a {
text-decoration: none;
}