1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-27 18:41:57 +00:00
The-Modding-Tree/css/misc.css

84 lines
1.5 KiB
CSS
Raw Normal View History

/* Prestige button */
.reset {
height: 120px;
width: 180px;
border-radius: 25%;
border: 4px solid;
border-color: rgba(0, 0, 0, 0.125);
}
.tabButton {
background-color: transparent;
color: var(--color);
font-size: 20px;
cursor: pointer;
padding: 5px 20px;
margin: 5px;
border-radius: 10px;
border: 2px solid;
color: var(--color);
}
.tabButton:hover {
transform: scale(1.1, 1.1);
text-shadow: 0 0 7px var(--color);
}
.tooltip {
2021-06-17 15:58:48 +00:00
pointer-events: none;
text-align: center;
width: 150px;
font-size: 16px;
line-height: 1.2;
bottom: 100%;
left: 50%;
margin-bottom: 5px;
transform: translateX(-50%);
padding: 7px;
font-family: "Lucida Console", "Courier New", monospace;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
opacity: 0;
transition: opacity 0.5s;
2021-06-17 15:58:48 +00:00
position: absolute;
z-index: 20000;
background-color: var(--background_tooltip);
color: var(--points);
content: attr(tooltip);
font-size:14px;
2021-06-17 15:58:48 +00:00
}
2021-06-17 15:58:48 +00:00
.tooltip::after {
content: " ";
position: absolute;
bottom: 100%;
left: 50%;
2021-06-17 15:58:48 +00:00
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: var(--background_tooltip) transparent transparent transparent;
}
/* Horizontal/vertical lines */
.vl {
border-left: 6px solid var(--color);
height: 100%;
position: absolute;
left: 50%;
margin-left: -3px;
top: 0
}
.hl {
border-top: 3px solid var(--color);
}