60 lines
1.2 KiB
CSS
60 lines
1.2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--c-bg: #121212;
|
|
--c-text: #fdfffc;
|
|
--c-primary: #884b6a;
|
|
--c-purple: #7F669D;
|
|
--c-purple-light: #BA94D1;
|
|
--c-box-shadow: #FBFACD;
|
|
--c-pink: #AE508D;
|
|
|
|
--c-secondary: rgba(136,75,106, 0.5);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--c-bg: #F7FFE5;
|
|
--c-text: #121212;
|
|
--c-purple: #374259;
|
|
--c-purple-light: #BA94D1;
|
|
--c-box-shadow: #374259;
|
|
--c-primary: rgb(255, 180, 180);
|
|
--c-pink: #374259;
|
|
|
|
--c-secondary: rgba(255, 180, 180, 0.5);
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: 'Fira Sans Condensed', Inter, sans-serif;
|
|
}
|
|
|
|
pre, code {
|
|
font-family: Inconsolata, monospace;
|
|
}
|
|
|
|
.button-effect-receiver {
|
|
transition: transform 150ms;
|
|
}
|
|
|
|
.button-effect:hover .button-effect-receiver {
|
|
transform: translateX(-3px) translateY(-3px);
|
|
}
|
|
|
|
|
|
/* 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);
|
|
}
|