tilde/gruvbox/gruvbox.css

89 lines
1.8 KiB
CSS

@font-face{
font-family: 'JetBrains Mono';
src: local('JetBrains Mono'),
url('https://tilde.team/~ben/fonts/jetbrains-mono/eot/JetBrainsMono-Regular.eot') format('embedded-opentype'),
url('https://tilde.team/~ben/fonts/jetbrains-mono/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://tilde.team/~ben/fonts/jetbrains-mono/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://tilde.team/~ben/fonts/jetbrains-mono/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
main {
-webkit-font-feature-settings: "liga" on, "calt" on;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: 'JetBrains Mono', monospace;
max-width: 38rem;
padding: 2rem;
margin: auto;
}
@media only screen and (max-device-width: 736px) {
main {
padding: 0rem;
}
}
::selection {
background: #d3869b;
}
body {
background: #282828;
color: #ebdbb2;
}
pre {
background-color: #3c3836;
padding: 1em;
border: 0;
}
a, a:active, a:visited {
color: #b16286;
background-color: #1d2021;
}
h1, h2, h3, h4, h5 {
margin-bottom: .1rem;
}
blockquote {
border-left: 1px solid #bdae93;
margin: 0.5em 10px;
padding: 0.5em 10px;
}
footer {
align: center;
}
@media (prefers-color-scheme: light) {
body {
background: #fbf1c7;
color: #3c3836;
}
pre {
background-color: #ebdbb2;
padding: 1em;
border: 0;
}
a, a:active, a:visited {
color: #b16286;
background-color: #f9f5d7;
}
h1, h2, h3, h4, h5 {
margin-bottom: .1rem;
}
blockquote {
border-left: 1px solid #655c54;
margin: 0.5em 10px;
padding: 0.5em 10px;
}
}