MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
(44 intermediate revisions by the same user not shown) | |||
Line 110: | Line 110: | ||
.table-bg-red { | .table-bg-red { | ||
background: color-mix(in srgb, #d53e4f, transparent 50%); | background: color-mix(in srgb, #d53e4f, transparent 50%); | ||
} | |||
.table-bg-ultrarare, | |||
.table-bg-purple { | |||
background: color-mix(in srgb, #9b91af, transparent 50%); | |||
} | } | ||
.table-bg-random, | .table-bg-random, | ||
Line 295: | 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 | content:'Join the '; | ||
font-weight:normal; | font-weight:normal; | ||
opacity:0.85 | opacity:0.85; | ||
} | } | ||
#n-Discord a::after { | #n-Discord a::after { | ||
Line 311: | 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://highlite.fanet.dev/assets/logo-Da2Oi0Av.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 { | |||
position: relative; | |||
display: inline-block; | |||
} | |||
.image-overlay .base { | |||
display: block; | |||
} | |||
.image-overlay .overlay { | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%) scale(0.6) rotate(-25deg); | |||
z-index: 2; | |||
} | |||
.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; | |||
} | } |