Added style for collapsible headers
This commit is contained in:
parent
2e0d5ab559
commit
1342ac0886
1 changed files with 21 additions and 0 deletions
21
OsmAnd/assets/article_style.css
Normal file → Executable file
21
OsmAnd/assets/article_style.css
Normal file → Executable 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;
|
||||||
|
|
Loading…
Reference in a new issue