summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-06 21:09:53 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-06 21:10:19 +0100
commit27bb2b67af84529cd5ee7a61e77008614d868c34 (patch)
treee25e6047e67ced464152222bba49f6904da60aa5
parent603760deb8c33fe4a5c55755cc355d388e0095cb (diff)
show trainsubtype as sup, not sub
-rw-r--r--public/static/css/app.css5
-rw-r--r--public/static/css/material-icons.css8
l---------public/static/v26 (renamed from public/static/v24)0
-rw-r--r--templates/layouts/app.html.ep2
-rw-r--r--templates/layouts/legacy.html.ep2
5 files changed, 10 insertions, 7 deletions
diff --git a/public/static/css/app.css b/public/static/css/app.css
index 1714ec1..5528917 100644
--- a/public/static/css/app.css
+++ b/public/static/css/app.css
@@ -183,7 +183,10 @@ div.app li .line {
div.app li .line .trainsubtype {
font-weight: normal;
font-size: 70%;
- margin-left: -0.5ex;
+ position: relative;
+ vertical-align: baseline;
+ top: -0.6ex;
+ left: -0.5ex;
}
div.app li .line .trainno {
diff --git a/public/static/css/material-icons.css b/public/static/css/material-icons.css
index 90cffd5..c74ed5d 100644
--- a/public/static/css/material-icons.css
+++ b/public/static/css/material-icons.css
@@ -2,12 +2,12 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
- src: url(/static/v25/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
+ src: url(/static/v26/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
- url(/static/v25/fonts/MaterialIcons-Regular.woff2) format('woff2'),
- url(/static/v25/fonts/MaterialIcons-Regular.woff) format('woff'),
- url(/static/v25/fonts/MaterialIcons-Regular.ttf) format('truetype');
+ url(/static/v26/fonts/MaterialIcons-Regular.woff2) format('woff2'),
+ url(/static/v26/fonts/MaterialIcons-Regular.woff) format('woff'),
+ url(/static/v26/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
diff --git a/public/static/v24 b/public/static/v26
index 945c9b4..945c9b4 120000
--- a/public/static/v24
+++ b/public/static/v26
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 3ab4145..91ad3a5 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -18,7 +18,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v25'; # asset version
+ % my $av = 'v26'; # asset version
%= stylesheet "/static/${av}/css/app.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/jquery-ui.min.css"
diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep
index bf6cccb..64de285 100644
--- a/templates/layouts/legacy.html.ep
+++ b/templates/layouts/legacy.html.ep
@@ -17,7 +17,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v25'; # asset version
+ % my $av = 'v26'; # asset version
%= stylesheet "/static/${av}/css/default.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/jquery-ui.min.css"