kirbylife.dev/public/style.css

74 lines
1.1 KiB
CSS

body {
background-color: white;
font-family: monospace;
}
.decohead {
background-color: #444444;
height: 10px;
}
.navfoot {
background-color: #444444;
color: #white;
}
.about {
font-size: 120%;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.5em;
margin: 0;
}
.project-title {
display: flex;
align-items: center;
justify-content: center;
}
.project-desc {
margin-top: 5px;
}
.tooltip {
position: relative;
display: inline-block;
margin-bottom: -5px;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 125px;
background-color: #444444;
color: #fff;
text-align: center;
border-radius: 6px;
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;
}