fix html errors

This commit is contained in:
2020-01-17 20:32:21 +01:00
parent d65201202d
commit 185449c5e6
35 changed files with 73 additions and 245 deletions

View File

@@ -8,26 +8,11 @@
}
/* Fonts */
@font-face {
font-family: 'default';
font-display: fallback;
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
src:
local('Cantarell'),
local('Cantarell Regular'),
local('Cantarell, Regular'),
local('Cantarell-Regular'),
url("/res/misc/Cantarell-Regular.otf") format("opentype");
}
@font-face {
font-family: 'light';
font-display: fallback;
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
src:
local('Cantarell Light'),
local('Cantarell, Light'),
@@ -43,7 +28,7 @@ body{
background-color: #0d0d0d; /* Fallback */
background-color: var(--body_color);
background-repeat: repeat;
font-family: "default";
font-family: sans-serif;
margin: 0;
line-height: 1.5em;
color: #bfbfbf; /* Fallback */
@@ -136,7 +121,7 @@ body{
padding: 0;
box-sizing: border-box;
text-align: left;
word-break: break-word;
word-break: break-all;
clear: both;
}
.page_body > h1 {
@@ -245,9 +230,9 @@ h1, h2, h3, h4, h5, h6 {
h1{font-size: 2em; font-family: "light"; font-weight: normal;}
h2{font-size: 1.75em; font-family: "light"; font-weight: normal;}
h3{font-size: 1.5em; font-family: "light"; font-weight: normal;}
h4{font-size: 1.25em; font-family: "default"; font-weight: normal;}
h5{font-size: 1em; font-family: "default"; font-weight: normal;}
h6{font-size: .75em; font-family: "default"; font-weight: normal;}
h4{font-size: 1.25em; font-family: sans-serif; font-weight: normal;}
h5{font-size: 1em; font-family: sans-serif; font-weight: normal;}
h6{font-size: .75em; font-family: sans-serif; font-weight: normal;}
h2, h3{border-bottom: 1px var(--layer_3_color_border) solid;} /* Differentiate it a bit, else it just looks like bold text */
p, .indent {