mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2025-10-29 09:40:39 +00:00
Update color theme to white and blue
- Border accent shadow effect that makes assets float of page - Apply border accent to image captions
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<!-- _includes/image.html -->
|
<!-- _includes/image.html -->
|
||||||
{% if include.fullwidth %}
|
{% if include.fullwidth %}
|
||||||
<figure class="fullwidth">
|
<figure class="border-accent fullwidth">
|
||||||
{% else %}
|
{% else %}
|
||||||
<figure>
|
<figure class="border-accent">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if include.url %}
|
{% if include.url %}
|
||||||
<a href="{{ include.url }}">
|
<a href="{{ include.url }}">
|
||||||
|
|||||||
@@ -79,12 +79,16 @@ img {
|
|||||||
/**
|
/**
|
||||||
* Figures
|
* Figures
|
||||||
*/
|
*/
|
||||||
figure > img {
|
figure {
|
||||||
display: block;
|
> img {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption {
|
figcaption {
|
||||||
font-size: $small-font-size;
|
font-size: 0.75rem;
|
||||||
|
font-style: italic;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
.site-header {
|
.site-header {
|
||||||
border-bottom: 3px dashed $grey-color-light;
|
border-bottom: 3px dashed $grey-color-light;
|
||||||
border-bottom: 3px dashed rgba(254, 168, 106, 0.6);
|
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);
|
min-height: calc(var(--spacing-unit) * 1.865);
|
||||||
|
|
||||||
// Positioning context for the mobile navigation icon
|
// Positioning context for the mobile navigation icon
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,30 +11,40 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
src: url("/assets/fonts/FiraCode-Bold.ttf");
|
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;
|
$text-color: #4B5361;
|
||||||
$background-color: #222129;
|
$background-color: #F6F5EF;
|
||||||
$brand-color: #fea86a;
|
$brand-color: rgb(8, 76, 207, 0.8);
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
|
--font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
|
||||||
--font-size: 16px;
|
--font-size: 16px;
|
||||||
--font-weight: 400;
|
--font-weight: 400;
|
||||||
--font-size-small: 14px;
|
--font-size-small: 14px;
|
||||||
--line-height: 1.5;
|
--line-height: 1.625;
|
||||||
|
|
||||||
--spacing-unit: 2.5em;
|
--spacing-unit: 2.5em;
|
||||||
|
|
||||||
--text-color: $text-color;
|
--text-color: #4B5361;
|
||||||
--background-color: $background-color;
|
--background-color: #F6F5EF;
|
||||||
--brand-color: $brand-color;
|
--brand-color: rgb(8, 76, 207, 0.8);
|
||||||
|
|
||||||
--border-color: hsla(0, 0%, 100%, 0.1);
|
--border-color: hsla(0, 0%, 100%, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$base-font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace !default;
|
$base-font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace !default;
|
||||||
$base-font-size: 16px !default;
|
$base-font-size: 16px !default;
|
||||||
$base-font-weight: 400 !default;
|
$base-font-weight: 400 !default;
|
||||||
$small-font-size: $base-font-size * 0.875 !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;
|
$spacing-unit: 2.5em !default;
|
||||||
|
|
||||||
|
|||||||
BIN
assets/fonts/font-title.woff2
Normal file
BIN
assets/fonts/font-title.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user