From 1342ac088640318c9ac59bb9b10305a444b031fd Mon Sep 17 00:00:00 2001 From: PaulStets Date: Sun, 15 Apr 2018 13:21:55 +0300 Subject: [PATCH] Added style for collapsible headers --- OsmAnd/assets/article_style.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) mode change 100644 => 100755 OsmAnd/assets/article_style.css diff --git a/OsmAnd/assets/article_style.css b/OsmAnd/assets/article_style.css old mode 100644 new mode 100755 index 5562dbb38d..0d746d8f6a --- a/OsmAnd/assets/article_style.css +++ b/OsmAnd/assets/article_style.css @@ -50,6 +50,27 @@ h2 { margin-bottom: 3%; } +h2.active:after { + transform: rotate(-135deg); + -webkit-transform: rotate(-135deg); + position: absolute; + right: 1em; +} + +h2:after { + vertical-align: middle; + content: ""; + border: solid black; + border-width: 0 3px 3px 0; + margin-top: 20px; + display: inline-block; + padding: 3px; + transform: rotate(45deg); + -webkit-transform: rotate(45deg); + position: absolute; + right: 1em; +} + h3 { color: #212121; font-size: 1.5em;