mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-22 08:04:21 +01:00
7353ecca26
Signed-off-by: Magic_RB <magic_rb@redalder.org>
92 lines
1.4 KiB
CSS
92 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: "Ubuntu Medium";
|
|
src: url(../ttf/ubuntu-medium.ttf) format("truetype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Ubuntu Regular";
|
|
src: url(../ttf/ubuntu-regular.ttf) format("truetype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Ubuntu Mono";
|
|
src: url(../ttf/ubuntu-mono.ttf) format("truetype");
|
|
}
|
|
|
|
* {
|
|
font-family: "Ubuntu Regular";
|
|
}
|
|
|
|
ul {
|
|
padding: 0 0 0 1rem;
|
|
}
|
|
|
|
code {
|
|
background-color: #eee;
|
|
border: 0.01rem solid #999;
|
|
padding: 0rem 0.1rem 0rem 0.1rem;
|
|
}
|
|
|
|
|
|
.TINY {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.WARNING {
|
|
background-color: #eee;
|
|
border: 1px solid #FF0000;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
font-family: "Ubuntu Mono";
|
|
}
|
|
|
|
pre {
|
|
background-color: #eee;
|
|
border: 1px solid #999;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
font-family: "Ubuntu Mono";
|
|
}
|
|
|
|
#table-of-contents {
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
#content :is(h1, h2, h3, h4, h5, h6) {
|
|
display: inline;
|
|
border-bottom: 0.15rem solid #165578;
|
|
width: 100%;
|
|
padding-bottom: 0.1rem;
|
|
line-height: 1.75em;
|
|
}
|
|
|
|
#organizer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#content p {
|
|
flex-basis: auto;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
|
|
.sidebar {
|
|
flex-basis: auto;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
#organizer {
|
|
flex-direction: row;
|
|
}
|
|
|
|
#content {
|
|
flex-basis: 80%;
|
|
}
|
|
|
|
.sidebar {
|
|
flex-basis: 10%;
|
|
}
|
|
}
|