diff --git a/_includes/image.html b/_includes/image.html index ef9dde1..b9abb8d 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1,8 +1,8 @@ {% if include.fullwidth %} -
+
{% else %} -
+
{% endif %} {% if include.url %} diff --git a/_sass/_base.scss b/_sass/_base.scss index 13700ae..7d02a2e 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -79,12 +79,16 @@ img { /** * Figures */ -figure > img { - display: block; +figure { + > img { + display: block; + } } figcaption { - font-size: $small-font-size; + font-size: 0.75rem; + font-style: italic; + padding: 0.5rem 1rem; } /** diff --git a/_sass/_header.scss b/_sass/_header.scss index e3e57a1..ce9a68a 100644 --- a/_sass/_header.scss +++ b/_sass/_header.scss @@ -4,6 +4,8 @@ .site-header { border-bottom: 3px dashed $grey-color-light; border-bottom: 3px dashed rgba(254, 168, 106, 0.6); + border-bottom: 3px dashed rgba(8,76,207,.6); + border-bottom: unset !important; min-height: calc(var(--spacing-unit) * 1.865); // Positioning context for the mobile navigation icon diff --git a/_sass/_layout.scss b/_sass/_layout.scss index defb58a..de874ad 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -194,3 +194,13 @@ figure.fullwidth { } } } + +@mixin border-accent { + background-color: white; + border: 1px solid rgba(8,76,207,0.3); + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(8, 76, 207, 0.07) 4px 4px 0px 0px; +} + +.border-accent { + @include border-accent; +} diff --git a/_sass/main.scss b/_sass/main.scss index 0d72207..f783036 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -11,30 +11,40 @@ font-weight: bold; src: url("/assets/fonts/FiraCode-Bold.ttf"); } +@font-face { + font-family: "Post title font"; + src: url("/assets/fonts/font-title.woff2"); +} +@font-face { + font-family: "Post subtitle font"; + src: url("/assets/fonts/font-subtitle.woff2"); +} -$text-color: white; -$background-color: #222129; -$brand-color: #fea86a; +$text-color: #4B5361; +$background-color: #F6F5EF; +$brand-color: rgb(8, 76, 207, 0.8); :root { --font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace; --font-size: 16px; --font-weight: 400; --font-size-small: 14px; - --line-height: 1.5; + --line-height: 1.625; --spacing-unit: 2.5em; - --text-color: $text-color; - --background-color: $background-color; - --brand-color: $brand-color; + --text-color: #4B5361; + --background-color: #F6F5EF; + --brand-color: rgb(8, 76, 207, 0.8); + --border-color: hsla(0, 0%, 100%, 0.1); } + $base-font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace !default; $base-font-size: 16px !default; $base-font-weight: 400 !default; $small-font-size: $base-font-size * 0.875 !default; -$base-line-height: 1.5 !default; +$base-line-height: 1.625 !default; $spacing-unit: 2.5em !default; diff --git a/assets/fonts/font-title.woff2 b/assets/fonts/font-title.woff2 new file mode 100644 index 0000000..1ece6a6 Binary files /dev/null and b/assets/fonts/font-title.woff2 differ