forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-40670 Theme: Rescale headings overriding bootstrap defaults
- Loading branch information
1 parent
07bbbcf
commit dc97596
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* bootstrapoverride.less | ||
* | ||
* This file is meant to contain rules which specifically override | ||
* rules defined in Bootstrap. | ||
*/ | ||
|
||
/** Headings **/ | ||
h1 { font-size: round(@baseFontSize * 2.30); } // ~32px | ||
h2 { font-size: round(@baseFontSize * 2.00); } // ~28px | ||
h3 { font-size: round(@baseFontSize * 1.70); } // ~24px | ||
h4 { font-size: round(@baseFontSize * 1.40); } // ~20px | ||
h5 { font-size: round(@baseFontSize * 1.15); } // ~16px | ||
h6 { font-size: round(@baseFontSize * 0.85); } // ~12px | ||
|
||
h1 small { font-size: round(@baseFontSize * 1.70); } // ~24px | ||
h2 small { font-size: round(@baseFontSize * 1.40); } // ~20px | ||
h3 small { font-size: round(@baseFontSize * 1.15); } // ~16px | ||
h4 small { font-size: round(@baseFontSize * 0.85); } // ~12px |
Large diffs are not rendered by default.
Oops, something went wrong.