kirbylife.dev/public/style.css

54 lines
855 B
CSS

body {
background-color: white;
font-family: monospace;
}
.navfoot {
background-color: #444444;
color: #white;
}
.about {
font-size: 120%;
}
p {
text-align: justify;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 125px;
background-color: #444444;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #444444 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}