MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 299: Line 299:
   padding:4px 4px 5px calc(17px + 6.5px * 2);
   padding:4px 4px 5px calc(17px + 6.5px * 2);
   box-shadow:0 2px 3px rgba(0,0,0,0.1);
   box-shadow:0 2px 3px rgba(0,0,0,0.1);
   transition:0.2s
   transition:0.2s;
}
}
#n-Discord a::before {
#n-Discord a::before {
   content:'Join our ';
   content:'Join the ';
   font-weight:normal;
   font-weight:normal;
   opacity:0.85
   opacity:0.85;
}
}
#n-Discord a::after {
#n-Discord a::after {
Line 315: Line 315:
   left:7px;
   left:7px;
   width:17px;
   width:17px;
   height:13px
   height:13px;
}
}
#n-Discord a:hover {
#n-Discord a:hover {
   text-decoration:none;
   text-decoration:none;
   background-color:#525ee0
   background-color:#525ee0;
}
}


/* Sidebar HighLite */
#n-HighLite a {
  color:#fff !important;
  font-weight:bold;
  border-radius:4px;
  border:1px solid #0d0d0d;
  background-color:#1a1a1a;
  display:block;
  position:relative;
  padding:4px 4px 5px calc(17px + 6.5px * 2);
  box-shadow:0 2px 3px rgba(0,0,0,0.1);
  transition:0.2s;
}
#n-HighLite a::before {
  content:'Try Out ';
  font-weight:normal;
  opacity:0.85;
}
#n-HighLite a::after {
  content:'';
  background:url(https://highspell.wiki/w/images/e/e8/HighLite-Logo-Transparent.png) no-repeat;
  background-size: 26px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
  position: absolute;
  top: -1px;
  left: 3px;
  width: 25px;
  height: 25px;
}
#n-HighLite a:hover {
  text-decoration:none;
  background-color:#000000;
}




.image-overlay {
.image-overlay {
   position: relative;
   position: relative;
   width: 100px;
   display: inline-block;
  height: 100px;
}
}
.image-overlay .base {
.image-overlay .base {
   position: absolute;
   display: block;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100px;
}
}
.image-overlay .overlay {
.image-overlay .overlay {
   position: absolute;
   position: absolute;
   top: 0;
   top: 50%;
   left: 0;
   left: 50%;
  transform: translate(-50%, -50%) scale(0.6) rotate(-25deg);
   z-index: 2;
   z-index: 2;
   width: 100px;
}
 
 
.text-muted {
  opacity: 0.6;
  color: inherit; /* Keeps parent color, just dims it */
}
 
.fslightbox-wrapper iframe[data-fslightbox-target] {
  position: absolute;
  top: -9999px;
  left: -9999px;
   width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
}