Add italic font

This commit is contained in:
L3D 2022-01-16 04:52:25 +01:00
parent 71e375c131
commit 5accab56e9
Signed by: l3d
GPG key ID: CD08445BFF4313D1
13 changed files with 109 additions and 12 deletions

BIN
assets/fonts/lato-v20-latin-700italic.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-700italic.woff (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-700italic.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-900italic.woff (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-900italic.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-italic.woff (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/lato-v20-latin-italic.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/fonts/mochiypoppone.ttf (Stored with Git LFS)

Binary file not shown.

38
assets/scss/_events.scss Normal file
View file

@ -0,0 +1,38 @@
div.events {
margin: 0 auto;
padding: 20px 30px;
background: transparent;
p, a{
color: $font_default;
font-size: $font_size_default;
}
code {
color: $font_accent_4;
font-size: $font_size_code;
}
h1 {
color: $font_accent_3;
text-shadow: 0px 0px 1px black;
}
.headline a {
color: $font_accent_3;
font-size: $font_size_h2;
text-shadow: 0px 0px 1px black;
text-decoration: none;
}
.meta {
color: silver;
font-style: italic;
}
.blog-post {
background: rgba(128,128,128,0.15);
padding: 16px;
margin-top: 50px;
box-shadow: 0px 0px 2px 8px rgba(128,128,128,0.1);
}
h2 {
color: $font_accent_3;
text-shadow: 0px 0px 1px black;
}
}

View file

@ -6,9 +6,9 @@
font-weight: 400;
font-display: swap;
src: local(''),
url('../fonts/mochiy-pop-one-v5-latin-regular.woff2') format('woff2'),
url('../fonts/mochiy-pop-one-v5-latin-regular.woff') format('woff'),
url('../fonts/mochiy-pop-one-v5-latin-regular.ttf') format('truetype'),
url('/fonts/mochiy-pop-one-v5-latin-regular.woff2') format('woff2'),
url('/fonts/mochiy-pop-one-v5-latin-regular.woff') format('woff'),
url('/fonts/mochiy-pop-one-v5-latin-regular.ttf') format('truetype'),
}
// Lato font
@ -44,3 +44,36 @@
url('/fonts/lato-v20-latin-900.woff') format('woff'),
url('/fonts/lato-v20-latin-900.ttf') format('truetype');
}
@font-face {
font-family: $main_font;
font-style: italic;
font-weight: 400;
font-display: swap;
src: local(''),
url('/fonts/lato-v20-latin-italic.woff2') format('woff2'),
url('/fonts/lato-v20-latin-italic.woff') format('woff'),
url('/fonts/lato-v20-latin-italic.ttf') format('truetype');
}
@font-face {
font-family: $main_font;
font-style: italic;
font-weight: 700;
font-display: swap;
src: local(''),
url('/fonts/lato-v20-latin-700italic.woff2') format('woff2'),
url('/fonts/lato-v20-latin-700italic.woff') format('woff'),
url('/fonts/lato-v20-latin-700italic.ttf') format('truetype');
}
@font-face {
font-family: $main_font;
font-style: italic;
font-weight: 900;
font-display: swap;
src: local(''),
url('/fonts/lato-v20-latin-900italic.woff2') format('woff2'),
url('/fonts/lato-v20-latin-900italic.woff') format('woff'),
url('/fonts/lato-v20-latin-900italic.ttf') format('truetype');
}

View file

@ -9,9 +9,3 @@ body {
color: $font_accent_3;
}
}
.left {
background: rgba(128,128,128,0.15);
padding: 12px;
box-shadow: 0px 0px 2px 8px rgba(128,128,128,0.1);
}

View file

@ -31,6 +31,12 @@ div.start {
}
}
.left {
background: rgba(128,128,128,0.15);
padding: 12px;
box-shadow: 0px 0px 2px 8px rgba(128,128,128,0.1);
}
@media (max-width: $media_horizontal_breakpoint) {
div.start {
display: initial;

8
assets/scss/events.scss Normal file
View file

@ -0,0 +1,8 @@
@import "_variables";
@import "_fonts";
@import "_events.scss";
@import "_general";
@import "_header";
@import "_footer";