thp-lang.org/tailwind.css
2024-04-05 11:09:06 -03:00

76 lines
1.5 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--c-bg: #121212;
--c-text: rgb(200,200,200);
--c-text-2: white;
--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, 253, 255);
--c-text: #121212;
--c-text-2: black;
--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);
}
}
html {
font-size: 16px;
}
@media screen and (min-width: 1600px) {
html {
font-size: 17px;
}
}
body {
font-family: Inter, 'Fira Sans', Inter, sans-serif;
}
pre, code {
font-family: Iosevka, 'Fira Code', 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);
}