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.

98 lines
1.9 KiB

3 years ago
/* variables */
body, body[data-theme="light"] {
--theme-color: #2463EB;
--theme-color-dilluted: rgba(36, 99, 235, 0.1);
--theme-color-500: rgba(36, 99, 235, 0.5);
--box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
--background-color: #F3F4F6;
--background-color-light: #1044b427;
--background-color-dark: #E5E7EB;
--background-color-body: white;
--text-color: black;
--padding: 20px;
--padding-lg: 50px;
--padding-xl: 100px;
}
body, body[data-theme="dark"] {
--theme-color: #2463EB;
--theme-color-dilluted: rgba(36, 99, 235, 0.1);
--theme-color-500: rgba(36, 99, 235, 0.5);
--box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
--background-color: #1F2937;
--background-color-light: #374151;
--background-color-dark: #374151;
--background-color-body: #111827;
--text-color: white;
--padding: 20px;
--padding-lg: 50px;
--padding-xl: 100px;
}
/* html */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap');
html,
body {
padding: 0;
margin: 0;
font-family: 'Red Hat Text';
font-size: 1.1rem;
3 years ago
background-color: var(--background-color-body);
color: var(--text-color);
}
h1, h2, h3, h4, h5 {
font-family: 'Red Hat Display';
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
* {
box-sizing: border-box;
}
hr {
width: 100%;
color: rgba(0,0,0,0.1);
}
/* layout */
.page {
3 years ago
background-color: var(--background-color-body);
color: var(--text-color);
}
.container {
max-width: 1000px;
margin: auto;
}
.content {
border-radius: 1em;
background-color: var(--background-color);
box-shadow: var(--box-shadow);
padding: var(--padding-xl);
display: flex;
flex-direction: column;
gap: var(--padding-lg);
}