aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/static/main.css
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-05 20:58:28 +0200
committerJulien Dessaux2021-04-05 20:58:28 +0200
commit309d17b921f75b16298cfe88ada9ba89bf646ac5 (patch)
treedd65823647fbb0769a851f34948af131b097fc60 /internal/webui/static/main.css
parentFixed scope of test helpers in navitia_api_client package (diff)
downloadtrains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.gz
trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.bz2
trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.zip
Added basic webui to show results
Diffstat (limited to '')
-rw-r--r--internal/webui/static/main.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/internal/webui/static/main.css b/internal/webui/static/main.css
new file mode 100644
index 0000000..7cb5779
--- /dev/null
+++ b/internal/webui/static/main.css
@@ -0,0 +1,30 @@
+* {
+ box-sizing: border-box;
+}
+body {
+ font-family: open sans,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol;
+ font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ display: grid;
+ grid-template-rows: auto 1fr auto;
+}
+@media only screen and (min-width: 60rem) {
+ body {
+ max-width:60rem;
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
+table {
+ border-collapse: collapse;
+}
+th, td {
+ text-align: center;
+ border-bottom: 1px solid #ddd;
+}
+th {
+ background-color: darkgray;
+ color: white;
+}
+tr:nth-child(even) {
+ background-color: #f2f2f2;
+}