mirror of
https://github.com/1f349/1f349.com.git
synced 2024-11-09 22:32:56 +00:00
60 lines
1.0 KiB
CSS
60 lines
1.0 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Ubuntu';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('/fonts/Ubuntu.woff2') format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Fira Code';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('/fonts/FiraCode-Regular.woff2') format('woff2');
|
|
}
|
|
|
|
body {
|
|
margin-top: 5em;
|
|
margin-left: 10%;
|
|
margin-right: 10%;
|
|
font-family: 'Ubuntu';
|
|
}
|
|
|
|
main {
|
|
width: 90%;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
body {
|
|
margin-left: 1.5em;
|
|
margin-right: 1.5em;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
code.utf-desc {
|
|
font-family: 'Fira Code', monospace;
|
|
font-size: 14.4px;
|
|
background-color: #121212;
|
|
padding: 1em;
|
|
display: block;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
code.utf-desc pre {
|
|
white-space: pre-line;
|
|
margin-block: 5px;
|
|
}
|
|
|
|
a {
|
|
color: tomato;
|
|
}
|