From 7b3e9f344ee68954b9d73df1b4dc05a1266bdd87 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 1 May 2020 23:09:03 +0200 Subject: [PATCH] Better styling --- web/style/style.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/web/style/style.scss b/web/style/style.scss index 3f0980b..167053f 100644 --- a/web/style/style.scss +++ b/web/style/style.scss @@ -178,7 +178,7 @@ $postamble-height: 55px; } img { - background: $light; + background: fade-out($light, 0.2); } } @@ -418,16 +418,18 @@ h4 { .tooltiptext { visibility: hidden; - width: 120px; margin-left: -60px; /* Half the width */ bottom: 100%; - left: 50%; - padding: 5px 0; + left: 10%; + padding: 5px 10px; text-align: center; border-radius: 6px; + white-space: nowrap; + position: absolute; - z-index: 2; + z-index: 5; + &::after { content: " ";