Font fix & title style

This commit is contained in:
Theo 2024-10-29 16:00:49 +01:00
parent 9cc8f67e80
commit d627086025
4 changed files with 35 additions and 3 deletions

View File

@ -3,6 +3,13 @@
src: url(MononokiNerdFont-Regular.ttf); src: url(MononokiNerdFont-Regular.ttf);
} }
@font-face {
font-family: mononoki;
src: url(MononokiNerdFont-Regular.ttf);
font-weight: normal;
}
@font-face { @font-face {
font-family: mononoki; font-family: mononoki;
src: url(MononokiNerdFont-Bold.ttf); src: url(MononokiNerdFont-Bold.ttf);
@ -12,11 +19,13 @@
@font-face { @font-face {
font-family: mononoki; font-family: mononoki;
src: url(MononokiNerdFont-Italic.ttf); src: url(MononokiNerdFont-Italic.ttf);
font-weight: italic; font-weight: normal;
font-style: italic;
} }
@font-face { @font-face {
font-family: mononoki; font-family: mononoki;
src: url(MononokiNerdFont-BoldItalic.ttf); src: url(MononokiNerdFont-BoldItalic.ttf);
font-weight: bold italic; font-weight: bold;
font-style: italic;
} }

View File

@ -18,13 +18,23 @@ div.side-by-side article {
} }
a.hidden { a.hidden {
font-weight: normal;
font-style: normal; font-style: normal;
text-decoration: none; text-decoration: none;
color: var(--main-ft-color); color: var(--main-ft-color);
} }
h1 a.hidden {
font-weight: bold;
}
h3 {
margin-left: .65em;
}
article header { article header {
margin-top: 5px; margin-top: 5px;
font-size: large;
} }
main p { main p {

View File

@ -26,13 +26,26 @@ body {
* { * {
font-family: 'mononoki'; font-family: 'mononoki';
font-weight: normal;
} }
h1 { h1 {
font-size: 2.5em;
font-weight: bold;
text-decoration: double underline; text-decoration: double underline;
} }
h2 {
font-size: xx-large;
}
h3 {
font-size: x-large;
}
a.button { a.button {
font-style: normal ;
text-decoration: none; text-decoration: none;
color: var(--main-a-color); color: var(--main-a-color);