From 3122a0d27e3548c3475d849fb105d384032d3c4f Mon Sep 17 00:00:00 2001 From: BESANCON Vincent Date: Sun, 10 Sep 2023 18:33:28 +0200 Subject: [PATCH] feat(layout): adjust fonts and paddings --- assets/scss/main.scss | 11 +- index.hbs | 6 +- partials/post-card.hbs | 10 +- partials/readings.hbs | 2 +- post-index.hbs | 9 +- post.hbs | 302 +++++++++++++++++++++-------------------- 6 files changed, 175 insertions(+), 165 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 233a9a6..db2441d 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -2,7 +2,7 @@ FONT FACES ====*/ -@import url(https://fonts.bunny.net/css?family=acme:400); +@import url(https://fonts.bunny.net/css?family=acme:250); @font-face { @@ -28,7 +28,7 @@ VARIABLE OVERRIDES $global-font-size: 18px !default; $global-background: #000000 !default; -$global-color: rgba(0, 255, 53, 0.85) !default; +$global-color: #f626eed9 !default; $global-emphasis-color: #f626eed9 !default; $global-font-family: "Acme", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default; $global-secondary-background: #691066d9 !default; @@ -50,12 +50,13 @@ body, a { cursor: url(../images/coeurseur-mini.png), auto !important; } -h1 { - font-family: "Basteleur Bold" +h1.uk-article-title { + font-family: "Basteleur Moonlight"; + color: rgba(0, 255, 53, 0.85) !important; } h2, h3 { - font-family: "Optiker-K" + font-family: "Basteleur Bold"; } .uk-overlay-primary h1 { diff --git a/index.hbs b/index.hbs index cb19fb1..0d1d926 100755 --- a/index.hbs +++ b/index.hbs @@ -5,14 +5,14 @@ {{! Portfolio }} -
+
-

Portfolio

+

Portfolio

{{> portfolio}}
@@ -24,7 +24,7 @@
-

Readings

+

Readings

{{> readings posts=posts featuredOnly=true }} {{#getPostByTags "post-index" ""}}
diff --git a/partials/post-card.hbs b/partials/post-card.hbs index bbc8f5a..4023708 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -8,13 +8,13 @@ {{else}} {{/checkIfAll}} - +
- Avatar + Avatar

{{title}}

@@ -23,8 +23,10 @@
-
-

{{excerpt}}

+
+

{{{excerpt}}}