Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
18cfe345
Commit
18cfe345
authored
5 years ago
by
Martijn Cuppens
Committed by
XhmikosR
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Allow modification of the value of rem
parent
c463c261
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_reboot.scss
+8
-0
scss/_reboot.scss
scss/_variables.scss
+3
-0
scss/_variables.scss
with
11 additions
and
0 deletions
+11
-0
scss/_reboot.scss
+
8
-
0
View file @
18cfe345
...
...
@@ -17,6 +17,14 @@
box-sizing
:
border-box
;
}
// Root
//
// 1. Ability to the value of the root font sizes, affecting the value of `rem`.
// null by default, thus nothing is generated.
:root
{
font-size
:
$font-size-root
;
// 1
}
// Body
//
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
3
-
0
View file @
18cfe345
...
...
@@ -288,6 +288,9 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberati
$font-family-base
:
$font-family-sans-serif
!
default
;
// stylelint-enable value-keyword-case
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
// $font-size-base effects the font size of the body text
$font-size-root
:
null
!
default
;
$font-size-base
:
1rem
!
default
;
// Assumes the browser default, typically `16px`
$font-size-lg
:
$font-size-base
*
1
.25
!
default
;
$font-size-sm
:
$font-size-base
*
.875
!
default
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment