diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-10-11 12:06:39 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-10-11 12:09:28 +0200 |
| commit | 731fe1c9abbcd3df0cf27053daaf3e7ca3d08ba3 (patch) | |
| tree | ea956bbfd1e21d82cce8faa9406b71945546d4b8 /doc/_extensions/odoo_ext/static/typography.less | |
| parent | 95280245367da42fead8be9892079a5795171fd0 (diff) | |
[FIX] doc: avoid conflict on extenstion and odoo folder
Diffstat (limited to 'doc/_extensions/odoo_ext/static/typography.less')
| -rw-r--r-- | doc/_extensions/odoo_ext/static/typography.less | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/_extensions/odoo_ext/static/typography.less b/doc/_extensions/odoo_ext/static/typography.less new file mode 100644 index 00000000000..32fb821f8f0 --- /dev/null +++ b/doc/_extensions/odoo_ext/static/typography.less @@ -0,0 +1,58 @@ +// ============================================================================= +// Typography +// ============================================================================= + +// Font rendering +// ---------------------------------------- +body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +// Headings +// ---------------------------------------- +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + text-rendering: geometricPrecision; + letter-spacing: -0.01em; + line-height: 1.4; + + @media (min-width: @screen-lg-min) { + .has_code_col .doc-aside &{ + color: white; + } + } +} + +h1, h2, .h1, .h2 { + margin-top: @line-height-computed * 1.5; + font-weight: @fw_light; + b, strong, a { + font-weight: @fw_regular; + } +} + +h3, .h3, h4, .h4, h5, h6, .h5, .h6 { + font-weight: @fw_regular; + b, strong, a { + font-weight: @fw_medium; + } +} +h4, .h4, h5, h6, .h5, .h6 { + margin-top: @line-height-computed; + margin-bottom: (@line-height-computed / 3); +} + +// Lists +// ---------------------------------------- + +ul, ol { + &:not(:empty) { + margin-bottom: (@line-height-computed / 2); + } + ul, ol { + &:not(:empty) { + margin-bottom: (@line-height-computed / 3); + } + } +} |
