MediaWiki:Common.css: Difference between revisions

LORE
(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
}
}
.invgrid {
.sinvgrid {
  border-collapse:collapse;
  border-collapse:collapse;
  display:inline-block
  display:inline-block
Line 1,456: Line 1,456:


.tooltip {
.tooltip {
font-family:minecraftia, sans-serif;
    position: fixed;
display:none;
top: 0;
position:absolute;
left: 0;
border: 0.125em solid #100010;
background-color: #100010;
border-style: none solid;
background-color: rgba(16, 0, 16, 0.94);
border-color: rgba(16, 0, 16, 0.94);
padding: 0.375em;
background-color: #100010;
font-family: MinecraftiaRegular, sans-serif;
background-color: rgba(16, 0, 16, 0.94);
font-size: 16px;
word-spacing: 4px;
    color: #FFF;
border-radius:2px;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
padding:10px;
word-spacing: -5px;
padding-top:10px;
white-space: nowrap;
padding-bottom:0px;
line-height: 1.25em;
color:#fff;
margin: 0.125em 0.25em;
font-size:16px;
pointer-events: none;
line-height:1.25em;
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;
}
}
.tooltip p {
.lore {
margin:0;
  display: block;
line-height:0px
margin-top: 0.25em;
}
}


184

edits