Skip to content

Commit 1849320

Browse files
committed
Blockquote styling
1 parent 953156a commit 1849320

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

_sass/abstracts/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
$text-font-stack: "halyard-text-variable", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
44
$display-font-stack: "halyard-display-variable", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
55
$line-height: 24px;
6+
$border-thickness: 1px;
67

78
$switch-box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
89
$switch-knob-box-shadow: 0 1px 3px rgba(0, 0, 0, .2);

_sass/base/_typography.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ h6 {
4949

5050
address {
5151
font-style: inherit;
52+
}
53+
54+
blockquote {
55+
@include vr.set($margin: 0, $padding-left: 0.5);
56+
border-left: $border-thickness solid;
5257
}

_sass/layout/footer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
@use 'vendors/vertical-rhythm-reset' as vr;
2+
@use 'abstracts/variables' as *;
23

34
footer {
45
@include vr.set($margin-top: 1 0);
5-
border-top: 1px solid;
6+
border-top: $border-thickness solid;
67

78
text-transform: lowercase;
89
display: flex;

_sass/layout/header.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use 'vendors/vertical-rhythm-reset' as vr;
2+
@use 'abstracts/variables' as *;
23

34
header#masthead {
45
text-transform: lowercase;
@@ -7,7 +8,7 @@ header#masthead {
78

89
nav {
910
@include vr.set($padding-bottom: 1);
10-
border-bottom: 1px solid;
11+
border-bottom: $border-thickness solid;
1112
display: flex;
1213
justify-content: space-between;
1314
align-items: center;

_sass/themes/_themes.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ $themes: (
102102
color: inherit;
103103
background: map.get($colors, highlight);
104104
}
105+
106+
blockquote {
107+
border-color: map.get($colors, link-underline);
108+
}
105109
}
106110

107111
@media (prefers-color-scheme: light) {

0 commit comments

Comments
 (0)