Fix #24
This commit is contained in:
parent
ffa53e79e5
commit
de24879ce5
34
sass/fonts.scss
Normal file
34
sass/fonts.scss
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
@mixin ubuntu {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
font-display: swap;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin ubuntu-ext {
|
||||||
|
@include ubuntu;
|
||||||
|
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 {
|
||||||
|
@include ubuntu;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url(/ubuntu-latin-700.woff2) format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
@include ubuntu-ext;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url(/ubuntu-latin-ext-700.woff2) format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
@include ubuntu;
|
||||||
|
font-weight: 300;
|
||||||
|
src: url(/ubuntu-latin-300.woff2) format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
@include ubuntu-ext;
|
||||||
|
font-weight: 300;
|
||||||
|
src: url(/ubuntu-latin-ext-300.woff2) format('woff2');
|
||||||
|
}
|
BIN
static/ubuntu-latin-300.woff2
Normal file
BIN
static/ubuntu-latin-300.woff2
Normal file
Binary file not shown.
BIN
static/ubuntu-latin-700.woff2
Normal file
BIN
static/ubuntu-latin-700.woff2
Normal file
Binary file not shown.
BIN
static/ubuntu-latin-ext-300.woff2
Normal file
BIN
static/ubuntu-latin-ext-300.woff2
Normal file
Binary file not shown.
BIN
static/ubuntu-latin-ext-700.woff2
Normal file
BIN
static/ubuntu-latin-ext-700.woff2
Normal file
Binary file not shown.
|
@ -5,9 +5,8 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Welcome to Yash's Website!</title>
|
<title>Welcome to Yash's Website!</title>
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<!-- <link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,700;1,300;1,700&display=swap" rel="stylesheet"> -->
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link href="/fonts.css" rel="stylesheet">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,700;1,300;1,700&display=swap" rel="stylesheet">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="og:title" content="Welcome to Yash's Website!" />
|
<meta property="og:title" content="Welcome to Yash's Website!" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
|
Loading…
Reference in a new issue