Subway Validation Results
Total good metro networks: {good_cities} of {total_cities}.
- +diff --git a/v2h_templates.py b/v2h_templates.py
index 0eddc02..eb825f1 100644
--- a/v2h_templates.py
+++ b/v2h_templates.py
@@ -6,6 +6,10 @@ STYLE = '''
body {
font-family: sans-serif;
font-size: 12pt;
+ margin: 0px;
+}
+main {
+ margin: 10px;
}
main {
margin: 0 auto;
@@ -43,8 +47,7 @@ table {
max-width: 900px;
}
tr:hover td:nth-child(n+2) {
- background: lightblue;
- box-shadow: 0px 0px 5px lightblue;
+ filter: hue-rotate(-50deg);
}
td {
border-radius: 2px;
@@ -95,7 +98,14 @@ td div+div {
}
.tooltip:hover:before,.tooltip:hover:after {
opacity: 1;
- visibility: visible
+ visibility: visible
+}
+footer {
+ background: white;
+ border-top: 1px solid grey;
+ bottom: 0px;
+ padding: 10px;
+ position: sticky;
}
'''
@@ -112,7 +122,7 @@ INDEX_HEADER = '''
Total good metro networks: {good_cities} of {total_cities}.Subway Validation Results
'''.replace('(s)', STYLE)
@@ -162,10 +172,10 @@ INDEX_COUNTRY = '''
INDEX_FOOTER = '''
Produced by Subway Preprocessor on {date}. +
+of all metro systems.