From 23af640c8ca70605c8de360f61d22e78b8fc2ab9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 21 Feb 2019 17:26:43 +0100 Subject: [PATCH] Dun' delete the logo ? D: --- portal/assets/css/ynh-style.css | 29 +++++++++++++++++++++++++++++ portal/header.ms | 4 ++++ 2 files changed, 33 insertions(+) diff --git a/portal/assets/css/ynh-style.css b/portal/assets/css/ynh-style.css index dc1c1b2..b34034a 100644 --- a/portal/assets/css/ynh-style.css +++ b/portal/assets/css/ynh-style.css @@ -126,6 +126,35 @@ img { .ynh-wrapper:after {content: " ";display: table;} .ynh-wrapper:after {clear: both;} +/* Logo */ +.logo { + text-align: center; + margin-bottom: 0; + opacity: 0.7; +} + +.logo img { + margin-top: 4%; + width: 4em; +} + +.logged .logo { + position: fixed; + bottom: 20px; + right: 20px; + z-index: 0; + opacity: 0.7; +} + .logged .logo img { + margin-top: 0; + width: 2.5em; + padding: 0.3em; + border-radius: 5px; + } + +.ynh-panel-active .logo { + display: none; +} /* messages */ .messages { diff --git a/portal/header.ms b/portal/header.ms index f4d8ec2..351197e 100644 --- a/portal/header.ms +++ b/portal/header.ms @@ -37,6 +37,10 @@ +

+ Yunohost +

+
{{#flash_win}}
{{.}}