From c443795be3ecdbadc62b7d57ced673fe67c49ad7 Mon Sep 17 00:00:00 2001 From: HeNine <> Date: Wed, 6 Oct 2021 14:39:08 +0200 Subject: [PATCH] Design is my passion --- buscribe-web/constants.less | 2 ++ buscribe-web/form.less | 4 +++- buscribe-web/line.less | 7 +++++-- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 buscribe-web/constants.less 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;