Skip to content

Commit 06a19b3

Browse files
add underline mixin
1 parent 145d29d commit 06a19b3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

assets/stylesheets/new-stylesheets/_helpers.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,9 @@
194194
white-space: normal;
195195
}
196196
}
197+
198+
@mixin underline {
199+
text-decoration: underline;
200+
text-decoration-color: rgba(255, 255, 255, 0.5);
201+
text-underline-offset: 2px;
202+
}

assets/stylesheets/new-stylesheets/includes/callout/_base.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
@include link-with-right-arrow();
3838
display: block;
3939
color: white;
40-
text-decoration: underline;
41-
text-decoration-color: rgba(255, 255, 255, 0.5);
42-
text-underline-offset: 2px;
40+
@include underline;
4341
margin-top: 14px;
4442

4543
i {

0 commit comments

Comments
 (0)