thp-lang.org/tailwind.css

63 lines
1.2 KiB
CSS
Raw Normal View History

2023-06-25 12:59:18 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--c-bg: #121212;
--c-text: #fdfffc;
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
--c-secondary: rgba(136,75,106, 0.5);
2023-06-25 12:59:18 +00:00
}
@media (prefers-color-scheme: light) {
:root {
--c-bg: #F7FFE5;
--c-text: #121212;
--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-07-01 01:55:29 +00:00
--c-secondary: rgba(255, 180, 180, 0.5);
2023-06-25 12:59:18 +00:00
}
}
body {
2023-07-01 01:00:17 +00:00
font-family: 'Fira Sans Condensed', Inter, sans-serif;
2023-06-25 12:59:18 +00:00
}
pre, code {
2023-09-15 03:15:35 +00:00
font-family: 'Fira Code', Inconsolata, 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);
}