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: | ||
/* | /* GTW Card */ | ||
. | .gtw-card { | ||
background: # | background-image: linear-gradient(#f2ab60,#9c4f0c); | ||
background-position: bottom center; | |||
background-repeat: repeat-x; | |||
border-radius: 20px; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.5); | |||
color: #FFF; | |||
font-family: Century Gothic, sans-serif; | font-family: Century Gothic, sans-serif; | ||
margin-bottom: 10px; | |||
padding: 25px 40px 80px; | |||
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); | |||
} | |||
.gtw-card.card-center { | |||
text-align: center; | |||
} | |||
.gtw-card h2 { | |||
border: none; | |||
font-size: 35px; | |||
font-weight: bold; | font-weight: bold; | ||
line-height: 35px; | |||
margin: 0; | |||
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); | |||
} | |||
.gtw-card p.gtw-text-mb { | |||
font-size: 14px; | |||
line-height: 18px; | |||
margin-bottom: 20px; | |||
} | |||
.gtw-card a { | |||
color: #FC0; | |||
font-style: normal; | |||
text-decoration: none; | |||
} | |||
.gtw-card .gtw-btn a { | |||
background: #239BBC; | |||
border-radius: 10px; | border-radius: 10px; | ||
box-shadow: 0 2px 2px rgba(0,0,0,0.5); | |||
color: #FFF; | color: #FFF; | ||
display: block; | |||
font-size: 20px; | |||
font-weight: bold; | |||
padding: 10px; | padding: 10px; | ||
text- | text-align: center; | ||
text-decoration: none; | |||
} | |||
.gtw-card .gtw-btn a:after { | |||
display: none; | |||
} | |||
.gtw-nav.full-width a { | |||
margin: 3px 0; | |||
padding: 3px 12px; | |||
text-align: left; | |||
width: 100%; | |||
} | |||
.gtw-nav>p { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.gtw-nav a { | |||
background: #A10164; | |||
border: 3px solid #FFF; | |||
border-radius: 10px; | |||
box-shadow: 0 3px 0px rgba(0, 0, 0, 0.5); | box-shadow: 0 3px 0px rgba(0, 0, 0, 0.5); | ||
color: #FFFFFF; | |||
display: inline-block; | |||
font-size: 16px; | |||
font-weight: bold; | |||
margin: 5px; | |||
padding: 6px 12px; | |||
text-align: center; | text-align: center; | ||
text-decoration: none; | |||
text-shadow: 1.5px 1.5px rgba(0,0,0,0.7); | |||
transition: opacity 0.2s; | |||
} | |||
.gtw-nav a:hover { | |||
opacity: 0.75; | |||
} | |||
.gtw-nav a span { | |||
background: url("https://vignette.wikia.nocookie.net/growtopia/images/8/8f/ItemSprites.png"); | |||
display: inline-block; | |||
height: 32px; | |||
width: 32px; | |||
vertical-align: middle; | |||
margin-right: 5px; | |||
} | |||
.gtw-card .ajax-poll { | |||
border: 0; | |||
padding: 0; | |||
} | |||
.gtw-card .ajax-poll .header { | |||
font-size: 17px; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerName { | |||
padding-left: 0; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerName input[type=radio] { | |||
margin-left: 0; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerVotes { | |||
background: rgba(0, 0, 0, 0.5); | |||
border: 0; | |||
height: 5px; | |||
margin-left: 0; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerVotes div { | |||
background: #FFFFFF; | |||
height: 5px; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerVotes span { | |||
bottom: 0; | |||
font-weight: bold; | |||
left: auto; | |||
right: 0; | |||
top: auto; | |||
} | |||
.gtw-card .ajax-poll .pollAnswerVotes:hover span { | |||
bottom: auto; | |||
color: #FF9900; | |||
text-shadow: 2px 0 #000, 0 2px #000, 0 -2px #000, -2px 0 #000, 1px 1px #000, 1px -1px #000, -1px 1px #000, -1px -1px #000; | |||
top: -250%; | |||
} | |||
.gtw-card .ajax-poll input[type="submit"] { | |||
background-image: none; | |||
border-radius: 10px; | |||
box-sizing: border-box; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.5); | |||
font-family: Century Gothic, sans-serif; | |||
font-size: 20px; | |||
font-weight: bold; | |||
height: auto; | |||
margin-top: 5px; | |||
outline: none; | |||
padding: 10px; | |||
text-transform: uppercase; | |||
width: 100%; | |||
} | |||
.gtw-card .ajax-poll input[type="submit"]:hover { | |||
background-image: none; | |||
} | |||
.gtw-card .ajax-poll #ajax-poll-area > div:last-child { | |||
font-size: 12px; | |||
line-height: 12px; | |||
} | } | ||
. | .gtw-discord { | ||
border-radius: 20px; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.5); | |||
margin-bottom: 10px; | |||
overflow: hidden; | |||
} | |||
.rcs-container .gtw-card { | |||
padding: 25px 25px 80px; | |||
} | |||
body.mediawiki.skin-oasis header.wds-community-header { | |||
background-image: url(https://vignette.wikia.nocookie.net/growtopia/images/d/da/GTW_HeaderGraphic_HarvestFest.gif); | |||
} | } | ||
*::-webkit-scrollbar{background:#FFFFFF} | |||
*::-webkit-scrollbar-thumb{background: #A451D0} | |||
.gtw-card { | |||
background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.15)), url("https://vignette.wikia.nocookie.net/growtopia/images/1/1b/GTW_Landscape_HarvestFest.png"), linear-gradient(#A10009,#B13B00,#DC9A00); | |||
} | } | ||
.gtw-card.item-card .card-field th { | |||
. | color: #FC6; | ||
} | } | ||
Revision as of 11:58, 24 September 2020
/* GTW Card */
.gtw-card {
background-image: linear-gradient(#f2ab60,#9c4f0c);
background-position: bottom center;
background-repeat: repeat-x;
border-radius: 20px;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
color: #FFF;
font-family: Century Gothic, sans-serif;
margin-bottom: 10px;
padding: 25px 40px 80px;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
.gtw-card.card-center {
text-align: center;
}
.gtw-card h2 {
border: none;
font-size: 35px;
font-weight: bold;
line-height: 35px;
margin: 0;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.gtw-card p.gtw-text-mb {
font-size: 14px;
line-height: 18px;
margin-bottom: 20px;
}
.gtw-card a {
color: #FC0;
font-style: normal;
text-decoration: none;
}
.gtw-card .gtw-btn a {
background: #239BBC;
border-radius: 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
color: #FFF;
display: block;
font-size: 20px;
font-weight: bold;
padding: 10px;
text-align: center;
text-decoration: none;
}
.gtw-card .gtw-btn a:after {
display: none;
}
.gtw-nav.full-width a {
margin: 3px 0;
padding: 3px 12px;
text-align: left;
width: 100%;
}
.gtw-nav>p {
display: flex;
flex-wrap: wrap;
}
.gtw-nav a {
background: #A10164;
border: 3px solid #FFF;
border-radius: 10px;
box-shadow: 0 3px 0px rgba(0, 0, 0, 0.5);
color: #FFFFFF;
display: inline-block;
font-size: 16px;
font-weight: bold;
margin: 5px;
padding: 6px 12px;
text-align: center;
text-decoration: none;
text-shadow: 1.5px 1.5px rgba(0,0,0,0.7);
transition: opacity 0.2s;
}
.gtw-nav a:hover {
opacity: 0.75;
}
.gtw-nav a span {
background: url("https://vignette.wikia.nocookie.net/growtopia/images/8/8f/ItemSprites.png");
display: inline-block;
height: 32px;
width: 32px;
vertical-align: middle;
margin-right: 5px;
}
.gtw-card .ajax-poll {
border: 0;
padding: 0;
}
.gtw-card .ajax-poll .header {
font-size: 17px;
}
.gtw-card .ajax-poll .pollAnswerName {
padding-left: 0;
}
.gtw-card .ajax-poll .pollAnswerName input[type=radio] {
margin-left: 0;
}
.gtw-card .ajax-poll .pollAnswerVotes {
background: rgba(0, 0, 0, 0.5);
border: 0;
height: 5px;
margin-left: 0;
}
.gtw-card .ajax-poll .pollAnswerVotes div {
background: #FFFFFF;
height: 5px;
}
.gtw-card .ajax-poll .pollAnswerVotes span {
bottom: 0;
font-weight: bold;
left: auto;
right: 0;
top: auto;
}
.gtw-card .ajax-poll .pollAnswerVotes:hover span {
bottom: auto;
color: #FF9900;
text-shadow: 2px 0 #000, 0 2px #000, 0 -2px #000, -2px 0 #000, 1px 1px #000, 1px -1px #000, -1px 1px #000, -1px -1px #000;
top: -250%;
}
.gtw-card .ajax-poll input[type="submit"] {
background-image: none;
border-radius: 10px;
box-sizing: border-box;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
font-family: Century Gothic, sans-serif;
font-size: 20px;
font-weight: bold;
height: auto;
margin-top: 5px;
outline: none;
padding: 10px;
text-transform: uppercase;
width: 100%;
}
.gtw-card .ajax-poll input[type="submit"]:hover {
background-image: none;
}
.gtw-card .ajax-poll #ajax-poll-area > div:last-child {
font-size: 12px;
line-height: 12px;
}
.gtw-discord {
border-radius: 20px;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
margin-bottom: 10px;
overflow: hidden;
}
.rcs-container .gtw-card {
padding: 25px 25px 80px;
}
body.mediawiki.skin-oasis header.wds-community-header {
background-image: url(https://vignette.wikia.nocookie.net/growtopia/images/d/da/GTW_HeaderGraphic_HarvestFest.gif);
}
*::-webkit-scrollbar{background:#FFFFFF}
*::-webkit-scrollbar-thumb{background: #A451D0}
.gtw-card {
background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.15)), url("https://vignette.wikia.nocookie.net/growtopia/images/1/1b/GTW_Landscape_HarvestFest.png"), linear-gradient(#A10009,#B13B00,#DC9A00);
}
.gtw-card.item-card .card-field th {
color: #FC6;
}