Skip to content

Commit

Permalink
Merge pull request #9058 from nessthehero/v6.3
Browse files Browse the repository at this point in the history
Modify cite element to use a variable for the pseudo content
  • Loading branch information
kball authored Oct 6, 2016
2 parents fb393bc + 3fe897d commit 9c17987
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions scss/settings/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ $blockquote-padding: rem-calc(9 20 0 19);
$blockquote-border: 1px solid $medium-gray;
$cite-font-size: rem-calc(13);
$cite-color: $dark-gray;
$cite-pseudo-content: '\2014 \0020';
$keystroke-font: $font-family-monospace;
$keystroke-color: $black;
$keystroke-background: $light-gray;
Expand Down
6 changes: 5 additions & 1 deletion scss/typography/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ $cite-font-size: rem-calc(13) !default;
/// @type Color
$cite-color: $dark-gray !default;

/// Pseudo content for `<cite>` elements.
/// @type String
$cite-pseudo-content: '\2014 \0020' !default;

/// Font family for `<kbd>` elements.
/// @type String | List
$keystroke-font: $font-family-monospace !default;
Expand Down Expand Up @@ -407,7 +411,7 @@ $abbr-underline: 1px dotted $black !default;
color: $cite-color;

&:before {
content: '\2014 \0020';
content: $cite-pseudo-content;
}
}

Expand Down

0 comments on commit 9c17987

Please sign in to comment.