Difference between revisions of "User:Sponsorn/vector.css"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
 
Line 59: Line 59:
 
.affix_runes_sprite_5 {
 
.affix_runes_sprite_5 {
 
background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_5.jpg');
 
background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_5.jpg');
 +
}
 +
 +
.affix_rune_101 {
 +
        background-position: 1.25% 2.98%;
 
}
 
}

Latest revision as of 09:22, 20 October 2023

/* CSS placed here will be applied to vector.css */
#n-Discord a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid #4b56d0;
    background-color: #5865F2;
    display: block;
    position: relative;
    padding: 5px 0 3px calc(17px + 5.5px * 1.99);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease
}

#n-Discord a::before {
    content: 'Join our ';
    font-weight: normal;
    opacity: 0.85
}

#n-Discord a::after {
    content: '';
    background: url(https://idlescape.wiki/images/4/4e/Discord-Logo-White.png) no-repeat;
    background-size: 15px ;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 3px;
    left: 7px;
    width: 17px;
    height: 13px
}

#n-Discord a:hover {
    text-decoration: none;
    background-color: #525ee0
}
/* Affixes */

.affix_runes {
	border-radius: 10px;
	/* Images are 640px x 832px. Sizes are [dimension]/160px */
	background-size: 400% 520%;
	background-repeat: no-repeat;
}

.affix_runes_sprite_1 {
	background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_1.jpg');
}
.affix_runes_sprite_2 {
	background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_2.jpg');
}
.affix_runes_sprite_3 {
	background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_3.jpg');
}
.affix_runes_sprite_4 {
	background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_4.jpg');
}
.affix_runes_sprite_5 {
	background-image: url('https://www.play.idlescape.com/images/runecrafting/affix_runes/sprite_runes_5.jpg');
}

.affix_rune_101 {
        background-position: 1.25% 2.98%;
}