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%;
}
html, body {
font-family: 'Ubuntu-Regular', sans-serif;
}
#wrapper {
display: flex;
#content-wrapper {

View File

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

View File

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

View File

@ -2,4 +2,5 @@
@use "../fontawesome.scss";
@use "util.css";
@use "../ubuntu.scss";
@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 ]*/

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');
}