Zmiany w wyglądzie listy pociągów

This commit is contained in:
2020-11-05 01:15:12 +01:00
parent fe3a15c452
commit 42f84643cc
13 changed files with 258 additions and 157 deletions
+44
View File
@@ -16,6 +16,50 @@
}
}
.tooltip {
position: relative;
display: inline-block;
z-index: 5;
& > .content {
visibility: hidden;
width: 120px;
background-color: #830000;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
font-size: 1rem;
position: absolute;
bottom: 155%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
&::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #aa0000 transparent transparent transparent;
}
}
&:hover > .content {
visibility: visible;
opacity: 1;
}
}
html {
scroll-behavior: smooth;
}