User:LightSwitch/common.css: Difference between revisions

From Growtopia
Jump to navigationJump to search
>LightSwitch
No edit summary
>LightSwitch
No edit summary
Line 80: Line 80:
.navButton a:hover {
.navButton a:hover {
     text-decoration: none;
     text-decoration: none;
     color: rgba(0,0,0,0.5);
     color: rgba(255,255,255,0.5);
}
}
   
   

Revision as of 16:08, 3 July 2020

/* Home WPCard */
.wpcardls {
    font-family: Century Gothic, sans-serif;
    margin-bottom: 5px;
    background: linear-gradient(180deg, rgba(161,0,9,1) 0%, rgba(177,59,0,1) 50%, rgba(220,154,0,1) 100%);
    color: #FFF;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 30px 40px 80px;
}

.wpcardls>.header{
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    text-align: left;
    font-size: 36px;
    position:relative;
    margin-bottom: 10px;
}

.wpcardls>.header>.image {
    text-align: center;
    width: 100%;
    display: block;
}

.wpcardls>.header>h2{
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    border: none;
    margin: 0;
}

.wpcardls>.body {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.wpcardls>.body::after{
    border-radius: 20px;
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/8/88/SummerFestLandscape2.png");
    background-repeat: repeat-x;
    position:absolute;
    bottom: 0;
    left: 0;
}

.wpcardls.large {
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/e/e7/Disclaimerbackground2222.png");
    background-color: #60D7F2;
    background-repeat: repeat-x;
    background-position: bottom;
}

/* Button (similar to the one in NewsBox) */
.navButton {
    background: #A10164;
    font-family: Century Gothic, sans-serif;
    font-weight: bold;
    display: inline-block;
    border: 3px solid #FFFFFF;
    border-radius: 10px;
    color: #FFF;
    padding: 10px;
    text-shadow: 1.5px 1.5px rgba(0,0,0,0.7);
    margin-bottom: 5px;
    box-shadow: 0 3px 0px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.navButton a {
    color: #FFF;
    text-decoration: none;
}
 
.navButton a:hover {
    text-decoration: none;
    color: rgba(255,255,255,0.5);
}
 
.navButton a:after {
    display: none !important;
}