From 51375abca5769682f1d27de2e29e6e9f15ec7314 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Thu, 7 Feb 2019 23:32:05 +0100 Subject: Responsive font size implementation (#23816) --- scss/_code.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scss/_code.scss') diff --git a/scss/_code.scss b/scss/_code.scss index 9b2e027f4..74b6e1c89 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -1,6 +1,6 @@ // Inline code code { - font-size: $code-font-size; + @include font-size($code-font-size); color: $code-color; word-break: break-word; @@ -13,7 +13,7 @@ code { // User input typically entered via keyboard kbd { padding: $kbd-padding-y $kbd-padding-x; - font-size: $kbd-font-size; + @include font-size($kbd-font-size); color: $kbd-color; background-color: $kbd-bg; @include border-radius($border-radius-sm); @@ -21,7 +21,7 @@ kbd { kbd { padding: 0; - font-size: 100%; + @include font-size(100%); font-weight: $nested-kbd-font-weight; @include box-shadow(none); } @@ -30,12 +30,12 @@ kbd { // Blocks of code pre { display: block; - font-size: $code-font-size; + @include font-size($code-font-size); color: $pre-color; // Account for some code outputs that place code tags in pre tags code { - font-size: inherit; + @include font-size(inherit); color: inherit; word-break: normal; } -- cgit v1.2.3