Try to add custom font, for using in webview
This commit is contained in:
parent
27816a441a
commit
4004c2b5fe
2 changed files with 16 additions and 7 deletions
|
@ -59,13 +59,16 @@ h1 {
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
color: #454545;
|
color: #575757;
|
||||||
font-family: serif;
|
font-family: RobotoSlab-Regular;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
margin-top: 3%;
|
margin-top: 3%;
|
||||||
margin-bottom: 3%;
|
padding-bottom: 3%;
|
||||||
font-weight: normal;
|
/* font-weight: bold; */
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
|
letter-spacing: 0.01em;
|
||||||
|
border-bottom: 1px solid #eaecf0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2.active:after {
|
h2.active:after {
|
||||||
|
@ -76,10 +79,11 @@ h2.active:after {
|
||||||
}
|
}
|
||||||
|
|
||||||
h2:after {
|
h2:after {
|
||||||
|
/* Headline arrow */
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
content: "";
|
content: "";
|
||||||
border: solid black;
|
border: solid #727272;
|
||||||
border-width: 0 3px 3px 0;
|
border-width: 0 2px 2px 0;
|
||||||
margin-top: 13px;
|
margin-top: 13px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
@ -159,7 +163,7 @@ pre {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
border: 1px solid #e6e6e6;
|
border: 1px solid #e6e6e6;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 2%;
|
padding: 3% 3% 3% 3%;
|
||||||
color: #237bff;
|
color: #237bff;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -168,6 +172,11 @@ pre {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: RobotoSlab-Regular;
|
||||||
|
src: url("file:///assets/fonts/RobotoSlab-Regular.ttf")
|
||||||
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
BIN
OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
Executable file
BIN
OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
Executable file
Binary file not shown.
Loading…
Reference in a new issue