1
0
Fork 0

Use Ubuntu font globally

master
Anonymous Contributor 2023-09-06 16:00:33 +02:00
parent 79959cc696
commit 7be78e387d
7 changed files with 24 additions and 23 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,10 @@ body {
height: 100%; height: 100%;
} }
html, body {
font-family: 'Ubuntu-Regular', sans-serif;
}
#wrapper { #wrapper {
display: flex; display: flex;
#content-wrapper { #content-wrapper {

View File

@ -20,7 +20,7 @@
border: 0; border: 0;
font-weight: 900; font-weight: 900;
content: '\f105'; content: '\f105';
font-family: 'Font Awesome 5 Free'; font-family: 'Font Awesome 6 Free', sans-serif;
} }
} }
&.show { &.show {

View File

@ -4,8 +4,9 @@
// Import Custom Variables // Import Custom Variables
@import "variables.scss"; @import "variables.scss";
// Import FA // Import Fonts
@import "../fontawesome.scss"; @import "../fontawesome.scss";
@import "../ubuntu.scss";
// FA CSS classes // FA CSS classes
@import "../node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss"; @import "../node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss";

View File

@ -2,4 +2,5 @@
@use "../fontawesome.scss"; @use "../fontawesome.scss";
@use "util.css"; @use "util.css";
@use "../ubuntu.scss";
@use "main.css"; @use "main.css";

View File

@ -1,22 +1,3 @@
/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
font-family: Ubuntu-Regular;
font-display: swap;
src: url('../fonts/ubuntu/Ubuntu-Regular.ttf');
}
@font-face {
font-family: Ubuntu-Bold;
font-display: swap;
src: url('../fonts/ubuntu/Ubuntu-Bold.ttf');
}
/*////////////////////////////////////////////////////////////////// /*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/ [ RESTYLE TAG ]*/

14
scss/ubuntu.scss Normal file
View File

@ -0,0 +1,14 @@
/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
font-family: Ubuntu-Regular;
font-display: swap;
src: url('../fonts/ubuntu/Ubuntu-Regular.ttf');
}
@font-face {
font-family: Ubuntu-Bold;
font-display: swap;
src: url('../fonts/ubuntu/Ubuntu-Bold.ttf');
}