Fix style

This commit is contained in:
Victor Shcherb 2018-04-15 17:13:31 +02:00
parent c871e8795d
commit 5ab40a75d5
3 changed files with 12 additions and 9 deletions

View file

@ -47,6 +47,7 @@ h2 {
margin-top: 3%;
margin-bottom: 3%;
font-weight: normal;
line-height: 1.6em;
}
h2.active:after {
@ -61,7 +62,7 @@ h2:after {
content: "";
border: solid black;
border-width: 0 3px 3px 0;
margin-top: 20px;
margin-top: 10px;
display: inline-block;
padding: 3px;
transform: rotate(45deg);
@ -70,14 +71,21 @@ h2:after {
right: 1em;
}
/*
.mw-headline {
}
*/
h3 {
color: #212121;
font-size: 1.2em;
font-family: sans-serif;
word-wrap: break-word;
font-weight: normal;
font-weight: bold;
margin-top: 3%;
margin-bottom: 3%;
line-height: 1.6em;
}
p {
@ -105,12 +113,6 @@ li {
font-size: 1.1em;
}
.mw-headline {
font-family: sans-serif;
font-size: 1.1em;
line-height: 1.6em;
font-weight: bold;
}
img {
width: 100%;

View file

@ -63,6 +63,7 @@ public class WikivoyageWebViewClient extends WebViewClient {
private void warnAboutExternalLoad(final String url) {
AlertDialog.Builder builder = new AlertDialog.Builder(mContext);
builder.setTitle(url);
builder.setMessage(R.string.online_webpage_warning);
builder.setPositiveButton(R.string.shared_string_ok, new DialogInterface.OnClickListener() {
@Override

View file

@ -327,7 +327,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
return;
}
if(article.getGpxFile() != null) {
trackButton.setText(trackButton.getText() + " (" + article.getGpxFile().getPointsSize() +")");
trackButton.setText(getString(R.string.points) + " (" + article.getGpxFile().getPointsSize() +")");
}
WikivoyageLocalDataHelper ldh = getMyApplication().getWikivoyageDbHelper().getLocalDataHelper();