thp-lang.org/public/css/global.css

73 lines
1.4 KiB
CSS
Raw Normal View History

2023-06-25 12:59:18 +00:00
:root {
--c-bg: #121212;
2024-03-28 01:55:35 +00:00
--c-text: rgb(200,200,200);
--c-text-2: white;
2023-07-01 01:55:29 +00:00
--c-primary: #884b6a;
2023-06-25 12:59:18 +00:00
--c-purple: #7F669D;
--c-purple-light: #BA94D1;
--c-box-shadow: #FBFACD;
--c-pink: #AE508D;
2023-07-01 01:55:29 +00:00
2023-10-05 12:56:34 +00:00
--c-nav-bg: rgb(18, 18, 18, 0.5);
2023-07-01 01:55:29 +00:00
--c-secondary: rgba(136,75,106, 0.5);
2023-06-25 12:59:18 +00:00
}
@media (prefers-color-scheme: light) {
:root {
2024-02-20 10:17:21 +00:00
--c-bg: rgb(255, 253, 255);
2023-06-25 12:59:18 +00:00
--c-text: #121212;
2024-03-28 01:55:35 +00:00
--c-text-2: black;
2023-06-25 12:59:18 +00:00
--c-purple: #374259;
--c-purple-light: #BA94D1;
--c-box-shadow: #374259;
2023-07-01 01:55:29 +00:00
--c-primary: rgb(255, 180, 180);
2023-06-25 12:59:18 +00:00
--c-pink: #374259;
2023-10-05 12:56:34 +00:00
--c-nav-bg: rgb(255, 247, 255, 0.5);
--c-secondary: rgba(255, 255, 240, 0.5);
2023-06-25 12:59:18 +00:00
}
}
2024-01-14 00:08:57 +00:00
html {
2024-04-05 14:09:06 +00:00
font-size: 16px;
2024-01-14 00:08:57 +00:00
}
2024-04-05 14:09:06 +00:00
@media screen and (min-width: 1600px) {
html {
font-size: 17px;
}
}
2023-06-25 12:59:18 +00:00
body {
2024-03-28 01:55:35 +00:00
font-family: Inter, 'Fira Sans', Inter, sans-serif;
2023-06-25 12:59:18 +00:00
}
pre, code {
font-family: Iosevka, 'Fira Code', monospace;
2023-06-25 12:59:18 +00:00
}
.button-effect-receiver {
transition: transform 150ms;
}
.button-effect:hover .button-effect-receiver {
transform: translateX(-3px) translateY(-3px);
}
2023-09-15 03:15:35 +00:00
.markdown p {
margin: 0.75rem 0;
}
2023-07-01 01:55:29 +00:00
/* Used by headers generated from markdown */
.heading-linked :hover::after{
color: var(--c-primary);
content: "#";
display: inline-block;
font-size: 1em;
line-height: 1;
margin-left: 0.5rem;
}
.heading-linked :hover {
text-decoration: underline var(--c-primary);
}