From 905e11bda34f2bf0c865e8d714ae3ecf269ee9db Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Aug 2018 19:12:59 +0200 Subject: [PATCH] Fix css --- static/nryg.less | 13 ++++++----- templates/main.html | 54 ++++++++++++++++++++++++--------------------- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/static/nryg.less b/static/nryg.less index 6c071a63..402b8256 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -141,12 +141,6 @@ nav { } .box { - border-radius: 4px; - background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); - padding: 8px; - margin-left: 4px; - margin-right: 4px; - .upper-box { margin-top: 4px; border-radius: 4px 4px 0 0; @@ -154,11 +148,18 @@ nav { color: @accent-color; font-size: small; font-weight: bold; + margin-left: 4px; + margin-right: 4px; + padding: 8px; } .lower-box { + background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); margin-bottom: 4px; + margin-left: 4px; + margin-right: 4px; border-radius: 0 0 4px 4px; + padding: 8px; } } diff --git a/templates/main.html b/templates/main.html index 34608311..7da05b20 100644 --- a/templates/main.html +++ b/templates/main.html @@ -12,7 +12,7 @@
- Prossimi eventi + Prossimi eventi
{% for event in next_events %} @@ -44,31 +44,35 @@
-
- Membri +
+
+ Membri +
+
+ +
-
- -
-
- Resoconti -
-