From 70fc367a489c993a4f07cad2e36c7787fd0b7514 Mon Sep 17 00:00:00 2001 From: shizuka Date: Thu, 8 Nov 2018 15:12:02 +0100 Subject: [PATCH] css --- layouts/_default/baseof.html | 2 +- layouts/partials/sidebar.html | 4 ++-- static/css/labs.css | 11 +++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 84d7426..efe81f0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ - + {{ block "title" . }} {{ .Title}}{{ if ne .Title .Site.Title }} | {{ .Site.Title }}{{ end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index cce795f..1e3ff3c 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -3,12 +3,12 @@ <div class="sidebar-header"> {{ if eq .Lang "en"}} <a class="sidebar-brand" href="/en/"> - <img src="/page-resources/wmilogo_red.png"> + <img src="/page-resources/wmi_black.png"> {{ .Site.Title }} </a> {{else}} <a class="sidebar-brand" href="/"> - <img src="/page-resources/wmilogo_red.png"> + <img src="/page-resources/wmi_black.png"> {{ .Site.Title }} </a> {{end}} diff --git a/static/css/labs.css b/static/css/labs.css index 079a7e3..d1a34f0 100644 --- a/static/css/labs.css +++ b/static/css/labs.css @@ -176,7 +176,7 @@ a:hover { letter-spacing: 0.3rem; font-weight: bold; padding-bottom: 1rem; - background-color: rgb(186, 50, 50);/*#ba3232;*/ + background-color: #292929;/*rgb(186, 50, 50); #ba3232;*/ } .sidebar-menu { @@ -206,7 +206,14 @@ a:hover { width: 32rem; margin: 0 0; } - +/* +.sidebar img { + max-width: 42rem; + margin-left: -3rem; + margin-top: -1rem; + margin-right: +} +*/ .sidebar.active { display: block; }