184
edits
(Make it so .tooltip doesn't override the rest of the codes) |
(LORE) |
||
Line 1,350: | Line 1,350: | ||
font-family:'minecraftia'; | font-family:'minecraftia'; | ||
src:url(https://wiki.gm4.co/resources/assets/fonts/minecraftia-regular-webfont.woff2) format('woff2'), | src:url(https://wiki.gm4.co/resources/assets/fonts/minecraftia-regular-webfont.woff2) format('woff2'), | ||
url(https://wiki.gm4.co/resources/assets/fonts/minecraftia-regular-webfont.woff) format('woff') | url(https://wiki.gm4.co/resources/assets/fonts/minecraftia-regular-webfont.woff) format('woff'), | ||
url(https://wiki.gm4.co/resources/assets/fonts/Minecraftia-Regular.ttf) format('ttf'); | url(https://wiki.gm4.co/resources/assets/fonts/Minecraftia-Regular.ttf) format('ttf'); | ||
font-weight:normal; | font-weight:normal; | ||
font-style:normal | font-style:normal | ||
} | } | ||
. | .sinvgrid { | ||
border-collapse:collapse; | border-collapse:collapse; | ||
display:inline-block | display:inline-block | ||
Line 1,456: | Line 1,456: | ||
.tooltip { | .tooltip { | ||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
background-color: #100010; | |||
background-color: rgba(16, 0, 16, 0.94); | |||
padding: 0.375em; | |||
font-family: MinecraftiaRegular, sans-serif; | |||
font-size: 16px; | |||
color: #FFF; | |||
text-shadow: 0.125em 0.125em 0 #3F3F3F; | |||
word-spacing: -5px; | |||
white-space: nowrap; | |||
line-height: 1.25em; | |||
margin: 0.125em 0.25em; | |||
pointer-events: none; | |||
z-index: 9999; | |||
} | |||
.tooltip::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0.125em; | |||
right: -0.125em; | |||
bottom: 0.125em; | |||
left: -0.125em; | |||
border: 0.125em solid #100010; | |||
border-style: none solid; | |||
border-color: rgba(16, 0, 16, 0.94); | |||
} | |||
.tooltip::after { | |||
content: ""; | |||
position: absolute; | |||
top: 0.125em; | |||
right: 0; | |||
bottom: 0.125em; | |||
left: 0; | |||
border: 0.125em solid #2D0A63; | |||
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1; | |||
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1; | |||
} | } | ||
. | .lore { | ||
display: block; | |||
margin-top: 0.25em; | |||
} | } | ||