mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-22 08:04:21 +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-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;
|
||||||
|
|
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