mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Readd Lato font
Thanks @rollerozxa for showing me an easy way to self-host Google Fonts
This commit is contained in:
parent
e8a879b7ce
commit
d69331796b
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-700.woff2
Normal file
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-700.woff2
Normal file
Binary file not shown.
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-italic.woff2
Normal file
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-italic.woff2
Normal file
Binary file not shown.
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-regular.woff2
Normal file
BIN
app/public/static/fonts/lato-v24-latin_latin-ext-regular.woff2
Normal file
Binary file not shown.
@ -9,6 +9,7 @@ a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@import "lato.scss";
|
||||
@import "components.scss";
|
||||
@import "packages.scss";
|
||||
@import "gallery.scss";
|
||||
|
26
app/scss/lato.scss
Normal file
26
app/scss/lato.scss
Normal file
@ -0,0 +1,26 @@
|
||||
/* lato-regular - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/static/fonts/lato-v24-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
|
||||
/* lato-italic - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Lato';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: url('/static/fonts/lato-v24-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
|
||||
/* lato-700 - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Lato';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('/static/fonts/lato-v24-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
@ -16,7 +16,7 @@
|
||||
{%- endif %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=4">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=49">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=50">
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||
|
||||
{% if noindex -%}
|
||||
|
Loading…
Reference in New Issue
Block a user