mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 19:54:08 +01:00
MDL-40670 Theme: Rescale headings overriding bootstrap defaults
This commit is contained in:
parent
07bbbcf174
commit
dc97596615
@ -17,6 +17,9 @@
|
||||
// Upstream Bootstrap.
|
||||
@import "bootstrap/bootstrap";
|
||||
|
||||
// Override Bootstrap defaults.
|
||||
@import "moodle/bootstrapoverride";
|
||||
|
||||
// Set image location.
|
||||
@iconSpritePath: ~"[[pix:theme|glyphicons-halflings]]";
|
||||
@iconWhiteSpritePath: ~"[[pix:theme|glyphicons-halflings-white]]";
|
||||
@ -27,7 +30,6 @@
|
||||
@horizontalComponentOffset980: 220px;
|
||||
@horizontalComponentOffset1200: 265px;
|
||||
|
||||
|
||||
// Roll back nameclashes.
|
||||
@import "moodle/undo";
|
||||
|
||||
|
19
theme/bootstrapbase/less/moodle/bootstrapoverride.less
vendored
Normal file
19
theme/bootstrapbase/less/moodle/bootstrapoverride.less
vendored
Normal file
@ -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
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user