From 24ba4688e8f54198381e237dc93af6351eb040ff Mon Sep 17 00:00:00 2001 From: Dmitriy Prodchenko Date: Tue, 3 Apr 2018 18:46:06 +0300 Subject: [PATCH] Update Article CSS --- OsmAnd/assets/article_style.css | 69 +++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/OsmAnd/assets/article_style.css b/OsmAnd/assets/article_style.css index 534c1ba94e..bf734b5f38 100644 --- a/OsmAnd/assets/article_style.css +++ b/OsmAnd/assets/article_style.css @@ -4,19 +4,27 @@ body { margin-bottom: 0%; margin-left: 0%; margin-right: 0%; + font-size: 1em; } .main { - max-width: 100% !important; - /* overflow-x: hidden; hide scroll bar */ - display: block; - margin-top: 7%; - margin-bottom: 0; - margin-left: 7%; - margin-right: 7%; - background-color: white; - font-family: sans-serif; + max-width: 100% !important; + /* overflow-x: hidden; hide scroll bar */ + display: block; + margin-top: 7%; + margin-bottom: 0; + margin-left: 7%; + margin-right: 7%; + background-color: white; + font-family: sans-serif; +} +.title-image { + width: 100%; + height: 20%; + background: center; + background-size: 100%; + background-repeat: no-repeat; } h2 { @@ -29,30 +37,31 @@ h2 { } h3 { - color: #212121; - font-size: 1.5em; - font-family: sans-serif; - word-wrap: break-word; - padding-top: 5%; + color: #212121; + font-size: 1.5em; + font-family: sans-serif; + word-wrap: break-word; + padding-top: 5%; } p { - font-family: sans-serif; - font-size: 1.1em; - line-height: 1.6em; + font-family: sans-serif; + font-size: 1.1em; + line-height: 1.6em; } ul { - font-size: 1.1em; - line-height: 1.6em; - padding-top: 3%; - padding-bottom: 3%; + /* font-size: 1.1em; */ + line-height: 1.6em; + padding-top: 3%; + padding-bottom: 3%; + list-style-type: disc; } li { - font-family: sans-serif; - padding-top: 1%; - padding-bottom: 1%; + font-family: sans-serif; + padding-top: 1%; + padding-bottom: 1%; } img { @@ -60,14 +69,14 @@ img { } a { - color: #237bff; - text-decoration-color: #a3c8ff; - word-wrap: break-word; + color: #237bff; + text-decoration-color: #a3c8ff; + word-wrap: break-word; } external-free { - word-wrap: break-word; - background-color: #black; + word-wrap: break-word; + background-color: #black; } pre { @@ -91,4 +100,4 @@ pre { color: #727272; font-style: italic; text-align: center; -} \ No newline at end of file +}