Font structure updates

This commit is contained in:
maximstewart 2021-02-09 23:30:42 -06:00
parent 4192726cf6
commit e26495882f
22 changed files with 12 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -1,16 +1,13 @@
@font-face {
font-family: Dosis;
src: url("/static/fonts/dosis/Dosis-Regular.ttf"),
url("/static/fonts/dosis/Dosis-Medium.ttf"),
url("/static/fonts/dosis/Dosis-Light.ttf"),
url("/static/fonts/dosis/Dosis-ExtraLight.ttf"),
url("/static/fonts/dosis/Dosis-Bold.ttf"),
url("/static/fonts/dosis/Dosis-ExtraBold.ttf"),
url("/static/fonts/dosis/Dosis-SemiBold.ttf"),
url("/static/fonts/Dosis-VariableFont_wght.ttf"),
url("/static/fonts/fa-brands-400.ttf"),
url("/static/fonts/fa-regular-400.ttf"),
url("/static/fonts/fa-solid-900.ttf");
src: url("/static/css/fonts/dosis/Dosis-Regular.ttf"),
url("/static/css/fonts/dosis/Dosis-Medium.ttf"),
url("/static/css/fonts/dosis/Dosis-Light.ttf"),
url("/static/css/fonts/dosis/Dosis-ExtraLight.ttf"),
url("/static/css/fonts/dosis/Dosis-Bold.ttf"),
url("/static/css/fonts/dosis/Dosis-ExtraBold.ttf"),
url("/static/css/fonts/dosis/Dosis-SemiBold.ttf"),
url("/static/css/fonts/Dosis-VariableFont_wght.ttf");
font-style: normal;
font-display: auto;
}

View File

@ -79,7 +79,7 @@ class FilesList extends React.Component {
<div class="card-header">
{card_header}
</div>
<div class="card-body">
<div class="card-body text-center">
{card_body}
</div>
<div class="card-footer">

View File

@ -12,7 +12,7 @@ const goUpADirectory = () => {
const scrollFilesToTop = () => {
const target = document.getElementById('files');
target..scrollIntoView();
target.scrollIntoView();
}
@ -223,7 +223,7 @@ const clearCache = () => {
const rep = /.*\?.*/;
let links = document.getElementsByTagName('link'),
scripts = document.getElementsByTagName('script'),
links = document.getElementsByTagName('video'),
video = document.getElementsByTagName('video'),
process_scripts = false;
for (let i = 0; i < links.length; i++) {

View File

@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-sm bg-dark navbar-dark sticky-top justify-content-center text-center">
<nav class="container navbar navbar-expand-sm bg-dark navbar-dark sticky-top">
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarTogglerHeader" aria-controls="navbarTogglerHeader"
aria-expanded="false" aria-label="Toggle Header Navigation">