Better styling

This commit is contained in:
Lucien Cartier-Tilet 2020-05-01 23:09:03 +02:00
parent 9db0e8fc12
commit 7b3e9f344e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 7 additions and 5 deletions

View File

@ -178,7 +178,7 @@ $postamble-height: 55px;
} }
img { img {
background: $light; background: fade-out($light, 0.2);
} }
} }
@ -418,16 +418,18 @@ h4 {
.tooltiptext { .tooltiptext {
visibility: hidden; visibility: hidden;
width: 120px;
margin-left: -60px; /* Half the width */ margin-left: -60px; /* Half the width */
bottom: 100%; bottom: 100%;
left: 50%; left: 10%;
padding: 5px 0; padding: 5px 10px;
text-align: center; text-align: center;
border-radius: 6px; border-radius: 6px;
white-space: nowrap;
position: absolute; position: absolute;
z-index: 2; z-index: 5;
&::after { &::after {
content: " "; content: " ";