mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-22 00:04:20 +01:00
Code blocks and better font
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
d456ffa94d
commit
ee5d885e22
|
@ -1,10 +1,15 @@
|
|||
@font-face {
|
||||
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 {
|
||||
|
@ -12,11 +17,18 @@ ul {
|
|||
}
|
||||
|
||||
code {
|
||||
border-radius: 0.3rem;
|
||||
background: #ACACAC;
|
||||
background-color: #eee;
|
||||
border: 0.01rem solid #999;
|
||||
padding: 0.1rem;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #eee;
|
||||
border: 1px solid #999;
|
||||
display: block;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
#table-of-contents {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
|
BIN
assets/ttf/ubuntu-regular.ttf
Normal file
BIN
assets/ttf/ubuntu-regular.ttf
Normal file
Binary file not shown.
Loading…
Reference in a new issue