From 4336e5bc14c506990f5c76e667ae197da0b63610 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 14 May 2018 10:43:20 +0200 Subject: [PATCH] less css --- static/nryg.css | 9 --------- static/nryg.less | 13 +++++++++++++ templates/base.html | 3 ++- 3 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 static/nryg.css create mode 100644 static/nryg.less diff --git a/static/nryg.css b/static/nryg.css deleted file mode 100644 index d367808b..00000000 --- a/static/nryg.css +++ /dev/null @@ -1,9 +0,0 @@ -body { - font-family: sans-serif; - color: #a0ccff; - background-color: #0d193b; -} - -h1, h2, h3, h4, h5, h6 { - color: #fff; -} diff --git a/static/nryg.less b/static/nryg.less new file mode 100644 index 00000000..027bca9c --- /dev/null +++ b/static/nryg.less @@ -0,0 +1,13 @@ +@ryg-dark-blue: #0d193b; +@ryg-light-blue: #a0ccff; + +body { + font-family: sans-serif; + color: @ryg-light-blue; + background-color: @ryg-dark-blue; +} + +h1, h2, h3, h4, h5, h6 { + color: white; +} + diff --git a/templates/base.html b/templates/base.html index 35d2dbe7..23982424 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,8 @@ {% block pagetitle %}{% endblock %} - Royal Games {% block prehead %}{% endblock %} - + + {% block posthead %}{% endblock %}