MDL-44364 theme_more: More settings to style the theme
[moodle.git] / theme / bootstrapbase / less / moodle / bootstrapoverride.less
CommitLineData
dc975966
BR
1/**
2 * bootstrapoverride.less
3 *
4 * This file is meant to contain rules which specifically override
5 * rules defined in Bootstrap.
6*/
7
70512ebd 8// Headings.
dc975966
BR
9h1 { font-size: round(@baseFontSize * 2.30); } // ~32px
10h2 { font-size: round(@baseFontSize * 2.00); } // ~28px
11h3 { font-size: round(@baseFontSize * 1.70); } // ~24px
12h4 { font-size: round(@baseFontSize * 1.40); } // ~20px
13h5 { font-size: round(@baseFontSize * 1.15); } // ~16px
14h6 { font-size: round(@baseFontSize * 0.85); } // ~12px
15
16h1 small { font-size: round(@baseFontSize * 1.70); } // ~24px
17h2 small { font-size: round(@baseFontSize * 1.40); } // ~20px
18h3 small { font-size: round(@baseFontSize * 1.15); } // ~16px
19h4 small { font-size: round(@baseFontSize * 0.85); } // ~12px
70512ebd
DW
20
21// Printing.
22@media print {
23 a[href]:after {
24 content: "";
25 }
26}
5dc361e1 27
d8037b26 28// Bootstrap's calculation of blocks within a fluid grid. Copied from their grid code.
5dc361e1 29.fluid-span (@columns) {
d8037b26
GB
30 .fluid-span-full(@columns, @fluidGridColumnWidth, @fluidGridGutterWidth);
31}
32.fluid-span-full (@columns, @columnWidth, @gutterWidth) {
33 width: (@columnWidth * @columns) + (@gutterWidth * (@columns - 1));
34 *width: (@columnWidth * @columns) + (@gutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%);
5dc361e1 35}