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

105 lines
2.0 KiB
CSS
Raw Normal View History

/* Iosevka web */
@font-face {
font-family: "Iosevka Fixed Web";
font-display: swap;
font-weight: 400;
font-stretch: normal;
font-style: normal;
src: url("/Iosevka/Regular.woff2") format("woff2");
}
@font-face {
2024-05-29 02:12:04 +00:00
font-family: 'Iosevka Fixed Web';
font-display: swap;
font-weight: 700;
font-stretch: normal;
font-style: normal;
src: url('/Iosevka/Bold.woff2') format('woff2');
}
2024-06-20 22:29:30 +00:00
:root {
--c-thp: #f472b6;
}
2023-06-25 12:59:18 +00:00
:root {
--c-bg: #121212;
2024-05-29 02:12:04 +00:00
--c-text: rgb(200, 200, 200);
2024-03-28 01:55:35 +00:00
--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;
2024-05-29 02:12:04 +00:00
--c-link: #38bdf8;
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);
2024-05-29 02:12:04 +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;
2024-05-29 02:12:04 +00:00
--c-link: #0284c7;
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;
}
}
2024-05-29 02:12:04 +00:00
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
}
2024-04-23 21:25:10 +00:00
@media only screen and (max-width: 600px) {
#editor {
font-size: 0.9em;
}
}
2024-05-29 02:12:04 +00:00
pre,
code {
font-family: "Iosevka Fixed Web", "Iosevka Nerd Font", Iosevka, 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 */
2024-05-29 02:12:04 +00:00
.heading-linked :hover::after {
2023-07-01 01:55:29 +00:00
color: var(--c-primary);
content: "#";
display: inline-block;
font-size: 1em;
line-height: 1;
margin-left: 0.5rem;
}
2024-05-29 02:12:04 +00:00
2023-07-01 01:55:29 +00:00
.heading-linked :hover {
text-decoration: underline var(--c-primary);
2024-05-29 02:12:04 +00:00
}