Added style for collapsible headers

This commit is contained in:
PaulStets 2018-04-15 13:21:55 +03:00
parent 2e0d5ab559
commit 1342ac0886

21
OsmAnd/assets/article_style.css Normal file → Executable file
View file

@ -50,6 +50,27 @@ h2 {
margin-bottom: 3%; 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 { h3 {
color: #212121; color: #212121;
font-size: 1.5em; font-size: 1.5em;