MediaWiki:Wikia.css: Difference between revisions

From RollerCoaster Tycoon Wiki Wiki, the RollerCoaster Tycoon encyclopedia that anyone can edit.
Content added Content deleted
(Adjusting column width in infoboxes)
No edit summary
Line 100: Line 100:
.portable-infobox .pi-data-value {
.portable-infobox .pi-data-value {
flex: 1 1 150px;
flex: 1 1 150px;
}

/* Hide some clutter */
#mixed-content-footer {
display: none;
}
}

Revision as of 10:11, 14 January 2021

/* import Common.css so it serves its function - 2/1/11  */
@import url("/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text/css&smaxage=86400&action=raw&maxage=86400");

/* hover effect for main page navigation
class="mainpage-nav" */
.mainpage-nav {
    cursor:pointer;
    opacity:0.7;
}
 
.mainpage-nav:hover {
    opacity:1;
    transition: 0.2s all ease;
}
 
.mainpage-nav-2 {
    cursor:pointer;
    opacity:3.0;
}
 
.mainpage-nav-2 a {
    font-family:Open Sans;
    font-weight:300;
    text-align:center;
    text-transform:uppercase;
    text-decoration: none !important;
    color:#fff;
}
 
.mainpage-nav-2:hover {
    background: -moz-linear-gradient(top, rgba(36,111,179,0.1) 0%, rgba(36,111,179,0.4) 50%, rgba(36,111,179,0.8) 100%); /* FF3.6 */
    background: -webkit-gradient(linear, right top, right bottom, color-stop(0%,rgba(36,111,179,0.1)), color-stop(50%,rgba(36,111,179,0.4)), color-stop(100%,rgba(36,111,179,0.8))); /* Chrome,Safari4+ */
    opacity:1;
    transition: 0.2s all ease;
}

/* .Custom page backgrounds */

/* .RCT1 */
    body.page-Forest_Frontiers{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/7/71/Forest_Frontiers_RCT1_giant.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

    body.page-Diamond_Heights{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/5/5b/Diamond_Heights_RCT1_giant.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

    body.page-Leafy_Lake{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/2/26/Leafy_Lake_RCT1.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

    body.page-Diamond_Heights{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/5/5b/Diamond_Heights_RCT1_giant.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

body.page-Diamond_Heights{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/5/5b/Diamond_Heights_RCT1_giant.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

/* .RCT2 */
body.page-Crazy_Castle{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/0/05/Crazy_Castle_RCT2_giant.png) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }

/* .RCT3 */
body.page-Vanilla_Hills{
    background: #000000 url(https://vignette.wikia.nocookie.net/rct/images/8/8f/Vanilla_Hills_Overview.png/revision/latest?cb=20100119020028) 0 0 no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    }


/* Styles for infoboxes */
.portable-infobox .pi-data-value {
	flex:		1 1 150px;
}

/* Hide some clutter */
#mixed-content-footer {
    display: none;	
}