diff --git a/buscribe-web/constants.less b/buscribe-web/constants.less new file mode 100644 index 0000000..ff0edd1 --- /dev/null +++ b/buscribe-web/constants.less @@ -0,0 +1,2 @@ +@sans-serif: Tahoma, sans-serif; +@serif: Georgia, Garamond, serif; \ No newline at end of file diff --git a/buscribe-web/form.less b/buscribe-web/form.less index f2a72bd..87b1cac 100644 --- a/buscribe-web/form.less +++ b/buscribe-web/form.less @@ -1,3 +1,5 @@ +@import "constants"; + #search_tools { display: flex; flex-direction: column; @@ -6,7 +8,7 @@ label { display: inline-block; - font-family: sans-serif; + font-family: @sans-serif; width: 5em; text-align: right; padding: 0.2em; diff --git a/buscribe-web/line.less b/buscribe-web/line.less index 429264b..63bceda 100644 --- a/buscribe-web/line.less +++ b/buscribe-web/line.less @@ -1,3 +1,5 @@ +@import "constants"; + .line { display: grid; @@ -19,8 +21,7 @@ } .line_start_bus_time { - font-family: sans-serif; - //font-size: small; + font-family: @sans-serif; text-align: right; @@ -31,6 +32,8 @@ } .line_text { + font-family: @serif; + padding: 0.2em; margin-left: 0.3em;