]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Convert _fonts.scss to SASS
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 14 Mar 2023 11:19:28 +0000 (11:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 14 Mar 2023 11:19:28 +0000 (11:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/sass/_fonts.sass [moved from src/sass/_fonts.scss with 50% similarity]

index 1c685cd49bc0f905c7a89b0da043ddb6b374f4c1..4a9789fc26ebaf296e71c96a43b325ef8636a234 100644 (file)
@@ -342,7 +342,7 @@ templates_wiki_modulesdir = $(templates_wikidir)/modules
 SASS_FILES = \
        src/sass/main.sass \
        src/sass/_code-highlighting.scss \
-       src/sass/_fonts.scss \
+       src/sass/_fonts.sass \
        src/sass/_icons.scss \
        src/sass/_variables.scss
 
@@ -356,12 +356,10 @@ CLEANFILES += \
 static_DATA = \
        src/static/favicon.ico \
        src/static/robots.txt \
-       src/sass/fonts.css \
        src/sass/listing.css \
        src/sass/main.css
 
 CLEANFILES += \
-       src/sass/fonts.css \
        src/sass/listing.css \
        src/sass/main.css
 
similarity index 50%
rename from src/sass/_fonts.scss
rename to src/sass/_fonts.sass
index c1782fbe0c6586e3cfbb7f4ea77d878db1bea3c9..d2a18d2199bf58a9264dbcf3467ea19d5efedf96 100644 (file)
@@ -1,53 +1,47 @@
 /* latin-ext */
-@font-face {
-       font-family: "Prompt";
-       font-style: normal;
-       font-weight: 400;
-       src: local("Prompt Regular"), local("Prompt-Regular"), url(/static/fonts/Prompt-Regular.ttf) format("truetype");
-       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
+@font-face
+       font-family: "Prompt"
+       font-style: normal
+       font-weight: 400
+       src: local("Prompt Regular"), local("Prompt-Regular"), url(/static/fonts/Prompt-Regular.ttf) format("truetype")
+       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF
 
 /* latin */
-@font-face {
-       font-family: "Prompt";
-       font-style: normal;
-       font-weight: 400;
-       src: local("Prompt Regular"), local("Prompt-Regular"), url(/static/fonts/Prompt-Regular.ttf) format("truetype");
-       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;
-}
+@font-face
+       font-family: "Prompt"
+       font-style: normal
+       font-weight: 400
+       src: local("Prompt Regular"), local("Prompt-Regular"), url(/static/fonts/Prompt-Regular.ttf) format("truetype")
+       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
 
 /* latin-ext */
-@font-face {
-       font-family: 'Prompt';
-       font-style: normal;
-       font-weight: 500;
-       src: local('Prompt Medium'), local('Prompt-Medium'), url(/static/fonts/Prompt-Medium.ttf) format("truetype");
-       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
+@font-face
+       font-family: 'Prompt'
+       font-style: normal
+       font-weight: 500
+       src: local('Prompt Medium'), local('Prompt-Medium'), url(/static/fonts/Prompt-Medium.ttf) format("truetype")
+       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF
 
 /* latin */
-@font-face {
-       font-family: 'Prompt';
-       font-style: normal;
-       font-weight: 500;
-       src: local('Prompt Medium'), local('Prompt-Medium'), url(/static/fonts/Prompt-Medium.ttf) format("truetype");
-       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;
-}
+@font-face
+       font-family: 'Prompt'
+       font-style: normal
+       font-weight: 500
+       src: local('Prompt Medium'), local('Prompt-Medium'), url(/static/fonts/Prompt-Medium.ttf) format("truetype")
+       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
 
 /* latin-ext */
-@font-face {
-       font-family: "Prompt";
-       font-style: normal;
-       font-weight: 700;
-       src: local("Prompt Bold"), local("Prompt-Bold"), url(/static/fonts/Prompt-Bold.ttf) format("truetype");
-       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
+@font-face
+       font-family: "Prompt"
+       font-style: normal
+       font-weight: 700
+       src: local("Prompt Bold"), local("Prompt-Bold"), url(/static/fonts/Prompt-Bold.ttf) format("truetype")
+       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF
 
 /* latin */
-@font-face {
-       font-family: "Prompt";
-       font-style: normal;
-       font-weight: 700;
-       src: local("Prompt Bold"), local("Prompt-Bold"), url(/static/fonts/Prompt-Bold.ttf) format("truetype");
-       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;
-}
+@font-face
+       font-family: "Prompt"
+       font-style: normal
+       font-weight: 700
+       src: local("Prompt Bold"), local("Prompt-Bold"), url(/static/fonts/Prompt-Bold.ttf) format("truetype")
+       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