65 lines
1.3 KiB
CSS
65 lines
1.3 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-nav-bg: rgb(18, 18, 18, 0.5);
|
|
--c-secondary: rgba(136,75,106, 0.5);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--c-bg: rgb(255, 247, 255);
|
|
--c-text: #121212;
|
|
--c-purple: #374259;
|
|
--c-purple-light: #BA94D1;
|
|
--c-box-shadow: #374259;
|
|
--c-primary: rgb(255, 180, 180);
|
|
--c-pink: #374259;
|
|
|
|
--c-nav-bg: rgb(255, 247, 255, 0.5);
|
|
--c-secondary: rgba(255, 255, 240, 0.5);
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: 'Fira Sans Condensed', Inter, sans-serif;
|
|
}
|
|
|
|
pre, code {
|
|
font-family: 'Fira Code', Inconsolata, monospace;
|
|
}
|
|
|
|
.button-effect-receiver {
|
|
transition: transform 150ms;
|
|
}
|
|
|
|
.button-effect:hover .button-effect-receiver {
|
|
transform: translateX(-3px) translateY(-3px);
|
|
}
|
|
|
|
.markdown p {
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
/* 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);
|
|
}
|