Mercurial > libervia-templates
changeset 211:bf33342902ed
css: added classes for text block (warning, emphasis, light-emphasis) + heading-paper + fixed padding on grids
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Jun 2019 17:38:43 +0200 |
parents | 0bc654ab2484 |
children | 255faa03379a |
files | sat_templates/templates/default/static/styles.css |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/default/static/styles.css Fri Jun 28 17:37:46 2019 +0200 +++ b/sat_templates/templates/default/static/styles.css Fri Jun 28 17:38:43 2019 +0200 @@ -15,6 +15,7 @@ --color-sec: #448aff; --color-sec--light: #83b9ff; --color-sec--dark: #005ecb; + --color-warning: #8a0000; } /***************** @@ -227,6 +228,21 @@ box-shadow: 0px 0px 6px 1px #000; } +/** text **/ + +.text--warning { + font-weight: bold; + color: var(--color-warning); +} + +.text--emphasis { + font-weight: bold; +} + +.text--light-emphasis { + text-decoration: underline; +} + /** heading **/ .heading__subtitle { @@ -238,6 +254,11 @@ background: var(--color-sec--light); } + +.heading--paper { + font-variant: small-caps; +} + /** instructions **/ .instructions--head { @@ -651,6 +672,7 @@ .grid { display: flex; flex-wrap: wrap; + padding: 0; } ul.grid {