Code blocks and better font

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-03-04 20:43:27 +01:00
parent d456ffa94d
commit ee5d885e22
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 16 additions and 4 deletions

View file

@ -1,10 +1,15 @@
@font-face { @font-face {
font-family: "Ubuntu Medium"; font-family: "Ubuntu Medium";
src: url(/ttf/ubuntu-medium.ttf) format("truetype"); src: url(../ttf/ubuntu-medium.ttf) format("truetype");
}
@font-face {
font-family: "Ubuntu Regular";
src: url(../ttf/ubuntu-regular.ttf) format("truetype");
} }
* { * {
font-family: "Ubuntu Medium"; font-family: "Ubuntu Regular";
} }
ul { ul {
@ -12,11 +17,18 @@ ul {
} }
code { code {
border-radius: 0.3rem; background-color: #eee;
background: #ACACAC; border: 0.01rem solid #999;
padding: 0.1rem; padding: 0.1rem;
} }
pre {
background-color: #eee;
border: 1px solid #999;
display: block;
padding: 0.5rem;
}
#table-of-contents { #table-of-contents {
position: sticky; position: sticky;
top: 0; top: 0;

Binary file not shown.