From 1f4fa74fb1ea973487c3ca2fd8a4b256c6766674 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 21 Sep 2018 22:22:17 +0200 Subject: [PATCH] margins --- rowers/templates/menu_demo.html | 77 ++++++++++++++++++++++++++++ rowers/templates/menu_workouts.html | 19 +++++++ rowers/templates/redesign.html | 79 +---------------------------- static/css/styles2.css | 21 +++++++- 4 files changed, 116 insertions(+), 80 deletions(-) create mode 100644 rowers/templates/menu_demo.html create mode 100644 rowers/templates/menu_workouts.html diff --git a/rowers/templates/menu_demo.html b/rowers/templates/menu_demo.html new file mode 100644 index 00000000..e742af16 --- /dev/null +++ b/rowers/templates/menu_demo.html @@ -0,0 +1,77 @@ + diff --git a/rowers/templates/menu_workouts.html b/rowers/templates/menu_workouts.html new file mode 100644 index 00000000..c414ff5a --- /dev/null +++ b/rowers/templates/menu_workouts.html @@ -0,0 +1,19 @@ + diff --git a/rowers/templates/redesign.html b/rowers/templates/redesign.html index 48e496e5..79779d35 100644 --- a/rowers/templates/redesign.html +++ b/rowers/templates/redesign.html @@ -11,82 +11,5 @@ {% endblock %} {% block sidebar %} - - +{% include 'menu_workouts.html' %} {% endblock %} diff --git a/static/css/styles2.css b/static/css/styles2.css index 74acb81a..b60a3658 100644 --- a/static/css/styles2.css +++ b/static/css/styles2.css @@ -34,6 +34,8 @@ aside ul { margin-bottom: 0; + margin-top: 15px; + margin-bottom: 15px; left: 15px; } @@ -87,6 +89,7 @@ aside a { color: #a0f6aa; text-decoration: none; + padding: 0.2em 0em 0.2em 0em; } @@ -120,10 +123,24 @@ aside .cd-accordion-menu a { position: relative; display: block; - color: #ffffff; + color: #dddddd; font-size: 1.2em; } + aside i { + font-size: 1.2em; + } + + aside a::before { + content: '\00a0'; + width: 16px; + height: 16px; + display: inline-block; + font-size: inherit; + text-rendering: auto; + } + + aside .cd-accordion-menu label::before { /* icons */ @@ -222,7 +239,7 @@ .wrapper { display: grid; - grid-gap: 2px; +/* grid-gap: 2px; */ grid-template-areas: "header" "user"