Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Vector-2022.css: Difference between revisions

MediaWiki interface page
Adjusted format
No edit summary
Line 488: Line 488:
/* Adapted from Runescape Wiki */
/* Adapted from Runescape Wiki */
#n-Wiki-Discord a {
#n-Wiki-Discord a {
     color: white !important;
     color: white;
     font-size: 12px;
     font-size: 12px;
    font-weight: bold;
     width: fit-content;
     width: fit-content;
     border-radius: 10px;
     border-radius: 6px;
     border: 1px solid #4b56d0;
     background: linear-gradient(to right, oklch(0.55 0.21 274) 0%, oklch(0.55 0.21 274) 27%, oklch(0.60 0.21 274) 27%, oklch(0.60 0.21 274) 100%);
    background-color: #5865F2;
     display: block;
     display: block;
     position: relative;
     position: relative;
     padding: 4px 10px 5px calc(17px + 5.5px * 2);
     padding: 4px 7px 5px calc(17px + 10px * 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 ease;
     transition: 0.2s ease;
Line 504: Line 502:
#n-Wiki-Discord a::before {
#n-Wiki-Discord a::before {
     content: '';
     content: '';
    font-weight: normal;
     margin-left: 1px;
    opacity: 0.85;
     margin-right: 5px;
}
}


Line 523: Line 519:
#n-Wiki-Discord a:hover {
#n-Wiki-Discord a:hover {
     text-decoration: none;
     text-decoration: none;
     background-color: #525ee0;
     background: linear-gradient(to right, oklch(0.51 0.21 274) 0%, oklch(0.51 0.21 274) 27%, oklch(0.56 0.21 274) 27%, oklch(0.56 0.21 274) 100%);
}
}