added Google-Based Font locally
This commit is contained in:
parent
7d669dc04f
commit
9072f2b3e2
@ -1,5 +1,4 @@
|
|||||||
/*! Themestr.app `Darkster` Bootstrap 4.3.1 theme */
|
/*! Themestr.app `Darkster` Bootstrap 4.3.1 theme */
|
||||||
@import url(https://fonts.googleapis.com/css?family=Comfortaa:200,300,400,700);
|
|
||||||
|
|
||||||
/*! Import Bootstrap 4 variables */
|
/*! Import Bootstrap 4 variables */
|
||||||
/*!
|
/*!
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'Comfortaa';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: url(../fonts/comfortaa.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding-top: 70px;
|
padding-top: 70px;
|
||||||
}
|
}
|
||||||
|
BIN
Software/data_src/static/fonts/comfortaa.woff2
Normal file
BIN
Software/data_src/static/fonts/comfortaa.woff2
Normal file
Binary file not shown.
@ -44,7 +44,7 @@ def remove_prefix(text, prefix):
|
|||||||
|
|
||||||
def gzip_webfiles(source, target, env):
|
def gzip_webfiles(source, target, env):
|
||||||
# Filetypes to compress
|
# Filetypes to compress
|
||||||
filetypes_to_gzip = ['.css', '.png', '.js', '.ico']
|
filetypes_to_gzip = ['.css', '.png', '.js', '.ico', '.woff2']
|
||||||
print('\nGZIP: Starting gzip-Process for LittleFS-Image...\n')
|
print('\nGZIP: Starting gzip-Process for LittleFS-Image...\n')
|
||||||
data_src_dir_path = os.path.join(env.get('PROJECT_DIR'), 'data_src')
|
data_src_dir_path = os.path.join(env.get('PROJECT_DIR'), 'data_src')
|
||||||
data_dir_path = env.get('PROJECT_DATA_DIR')
|
data_dir_path = env.get('PROJECT_DATA_DIR')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user