From 80dadad38ec5dfa474b1da7ae1060b2ada1ca46d Mon Sep 17 00:00:00 2001 From: michael63-osm Date: Sat, 10 Apr 2021 13:01:02 +0200 Subject: [PATCH] pick up suggestions from hotosm/learnosm, pull request 641 by Wille - improve margins after numbered lists - improve numbering of numbered lists, labelling of bullet lists --- style-rtl.css | 13 ++++++++++--- style.css | 15 +++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/style-rtl.css b/style-rtl.css index b9664db0c..554be18f4 100644 --- a/style-rtl.css +++ b/style-rtl.css @@ -107,7 +107,8 @@ right:-3em; width:2em; font-family:'Source Sans Pro',sans-serif; - font-size:12px; + font-size:20px; + font-weight:700; text-align:center; } .doc ul > li:before {content:'◆'} @@ -190,8 +191,14 @@ em {font-style:italic;} strong {font-weight:700;} .doc ul {margin: 20px 0;} -.doc ul li,.doc ol li, .doc p { font-family:'Quattrocento',serif; } -.doc li {margin-right:30px;} +.doc ul li,.doc ol li, .doc p { font-family:'Quattrocento',serif; } +.doc li { + margin-right:30px; + margin-bottom:5px; +} +.has-image { + margin-bottom:20px !important; +} .doc li a, .doc p a {color: #79bc5f;} .doc-nav-secondary li {padding-right:60px;} diff --git a/style.css b/style.css index 12542203e..de9e20c0c 100644 --- a/style.css +++ b/style.css @@ -107,7 +107,8 @@ left:-3em; width:2em; font-family:'Source Sans Pro',sans-serif; - font-size:12px; + font-size:20px; + font-weight:700; text-align:center; } .doc ul > li:before {content:'◆'} @@ -190,8 +191,14 @@ em {font-style:italic;} strong {font-weight:700;} .doc ul {margin: 20px 0;} -.doc ul li,.doc ol li, .doc p { font-family:'Quattrocento',serif; } -.doc li {margin-left:30px;} +.doc ul li,.doc ol li, .doc p { font-family:'Quattrocento',serif; } +.doc li { + margin-left:30px; + margin-bottom:5px; +} +.has-image { + margin-bottom:20px !important; +} .doc li a, .doc p a {color: #79bc5f;} .doc-nav-secondary li {padding-left:60px;} @@ -268,7 +275,7 @@ body { } table { - table-layout: fixed; + table-layout: fixed; width: 100%; }