Switched fonts to self-hosted #126

Merged
bema merged 4 commits from bema/ref/#121 into master 2023-03-22 11:19:59 +01:00
8 changed files with 69 additions and 8 deletions

View File

@@ -1,8 +1,32 @@
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
/* @import url('https://fonts.googleapis.com/icon?family=Material+Icons'); */
@import url('r11addons.css');
@import url('r11tables.css');
@import url('r11tool.css');
@import url('r11tooltip.css');
@import url('r11modal.css');
@import url('r11flexbox.css')
@import url('r11flexbox.css');
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-moz-font-feature-settings: 'liga';
-moz-osx-font-smoothing: grayscale;
}

View File

@@ -1,4 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');
@font-face {
font-family: "Nunito";
src: url('font/Nunito-VariableFont_wght.ttf') format('truetype');
}
input {
box-sizing: border-box;
@@ -98,7 +101,7 @@ body {
.clickable-text.switch {
font-size: 18px;
font-weight: 700;
font-weight: 300;
}
.clickable-text.switch span.toggleIndicator:before {
@@ -295,6 +298,20 @@ body {
display: none;
}
h1 {
font-weight: 400;
}
h2 {
font-weight: 400;
}
h3 {
font-weight: 400;
}
/* TODO: Add proper class */
/* textarea {
-webkit-box-sizing: border-box;

View File

@@ -1,4 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');
@font-face {
font-family: "Nunito";
src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
}
html {
background-image: url("../images/background.jpg");
@@ -6,9 +9,9 @@ html {
body {
font-family: 'Nunito', sans-serif;
font-weight: 200;
color: #2e3133;
font-weight: normal;
margin: 0px;
}
@@ -59,7 +62,7 @@ div#leftBar {
li {
font-size: 20px;
font-weight: bold;
font-weight: 300;
}
div#copyright{

View File

@@ -1,7 +1,14 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
@import url('fontello.css');
@font-face {
font-family: "Nunito";
src: url('../../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
}
body {
font-weight: 300;
}
.hyperlink, .hyperlink:visited, .hyperlink:active {
color: rgb(47, 125, 146);
@@ -54,6 +61,8 @@
.container {
font-family: 'Nunito', sans-serif;
display: flex;
justify-content: left;
width: 100%;
@@ -489,6 +498,14 @@ code {
line-height: 150%;
}
h1 {
font-weight: 400;
}
h2 {
font-weight: 300;
}
@media only screen and (max-width: 1024px) {
.rwd-hideable {
display: none;

Binary file not shown.