Difference between revisions of "MediaWiki:Vector.css"

From Alpha Archive Wiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will affect users of the Vector skin: #p-Discord a { color: white !important; font-size: 12px; font-weight: bold; border-radius: 5px;...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
     font-size: 12px;
 
     font-size: 12px;
 
     font-weight: bold;
 
     font-weight: bold;
     border-radius: 5px;
+
     border-radius: 10px;
 
     border: 1px solid #5e76c6;
 
     border: 1px solid #5e76c6;
 
     background-color: #7289da;
 
     background-color: #7289da;
Line 12: Line 12:
 
     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;
 +
    color: white;
 +
    text-shadow: 2px 2px 4px #000000;
 
}
 
}
  
 
#p-Discord a::before {
 
#p-Discord a::before {
     content: 'Alpha Archive ';
+
     content: 'Talk on Discord!';
 
     font-weight: bold;
 
     font-weight: bold;
     opacity: 0.85;
+
     opacity: 1;
 
}
 
}
  
Line 23: Line 25:
 
     content: '';
 
     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: 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: 14px 14px;
+
     background-size: 20px 20px;
 
     filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
 
     filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
 
     position: absolute;
 
     position: absolute;
     top: 4px;
+
     top: 1px;
     left: 7px;
+
     left: 5px;
     width: 17px;
+
     width: 20px;
     height: 13px;
+
     height: 20px;
 
}
 
}
  
 
#p-Discord a:hover {
 
#p-Discord a:hover {
 
     text-decoration: none;
 
     text-decoration: none;
     background-color: #6980d1;
+
     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;
 
}
 
}

Latest revision as of 23:20, 27 July 2020

/* 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;
}