Template:Styles/2015 Trilogy default.css: Difference between revisions
Content deleted Content added
rm IE8 checked workaround for amounts |
merge in responsive code |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
/* ===
/* Hide these until the required JavaScript fiddling has been done */
Line 50:
padding-left: 0;
padding-right: 2em;
width: 100%;
}
body.rtl #appeal-wrapper {
Line 67 ⟶ 68:
font-size: 1.125em;
margin-bottom: 1em;
}
.quote-wrapper {
padding: 9em 0;
}
Line 81 ⟶ 86:
-webkit-box-sizing: border-box;
box-sizing: border-box;
transition: all 0.2s;▼
}
Line 91 ⟶ 95:
}
#donate-form-wrapper label,
#donate-form-wrapper input {
▲ transition: all 0.2s;
}
/*
#donate-form-wrapper:before {
pointer-events: none;
Line 112 ⟶ 122:
@media only screen and (max-width: 981px) {
#donate-form-wrapper:before { display: none; }
}
*/
#form-wrapper input:focus,
#form-wrapper input:focus + label {
outline: 1px solid #999;
}
Line 233 ⟶ 249:
.input_amount_other input {
direction: ltr;
display: block;
width: 80%;
Line 418 ⟶ 435:
}
/* === end of MediaWiki:Resources/2015/landingpage.css === */▼
@media screen and (max-width: 981px) {
/* Text & Logo layout */
#content {
margin: 0;
padding: 0 1em 1em 1em;
}
#p-logo a {
width: 120px;
height: 120px;
background-size: 80%;
}
#form-wrapper, #donate {
display: block;
}
/* Hide appeal */
#appeal-wrapper {
margin-top: 60px;
display: block;
}
#appeal-head {
display: none;
}
#appeal-body {
padding-top: 0.2em;
}
.appeal-text-long, .appeal-text-short {
display: none;
}
div#infobox-wrapper, div#donor-policy-block {
width: 100%;
}
/* Smallprint and links */
div#donor-policy-block {
margin: 0;
padding: 0;
}
/* Footer */
div#footer {
margin: 0;
}
}
|