MediaWiki:Vector.css

From Alpha Archive Wiki
Revision as of 23:20, 27 July 2020 by Cashmint (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin */
#p-Discord a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #5e76c6;
    background-color: #7289da;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 5.5px * 2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

#p-Discord a::before {
    content: 'Talk on Discord!';
    font-weight: bold;
    opacity: 1;
}

#p-Discord a::after {
    content: '';
    background: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/bde3849f-8b50-46e6-92fa-06b89b73054a/d9y9q3w-c2d32c48-62dd-4218-9503-12921a70d6c9.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwic3ViIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsImF1ZCI6WyJ1cm46c2VydmljZTpmaWxlLmRvd25sb2FkIl0sIm9iaiI6W1t7InBhdGgiOiIvaS9iZGUzODQ5Zi04YjUwLTQ2ZTYtOTJmYS0wNmI4OWI3MzA1NGEvZDl5OXEzdy1jMmQzMmM0OC02MmRkLTQyMTgtOTUwMy0xMjkyMWE3MGQ2YzkucG5nIn1dXX0.fd2zq1XkGFfJIDwjMBT9GxqRJZTkq8n52tC8iHhsPFM') no-repeat;
    background-size: 20px 20px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 1px;
    left: 5px;
    width: 20px;
    height: 20px;
}

#p-Discord a:hover {
    text-decoration: none;
    background-color: #4a67cf;
}
#p-Xbox a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #5e76c6;
    background-color: #8FBC8F;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 5.5px * 2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}
#p-Xbox a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #228B22;
    background-color: #629d62;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 5.5px * 2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

#p-Xbox a::before {
    content: null;
    font-weight: bold;
    opacity: 1;
}

#p-Xbox a::after {
    content: '';
    background: url('https://wiki.alphaarchive.net/images/c/c5/Xboxlogo.png') no-repeat;
    background-size: 20px 18px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 2px;
    left: 5px;
    width: 20px;
    height: 20px;
}

#p-Xbox a:hover {
    text-decoration: none;
    background-color: #4f7d4f;
}

#p-Xbox_360 a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #228B22;
    background-color: #8FBC8F;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 5.5px * 2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
    transition: 0.2s ease;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

#p-Xbox_360 a::before {
    content: null;
    font-weight: bold;
    opacity: 1;
}

#p-Xbox_360 a::after {
    content: '';
    background: url('https://www.freepnglogos.com/uploads/xbox-logo-20.png') no-repeat;
    background-size: 16px 16px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 3px;
    left: 6px;
    width: 20px;
    height: 20px;
}

#p-Xbox_360 a:hover {
    text-decoration: none;
    background-color: #70a970;
}

/* Not configured. Once PS3 options are added, fix formatting. */
#p-Playstation_3 a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #228B22;
    background-color: #8FBC8F;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 5.5px * 2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
    transition: 0.2s ease;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

#p-Playstation_3 a::before {
    content: null;
    font-weight: bold;
    opacity: 1;
}

#p-Playstation_3 a::after {
    content: '';
    background: url('http://pngimg.com/uploads/xbox/xbox_PNG17529.png') no-repeat;
    background-size: 18px 18px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 2px;
    left: 5px;
    width: 20px;
    height: 20px;
}

#p-Playstation_3 a:hover {
    text-decoration: none;
    background-color: #609f60;
}