From 9e2f16dde980b27112e9380ac0d00b027e23e102 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 28 Feb 2019 16:25:50 +0100 Subject: [PATCH] website css modified --- website/project-files/css/main.css | 2 +- website/project-files/css/menu.css | 12 +++++++++++- website/templates/base.html | 2 +- website/templates/base_blog.html | 4 ++-- website/templates/base_blog_details.html | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/website/project-files/css/main.css b/website/project-files/css/main.css index 839bf24..0de4ebf 100755 --- a/website/project-files/css/main.css +++ b/website/project-files/css/main.css @@ -72,7 +72,7 @@ hr {height:1px; background:none; border-bottom:dotted 1px #666; margin-bottom:20 display:inline-block; margin-top:20px; } -.btn:hover {background:#b5c50f; color:#FFF;} +.btn:hover {background:#b5c50f; color:#464645;} .center_btn { width:100%; text-align:center; } /* White Color */ diff --git a/website/project-files/css/menu.css b/website/project-files/css/menu.css index 4736bc9..3b6d658 100755 --- a/website/project-files/css/menu.css +++ b/website/project-files/css/menu.css @@ -66,7 +66,7 @@ a#pull span:nth-of-type(3) {margin-bottom:0px;} #mainmenu ul li a { padding:0px 15px; height:50px; - color:#FFF; + color: #464645; font-size:17px; display:flex; display:-webkit-flex; @@ -76,6 +76,9 @@ a#pull span:nth-of-type(3) {margin-bottom:0px;} flex-direction:column; } +#mainmenu ul li.active a { + color: #fff; +} #mainmenu ul li .trigger { width:50px; height:50px; @@ -99,6 +102,7 @@ a#pull span:nth-of-type(3) {margin-bottom:0px;} #mainmenu ul li.active { background:#464645; + color: #fff; } #mainmenu .sub-menu { @@ -153,6 +157,12 @@ a#pull span:nth-of-type(3) {margin-bottom:0px;} background:#b5c50f; /*border-top:solid 5px #781c45;*/ } + #mainmenu ul.sub-menu li a{ + color: #464645; + } + #mainmenu ul.sub-menu li.active a, #mainmenu ul.sub-menu li:hover a { + color: #fff; + } #mainmenu>ul>li>a {padding:0px 20px;} #mainmenu>ul>li>a, #mainmenu>ul>li>ul>li>a {transition:background 0.3s;} #mainmenu>ul>li>ul>li:hover>a {background:#464645;} diff --git a/website/templates/base.html b/website/templates/base.html index 73e04b2..0c5214e 100755 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -101,7 +101,7 @@

{{ nav.This.Data.teaser }}

- mehr lesen » + mehr lesen »
diff --git a/website/templates/base_blog.html b/website/templates/base_blog.html index 640b797..ffa56fa 100644 --- a/website/templates/base_blog.html +++ b/website/templates/base_blog.html @@ -9,7 +9,7 @@ {{ e.teaser|markdown }} {% if e.body %} - mehr lesen > + mehr lesen » {{ fnRender("base_blog_details.html", e.date|add:"-"|add:e.title, e, "details", e.body) }} {% endif %} {% endfor %} @@ -26,7 +26,7 @@ {{ e.teaser|markdown }} {% if e.body %} - mehr lesen > + mehr lesen » {{ fnRender("base_blog_details.html", e.date|add:"-"|add:e.title, e, "details", e.body) }} {% endif %} {% endfor %} diff --git a/website/templates/base_blog_details.html b/website/templates/base_blog_details.html index 219e4af..8f4ce4c 100644 --- a/website/templates/base_blog_details.html +++ b/website/templates/base_blog_details.html @@ -11,5 +11,5 @@ {% block part1 %} {{ Body }} - < zurück + « zurück {% endblock part1 %}