User:LightSwitch/common.css: Difference between revisions

From Growtopia
Jump to navigationJump to search
>LightSwitch
No edit summary
>LightSwitch
No edit summary
Line 1: Line 1:
/* Home WPCard */
div.ajax-poll {
.wpcardls {
  background:none;
    font-family: Century Gothic, sans-serif;
  padding: 1em;
    margin-bottom: 5px;
  padding: 20px 15px 15px;
    background: linear-gradient(180deg, rgba(161,0,9,1) 0%, rgba(177,59,0,1) 50%, rgba(220,154,0,1) 100%);
  border: none;
    color: #FFF;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 30px 40px 100px;
}
}
 
.wpcardls>.header{
.pollAnswerName {
     text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
     padding-left: 0px;
    font-weight: bold;
    text-align: left;
    font-size: 36px;
    position:relative;
    margin-bottom: 10px;
}
}
 
.wpcardls>.header>.image {
.pollAnswerVotes {
     text-align: center;
     border: none;
     width: 100%;
    background: #9b9b9b;
     display: block;
    height: 15px;
     line-height: 22px;
     color:white;
}
}
 
.wpcardls>.header>h2{
.pollAnswerVotes div {
     font-size: 25px;
     background-color: #142412;
     line-height: 25px;
     border-right: 1px solid #142412;
     text-align: center;
    height: 15px;
     border: none;
     line-height: 22px;
    margin: 0;
     box-shadow: none;
}
}
 
.wpcardls>.body {
div.ajax-poll div.header {
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: none;
    color: black;
     text-align:center;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 10px;
}
}
 
.wpcardls>.body::after{
.ajax-poll form input[type="submit"] {
    border-radius: 20px;
width:100%;
    content: "";
     height: auto;
    display: block;
     padding: 7px 12px;
    width: 100%;
     background-image: none;
     height: 80px;
     border-radius: 0;
     background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/8/88/SummerFestLandscape2.png");
     font-size: 10px;
     background-repeat: repeat-x;
     font-weight: bold;
     position:absolute;
     bottom: 0;
     left: 0;
}
}
 
.wpcardls.large {
.pollAnswerVotes span {
     background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/e/e7/Disclaimerbackground2222.png");
     top: auto;
     background-color: #60D7F2;
    bottom: 100%;
     background-repeat: repeat-x;
     left: auto;
     background-position: bottom;
     right: 0;
     color: black;
}
}



Revision as of 04:30, 4 July 2020

div.ajax-poll {
   background:none;
   padding: 1em;
   padding: 20px 15px 15px;
   border: none;
}
 
.pollAnswerName {
    padding-left: 0px;
 
}
 
.pollAnswerVotes {
    border: none;
    background: #9b9b9b;
    height: 15px;
    line-height: 22px;
    color:white;
}
 
.pollAnswerVotes div {
    background-color: #142412;
    border-right: 1px solid #142412;
    height: 15px;
    line-height: 22px;
    box-shadow: none;
 
}
 
div.ajax-poll div.header {
    background: none;
    color: black;
    text-align:center;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 10px;
}
 
.ajax-poll form input[type="submit"] {
	width:100%;
    height: auto;
    padding: 7px 12px;
    background-image: none;
    border-radius: 0;
    font-size: 10px;
    font-weight: bold;
}
 
.pollAnswerVotes span {
    top: auto;
    bottom: 100%;
    left: auto;
    right: 0;
    color: black;
}

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