Compare commits
8 commits
Author | SHA1 | Date | |
---|---|---|---|
780ad7617b | |||
c0ead7f6d4 | |||
c7b1659764 | |||
cb38c12a23 | |||
0a93c3b0d5 | |||
|
7aeecd66e6 | ||
cdf080ae3e | |||
|
7f3307cb47 |
46 changed files with 230 additions and 12 deletions
21
CHANGELOG.md
21
CHANGELOG.md
|
@ -1,3 +1,24 @@
|
|||
## [v1.3.3](https://git.hadan-it.com/stiebke/hugo-internet-weblog/releases/tag/v1.3.3) - 2025-03-03
|
||||
|
||||
* ENHANCEMENTS
|
||||
* Set Referrer-Policy Meta-Header (#39)
|
||||
|
||||
## [v1.3.2](https://git.hadan-it.com/stiebke/hugo-internet-weblog/releases/tag/v1.3.2) - 2025-02-19
|
||||
|
||||
* ENHANCEMENTS
|
||||
* Added missing styling for ol elements in articles class (#38)
|
||||
|
||||
## [v1.3.1](https://git.hadan-it.com/stiebke/hugo-internet-weblog/releases/tag/v1.3.1) - 2025-02-11
|
||||
|
||||
* BUGFIXES
|
||||
* Fix to eliminate the rest of Flickr API in layouts/partials/custom_image_handler.html (#37)
|
||||
|
||||
## [v1.3](https://git.hadan-it.com/stiebke/hugo-internet-weblog/releases/tag/v1.3) - 2025-02-11
|
||||
|
||||
* ENHANCEMENTS
|
||||
* Eliminate Flickr because of cookieless browsing experience (#35)
|
||||
* Change font to "Inter" locally (#36)
|
||||
|
||||
## [v1.2](https://git.hadan-it.com/stiebke/hugo-internet-weblog/releases/tag/v1.2) - 2025-02-11
|
||||
|
||||
* WONTFIX
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
`internet-weblog` is a minimalistic (and a bit responsive) Hugo theme that offers a traditional blog mixed with a microblog and a photoblog. It also offers the ability to do simple link posts that link to a remote page. It was ported from a theme made for Octopress.
|
||||
|
||||
The theme features a customizable bio-section and flickr-based photo stream in it's footer, unique layouts for displaying all posts sorted by year, and support for partials to customize style and javascript loaded.
|
||||
The theme features unique layouts for displaying all posts sorted by year, and support for partials to customize style and javascript loaded.
|
||||
|
||||
To see more, [check out a sample site which is rendered with this theme](https://preview.hadan-it.com/hugo-internet-weblog-demo/) and see it's [configuration on my Forgejo instance](https://git.hadan-it.com/public/hugo-internet-weblog-demo).
|
||||
|
||||
|
@ -158,7 +158,6 @@ If you want to enable a dark appearance, there is limited support for that. Curr
|
|||
| `[params.author]` - `LastName` | Your last name | Not really. It is used in some places to identify you as the author. |
|
||||
| `[params.author]` - `AboutPage` | `/about` or `http://about.othersite.com` | Only if you want an about page. This is exposed to allow you to link to an external about page as well. If you have a local page it can just be something relative. |
|
||||
| `[params.author]` - `Location` | `Your City` | No. If set, this is added to the Copyright in the footer so you can give some love to your hometown. |
|
||||
| `[params.author]` - `FlickrID` | `Your Flickr ID` | No. The footer shows your photo stream from flickr. If you don't set it, nothing will be displayed. |
|
||||
| `[params]` - `Description` | `Describe your site` | No. If set, this is added to your pages metadata. |
|
||||
| `[params]` - `ShowCopyright` | `true` or `false` | No. If true, Copyright text will be added to the footer. |
|
||||
| `[params]` - `EnablePreferredDarkAppearance` | `true` or `false` | No. If true, The viewers system dark mode is respected switching to a dark appearance. |
|
||||
|
@ -191,7 +190,6 @@ SectionPagesMenu = "main"
|
|||
LastName = "Johnson"
|
||||
AboutPage = "/about"
|
||||
Location = "Durham, NC"
|
||||
FlickrID = "87151163@N00"
|
||||
|
||||
[params]
|
||||
Description = "This is my blog, read it and enjoy."
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script type="text/javascript">
|
||||
<!--<script type="text/javascript">
|
||||
|
||||
// @summary: jquery implementation
|
||||
$(function() {
|
||||
|
@ -8,4 +8,4 @@
|
|||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>-->
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
{{ partial "bio.html" . }}
|
||||
</p>
|
||||
</div>
|
||||
{{ if isset .Site.Params.Author "flickrid" | and ( not ( eq .Site.Params.Author.flickrid "" ) ) }}
|
||||
<div>
|
||||
<h3><a href="https://www.flickr.com/photos/{{ .Site.Params.Author.flickrid }}/">Photo Stream</a></h3>
|
||||
<div id="photos"></div>
|
||||
</div>
|
||||
<h3>Inhalte</h3>
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{.URL}}">{{ .Name }}</a><br />
|
||||
{{ end }}
|
||||
<a href="{{.Site.BaseURL}}{{ with .Site.Params.Author.aboutpage }}{{ . }}{{ end }}">Über</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ if .Site.Params.showcopyright }}
|
||||
|
@ -21,4 +21,4 @@
|
|||
{{ with .Site.Params.Author.location }} - Made in {{ . }}{{ end }} {{ if .Site.Params.statuspageenabled }}| <a href="{{ .Site.Params.statuspage }}" target="_blank">{{ .Site.Params.statuspagename }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</footer>
|
||||
</footer>
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
||||
<head>
|
||||
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
@ -25,6 +26,9 @@
|
|||
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL }}favicon-16x16.png">
|
||||
<link rel="manifest" href="{{ .Site.BaseURL }}site.webmanifest">
|
||||
|
||||
<link rel="preconnect" href="{{.Site.BaseURL}}">
|
||||
<link rel="stylesheet" href="{{.Site.BaseURL}}/fonts/inter.css">
|
||||
|
||||
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-palette.css" media="screen" charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-light.css" media="screen" charset="utf-8" />
|
||||
{{ if .Site.Params.EnablePreferredDarkAppearance }}
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
/* Page */
|
||||
|
||||
body {
|
||||
font: 16px/24px "Avenir Next", "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
/* font: 16px/24px "Avenir Next", "Helvetica Neue", Arial, Helvetica, sans-serif; */
|
||||
font: 16px/24px "InterDisplay", sans-serif;
|
||||
line-height: 24px;
|
||||
background-color: var(--joshin-elevation-0);
|
||||
}
|
||||
|
@ -77,6 +78,12 @@ article > ul > li {
|
|||
color: var(--joshin-primary-color-500);
|
||||
}
|
||||
|
||||
article > ol > li {
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
color: var(--joshin-primary-color-500);
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
nav {
|
||||
|
@ -261,6 +268,12 @@ article.photo img:hover {
|
|||
padding: 0 0 0 6px;
|
||||
}
|
||||
|
||||
.post-group-item ol {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0 0 0 6px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
footer {
|
||||
|
|
BIN
static/fonts/Inter-Black.woff2
Normal file
BIN
static/fonts/Inter-Black.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-BlackItalic.woff2
Normal file
BIN
static/fonts/Inter-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Bold.woff2
Normal file
BIN
static/fonts/Inter-Bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-BoldItalic.woff2
Normal file
BIN
static/fonts/Inter-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-ExtraBold.woff2
Normal file
BIN
static/fonts/Inter-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-ExtraBoldItalic.woff2
Normal file
BIN
static/fonts/Inter-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-ExtraLight.woff2
Normal file
BIN
static/fonts/Inter-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-ExtraLightItalic.woff2
Normal file
BIN
static/fonts/Inter-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Italic.woff2
Normal file
BIN
static/fonts/Inter-Italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Light.woff2
Normal file
BIN
static/fonts/Inter-Light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-LightItalic.woff2
Normal file
BIN
static/fonts/Inter-LightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Medium.woff2
Normal file
BIN
static/fonts/Inter-Medium.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-MediumItalic.woff2
Normal file
BIN
static/fonts/Inter-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Regular.woff2
Normal file
BIN
static/fonts/Inter-Regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-SemiBold.woff2
Normal file
BIN
static/fonts/Inter-SemiBold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-SemiBoldItalic.woff2
Normal file
BIN
static/fonts/Inter-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-Thin.woff2
Normal file
BIN
static/fonts/Inter-Thin.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter-ThinItalic.woff2
Normal file
BIN
static/fonts/Inter-ThinItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Black.woff2
Normal file
BIN
static/fonts/InterDisplay-Black.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-BlackItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Bold.woff2
Normal file
BIN
static/fonts/InterDisplay-Bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-BoldItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-ExtraBold.woff2
Normal file
BIN
static/fonts/InterDisplay-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-ExtraBoldItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-ExtraLight.woff2
Normal file
BIN
static/fonts/InterDisplay-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-ExtraLightItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Italic.woff2
Normal file
BIN
static/fonts/InterDisplay-Italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Light.woff2
Normal file
BIN
static/fonts/InterDisplay-Light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-LightItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-LightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Medium.woff2
Normal file
BIN
static/fonts/InterDisplay-Medium.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-MediumItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Regular.woff2
Normal file
BIN
static/fonts/InterDisplay-Regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-SemiBold.woff2
Normal file
BIN
static/fonts/InterDisplay-SemiBold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-SemiBoldItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-Thin.woff2
Normal file
BIN
static/fonts/InterDisplay-Thin.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterDisplay-ThinItalic.woff2
Normal file
BIN
static/fonts/InterDisplay-ThinItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterVariable-Italic.woff2
Normal file
BIN
static/fonts/InterVariable-Italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/InterVariable.woff2
Normal file
BIN
static/fonts/InterVariable.woff2
Normal file
Binary file not shown.
34
static/fonts/LICENSE
Normal file
34
static/fonts/LICENSE
Normal file
|
@ -0,0 +1,34 @@
|
|||
License
|
||||
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1 . This license is copied below, and is also available with a FAQ at: https://openfontlicense.org
|
||||
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
||||
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
||||
|
||||
Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
||||
Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
||||
No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
||||
The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
||||
The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
148
static/fonts/inter.css
Normal file
148
static/fonts/inter.css
Normal file
|
@ -0,0 +1,148 @@
|
|||
/* Variable fonts usage:
|
||||
:root { font-family: "Inter", sans-serif; }
|
||||
@supports (font-variation-settings: normal) {
|
||||
:root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
|
||||
} */
|
||||
@font-face {
|
||||
font-family: InterVariable;
|
||||
font-style: normal;
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
src: url("InterVariable.woff2") format("woff2");
|
||||
}
|
||||
@font-face {
|
||||
font-family: InterVariable;
|
||||
font-style: italic;
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
src: url("InterVariable-Italic.woff2") format("woff2");
|
||||
}
|
||||
|
||||
/* static fonts */
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("Inter-Thin.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("Inter-ThinItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("Inter-ExtraLight.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("Inter-ExtraLightItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("Inter-Light.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("Inter-LightItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("Inter-Regular.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("Inter-Italic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("Inter-Medium.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("Inter-MediumItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("Inter-SemiBold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("Inter-SemiBoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("Inter-Bold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("Inter-BoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("Inter-ExtraBold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("Inter-ExtraBoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("Inter-Black.woff2") format("woff2"); }
|
||||
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 100; font-display: swap; src: url("InterDisplay-Thin.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 100; font-display: swap; src: url("InterDisplay-ThinItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 300; font-display: swap; src: url("InterDisplay-Light.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 400; font-display: swap; src: url("InterDisplay-Regular.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 400; font-display: swap; src: url("InterDisplay-Italic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 500; font-display: swap; src: url("InterDisplay-Medium.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 500; font-display: swap; src: url("InterDisplay-MediumItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 700; font-display: swap; src: url("InterDisplay-Bold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 700; font-display: swap; src: url("InterDisplay-BoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBold.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 900; font-display: swap; src: url("InterDisplay-Black.woff2") format("woff2"); }
|
||||
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 900; font-display: swap; src: url("InterDisplay-BlackItalic.woff2") format("woff2"); }
|
||||
|
||||
@font-feature-values InterVariable {
|
||||
@character-variant {
|
||||
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
|
||||
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
|
||||
alt-1: 1; /* Alternate one */
|
||||
alt-3: 9; /* Flat-top three */
|
||||
open-4: 2; /* Open four */
|
||||
open-6: 3; /* Open six */
|
||||
open-9: 4; /* Open nine */
|
||||
lc-l-with-tail: 5; /* Lower-case L with tail */
|
||||
simplified-u: 6; /* Simplified u */
|
||||
alt-double-s: 7; /* Alternate German double s */
|
||||
uc-i-with-serif: 8; /* Upper-case i with serif */
|
||||
uc-g-with-spur: 10; /* Capital G with spur */
|
||||
single-story-a: 11; /* Single-story a */
|
||||
compact-lc-f: 12; /* Compact f */
|
||||
compact-lc-t: 13; /* Compact t */
|
||||
}
|
||||
@styleset {
|
||||
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
|
||||
open-digits: 1; /* Open digits */
|
||||
disambiguation: 2; /* Disambiguation (with zero) */
|
||||
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
|
||||
round-quotes-and-commas: 3; /* Round quotes & commas */
|
||||
square-punctuation: 7; /* Square punctuation */
|
||||
square-quotes: 8; /* Square quotes */
|
||||
circled-characters: 5; /* Circled characters */
|
||||
squared-characters: 6; /* Squared characters */
|
||||
}
|
||||
}
|
||||
@font-feature-values Inter {
|
||||
@character-variant {
|
||||
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
|
||||
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
|
||||
alt-1: 1; /* Alternate one */
|
||||
alt-3: 9; /* Flat-top three */
|
||||
open-4: 2; /* Open four */
|
||||
open-6: 3; /* Open six */
|
||||
open-9: 4; /* Open nine */
|
||||
lc-l-with-tail: 5; /* Lower-case L with tail */
|
||||
simplified-u: 6; /* Simplified u */
|
||||
alt-double-s: 7; /* Alternate German double s */
|
||||
uc-i-with-serif: 8; /* Upper-case i with serif */
|
||||
uc-g-with-spur: 10; /* Capital G with spur */
|
||||
single-story-a: 11; /* Single-story a */
|
||||
compact-lc-f: 12; /* Compact f */
|
||||
compact-lc-t: 13; /* Compact t */
|
||||
}
|
||||
@styleset {
|
||||
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
|
||||
open-digits: 1; /* Open digits */
|
||||
disambiguation: 2; /* Disambiguation (with zero) */
|
||||
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
|
||||
round-quotes-and-commas: 3; /* Round quotes & commas */
|
||||
square-punctuation: 7; /* Square punctuation */
|
||||
square-quotes: 8; /* Square quotes */
|
||||
circled-characters: 5; /* Circled characters */
|
||||
squared-characters: 6; /* Squared characters */
|
||||
}
|
||||
}
|
||||
@font-feature-values InterDisplay {
|
||||
@character-variant {
|
||||
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
|
||||
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
|
||||
alt-1: 1; /* Alternate one */
|
||||
alt-3: 9; /* Flat-top three */
|
||||
open-4: 2; /* Open four */
|
||||
open-6: 3; /* Open six */
|
||||
open-9: 4; /* Open nine */
|
||||
lc-l-with-tail: 5; /* Lower-case L with tail */
|
||||
simplified-u: 6; /* Simplified u */
|
||||
alt-double-s: 7; /* Alternate German double s */
|
||||
uc-i-with-serif: 8; /* Upper-case i with serif */
|
||||
uc-g-with-spur: 10; /* Capital G with spur */
|
||||
single-story-a: 11; /* Single-story a */
|
||||
compact-lc-f: 12; /* Compact f */
|
||||
compact-lc-t: 13; /* Compact t */
|
||||
}
|
||||
@styleset {
|
||||
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
|
||||
open-digits: 1; /* Open digits */
|
||||
disambiguation: 2; /* Disambiguation (with zero) */
|
||||
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
|
||||
round-quotes-and-commas: 3; /* Round quotes & commas */
|
||||
square-punctuation: 7; /* Square punctuation */
|
||||
square-quotes: 8; /* Square quotes */
|
||||
circled-characters: 5; /* Circled characters */
|
||||
squared-characters: 6; /* Squared characters */
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue