mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-22 00:04:20 +01:00
ecc8846229
Signed-off-by: Magic_RB <magic_rb@redalder.org>
236 lines
3.5 KiB
CSS
236 lines
3.5 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");
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
* {
|
|
font-family: "Ubuntu Regular";
|
|
}
|
|
|
|
ul {
|
|
padding: 0 0 0 1rem;
|
|
}
|
|
|
|
code {
|
|
background-color: #eee;
|
|
border: 1px solid #999;
|
|
padding: 0rem 0.1rem 0rem 0.1rem;
|
|
font-family: "Ubuntu Mono";
|
|
}
|
|
|
|
blockquote {
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
.TINY {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.WARNING {
|
|
background-color: #eee;
|
|
border: 1px solid #FF0000;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
font-family: "Ubuntu Mono";
|
|
}
|
|
|
|
.note {
|
|
background-color: #eee;
|
|
border: 1px solid #999;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
pre {
|
|
background-color: #111;
|
|
color: #fff;
|
|
border: 1px solid #999;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
font-family: "Ubuntu Mono";
|
|
|
|
overflow-x: auto;
|
|
}
|
|
|
|
#table-of-contents {
|
|
position: sticky;
|
|
top: 0;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
#content :is(h1, h2, h3, h4, h5, h6) {
|
|
display: inline;
|
|
border-bottom: 0.15rem solid #9c0000;
|
|
width: 100%;
|
|
padding-bottom: 0.1rem;
|
|
line-height: 1.75em;
|
|
}
|
|
|
|
#content a {
|
|
text-decoration: underline;
|
|
color: black;
|
|
}
|
|
|
|
a.card-link {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
#organizer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#content p {
|
|
flex-basis: auto;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
|
|
.sidebar {
|
|
flex-basis: auto;
|
|
padding: 0.5rem 0.5rem 0 0.5rem;
|
|
}
|
|
|
|
@media only screen and (orientation: landscape) {
|
|
#organizer {
|
|
flex-direction: row;
|
|
}
|
|
|
|
#content {
|
|
flex-basis: 80%;
|
|
margin: 0 0 0 0;
|
|
}
|
|
|
|
.sidebar {
|
|
flex-basis: 10%;
|
|
}
|
|
}
|
|
|
|
#content.textual {
|
|
margin: 0.5rem 2rem 0 2rem;
|
|
}
|
|
|
|
.card-toplevel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-link {
|
|
text-decoration: none;
|
|
margin: 1rem 0 1rem 0;
|
|
}
|
|
|
|
.card-separator {
|
|
width: 0.1rem;
|
|
background-color: black;
|
|
margin: 0 1rem 0 0;
|
|
}
|
|
|
|
.card-entry {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 1.0rem 1.0rem 1.0rem 1.0rem;
|
|
|
|
border-radius: 0.5rem;
|
|
border: 0.1rem solid black;
|
|
box-shadow: 0rem 0.1875rem 0.1875rem 0.0625rem rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.card-icon {
|
|
max-width: 10rem;
|
|
max-height: 10rem;
|
|
width: 10rem;
|
|
height: 10rem;
|
|
min-width: 10rem;
|
|
min-height: 10rem;
|
|
margin: 0 1rem 0 0;
|
|
margin: 0 1rem 0 0;
|
|
}
|
|
|
|
.card-icon-text {
|
|
text-size-adjust: auto;
|
|
}
|
|
|
|
.card-body {
|
|
color: black;
|
|
}
|
|
|
|
.card-heading {
|
|
|
|
}
|
|
|
|
.card-content {
|
|
|
|
}
|
|
|
|
#navbar-organizer {
|
|
display: flex;
|
|
}
|
|
|
|
#navbar-spacer {
|
|
width: 0%;
|
|
}
|
|
|
|
#navbar-toplevel {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
@media only screen and (orientation: landscape) {
|
|
#navbar-spacer {
|
|
padding: 0 0.5rem 0 0.5rem;
|
|
width: 10%;
|
|
}
|
|
|
|
#navbar-toplevel {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.navbar-item {
|
|
padding: 1rem 0rem 0rem 0rem;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar-click {
|
|
width: 80%;
|
|
display: block;
|
|
text-decoration: none;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.navbar-text {
|
|
padding: 0rem 0rem 1rem 0rem;
|
|
font-size: 1.5rem;
|
|
color: black;
|
|
}
|
|
|
|
.navbar-underline {
|
|
height: 0.1rem;
|
|
background-color: #9c0000;
|
|
}
|
|
|
|
#navbar-toplevel > a:nth-child(-n+1) {
|
|
margin-left: 1rem;
|
|
}
|