website/src/lib/app.css

63 lines
1017 B
CSS
Raw Normal View History

2022-08-04 21:20:02 +05:30
@font-face {
font-family: Raleway;
src: url("/Raleway.ttf");
font-display: swap;
}
html {
2022-08-06 21:44:05 +05:30
--accent: #00a584;
--accent-translucent: #00a58498;
2022-08-04 21:20:02 +05:30
--font-primary: Raleway;
--font-header: Raleway;
--primary: #151515;
--secondary: #252525;
--tertiary: #353535;
--text: #ffffffde;
--grey: #5454547a;
2022-08-08 13:16:52 +05:30
--alt: #333;
2022-08-12 16:45:39 +05:30
--alt-text: #ddd;
color-scheme: dark;
}
html.light {
--primary: #dddddd;
--secondary: #f9f3f3;
--tertiary: #939393;
--text: #444444;
--grey: #444444;
2022-08-08 13:16:52 +05:30
--alt: #ddd;
--alt-text: #333;
color-scheme: light;
}
body {
font-family: var(--font-primary);
background-color: var(--primary);
color: var(--text);
margin: 0;
display: flex;
flex-direction: column;
position: relative;
min-height: 100vh;
line-height: 1.625;
2022-08-08 10:50:03 +05:30
transition: all 0.25s;
}
::selection {
background-color: var(--accent-translucent);
}
main {
padding: 1rem;
}
a {
text-decoration: underline;
color: var(--accent);
text-underline-offset: 5px;
2022-08-05 19:31:15 +05:30
transition: filter 0.25s;
}
2022-08-04 21:20:02 +05:30
a:hover {
filter: brightness(125%);
2022-08-17 23:38:10 +05:30
}