mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-12-02 01:01:39 +00:00
Replace static font Source Sans Pro by Source Sans Variable
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
560e75ad5c
commit
b7935f078d
18 changed files with 38 additions and 44 deletions
|
@ -3,7 +3,7 @@
|
||||||
/* ----------------------------------------------------------- */
|
/* ----------------------------------------------------------- */
|
||||||
|
|
||||||
.bold {
|
.bold {
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.semibold {
|
.semibold {
|
||||||
|
|
|
@ -201,7 +201,7 @@ input[type="checkbox"] {
|
||||||
|
|
||||||
.f-required {
|
.f-required {
|
||||||
color: $input-error;
|
color: $input-error;
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.f-error input {
|
.f-error input {
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
min-height: 4rem;
|
min-height: 4rem;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: normal;
|
font-weight: 400;
|
||||||
transition: all .05s ease-in;
|
transition: all .05s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,34 +3,28 @@
|
||||||
/* ----------------------------------------------------------- */
|
/* ----------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
@font-face{
|
||||||
font-display: swap;
|
font-family: "Source Sans 3 VF";
|
||||||
font-weight: normal;
|
font-weight: 400 900;
|
||||||
font-family: "Source Sans Pro";
|
font-style: normal;
|
||||||
src: local("Source Sans Pro"), local("SourceSansPro-Regular"),
|
font-stretch: normal;
|
||||||
url("/fonts/sourcesanspro-regular-webfont.woff2") format("woff2"),
|
font-display: fallback;
|
||||||
url("/fonts/sourcesanspro-regular-webfont.woff") format("woff");
|
src:
|
||||||
|
local("SourceSans3VF"),
|
||||||
|
url('/fonts/sourcesans3vf-upright.otf.woff2') format('woff2-variations');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face{
|
||||||
font-display: swap;
|
font-family: "Source Sans 3 VF";
|
||||||
font-weight: 600;
|
font-weight: 400 900;
|
||||||
font-family: "Source Sans Pro";
|
font-style: italic;
|
||||||
src: local("Source Sans Pro Semibold"), local("SourceSansPro-Semibold"),
|
font-stretch: normal;
|
||||||
url("/fonts/sourcesanspro-semibold-webfont.woff2") format("woff2"),
|
font-display: fallback;
|
||||||
url("/fonts/sourcesanspro-semibold-webfont.woff") format("woff");
|
src:
|
||||||
|
local("SourceSans3VF Italic"),
|
||||||
|
url('/fonts/sourcesans3vf-italic.otf.woff2') format('woff2-variations');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-display: swap;
|
|
||||||
font-weight: 900;
|
|
||||||
font-family: "Source Sans Pro";
|
|
||||||
src: local("Source Sans Pro Black"), local("SourceSansPro-Black"),
|
|
||||||
url("/fonts/sourcesanspro-black-webfont.woff2") format("woff2"),
|
|
||||||
url("/fonts/sourcesanspro-black-webfont.woff") format("woff");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Fallback hack
|
// Fallback hack
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,14 @@
|
||||||
// color: inherit;
|
// color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__logo,
|
.footer__logo:where(:link, :visited) {
|
||||||
.footer__logo:link,
|
|
||||||
.footer__logo:visited {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
font-weight: bold;
|
font-weight: 900;
|
||||||
letter-spacing: 0.015em;
|
letter-spacing: 0.015em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer__logo:where(:hover, :active, :focus) {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: .4rem;
|
margin-top: .4rem;
|
||||||
color: rgba($color-light-text, .8);
|
color: rgba($color-light-text, .8);
|
||||||
font-weight: normal;
|
font-weight: 400;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
line-height: 4rem;
|
line-height: 4rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
.home-head__title {
|
.home-head__title {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-head__title span {
|
.home-head__title span {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
$base-font: 16; // px value (without unit), will be converted in em
|
$base-font: 16; // px value (without unit), will be converted in em
|
||||||
$line-height: 1.5;
|
$line-height: 1.5;
|
||||||
$fontstack1: "Source Sans Pro", "Source Sans Pro-fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
$fontstack1: "Source Sans 3 VF", "Source Sans Pro-fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
$fontstack2: Georgia, Times, "Times New Roman", serif;
|
$fontstack2: Georgia, Times, "Times New Roman", serif;
|
||||||
|
|
||||||
// responsive
|
// responsive
|
||||||
|
|
|
@ -33,13 +33,13 @@
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
@import "3-components/_forms";
|
@import "3-components/_forms";
|
||||||
@import "3-components/_switch";
|
// @import "3-components/_switch";
|
||||||
@import "3-components/_radiobox";
|
// @import "3-components/_radiobox";
|
||||||
@import "3-components/_buttons";
|
@import "3-components/_buttons";
|
||||||
@import "3-components/_pagination";
|
@import "3-components/_pagination";
|
||||||
@import "3-components/_tables";
|
// @import "3-components/_tables";
|
||||||
@import "3-components/_tooltips";
|
// @import "3-components/_tooltips";
|
||||||
@import "3-components/_notifications";
|
// @import "3-components/_notifications";
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
@import "4-base/_01-fonts";
|
@import "4-base/_01-fonts";
|
||||||
@import "4-base/_02-icons";
|
// @import "4-base/_02-icons";
|
||||||
@import "4-base/_03-grids";
|
@import "4-base/_03-grids";
|
||||||
@import "4-base/_04-main";
|
@import "4-base/_04-main";
|
||||||
// @import "4-base/_05-layout";
|
// @import "4-base/_05-layout";
|
||||||
|
|
|
@ -57,11 +57,8 @@
|
||||||
<link rel="preload" href="{{ $secureStyle.Permalink }}" as="style" />
|
<link rel="preload" href="{{ $secureStyle.Permalink }}" as="style" />
|
||||||
<link rel="stylesheet" href="{{ $secureStyle.Permalink }}" integrity="{{ $secureStyle.Data.Integrity }}">
|
<link rel="stylesheet" href="{{ $secureStyle.Permalink }}" integrity="{{ $secureStyle.Data.Integrity }}">
|
||||||
|
|
||||||
|
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesans3vf-upright.otf.woff2" crossorigin/>
|
||||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-regular-webfont.woff2" crossorigin/>
|
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesans3vf-italic.otf.woff2" crossorigin/>
|
||||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-semibold-webfont.woff2" crossorigin/>
|
|
||||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-black-webfont.woff2" crossorigin/>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
BIN
static/fonts/sourcesans3vf-italic.otf.woff2
Normal file
BIN
static/fonts/sourcesans3vf-italic.otf.woff2
Normal file
Binary file not shown.
BIN
static/fonts/sourcesans3vf-upright.otf.woff2
Normal file
BIN
static/fonts/sourcesans3vf-upright.otf.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue