Template:Styles/2015 Trilogy default.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 88: | Line 88: | ||
.frequency-options { |
.frequency-options { |
||
margin: 1em |
margin: 1em 3px; |
||
font-size: |
font-size: 1em; |
||
} |
} |
||
.frequency-options label { |
.frequency-options label { |
||
Line 96: | Line 96: | ||
float: left; |
float: left; |
||
padding: .4em; |
padding: .4em; |
||
display: |
display: block; |
||
-moz-border-radius: .3em; |
-moz-border-radius: .3em; |
||
-webkit-border-radius: .3em; |
-webkit-border-radius: .3em; |
||
Line 106: | Line 106: | ||
.frequency-options label:first-child { |
.frequency-options label:first-child { |
||
margin-right: |
margin-right: 4px; |
||
} |
} |
||
Line 133: | Line 133: | ||
box-shadow: inset 0 1px 3px rgba(0,0,0,.25); |
box-shadow: inset 0 1px 3px rgba(0,0,0,.25); |
||
} |
} |
||
/* --- Donation Amounts --- */ |
/* --- Donation Amounts --- */ |
||
Line 142: | Line 141: | ||
width: 20%; |
width: 20%; |
||
text-align: center; |
text-align: center; |
||
⚫ | |||
} |
} |
||
@media only screen and (max-width: 740px) { |
@media only screen and (max-width: 740px) { |
||
.radiobuttons-cell { |
.radiobuttons-cell { |
||
padding: 0 |
padding: 0; |
||
} |
} |
||
} |
} |
||
Line 172: | Line 172: | ||
color: #fff; |
color: #fff; |
||
cursor: pointer; |
cursor: pointer; |
||
outline: 0; |
|||
backface-visibility: hidden; |
|||
⚫ | |||
⚫ | |||
.radiobuttons-cell label { |
|||
⚫ | |||
⚫ | |||
} |
} |
||
Line 193: | Line 185: | ||
line-height: 1; |
line-height: 1; |
||
color: #fff; |
color: #fff; |
||
padding: .5em |
padding: .5em; |
||
border: 0; |
border: 0; |
||
cursor: pointer; |
cursor: pointer; |
||
Line 201: | Line 193: | ||
border-radius: .3em; |
border-radius: .3em; |
||
} |
} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
.input_amount_other input:hover { |
.input_amount_other input:hover { |
||
background: #19415e; |
background: #19415e; |
||
Line 222: | Line 221: | ||
} |
} |
||
.input_amount_other fieldset { |
|||
position: relative; |
|||
⚫ | |||
margin: 0; |
|||
border: 0; |
|||
} |
|||
.input_amount_other fieldset label { |
|||
position: absolute; |
|||
left: .35em; |
|||
top: .5em; |
|||
} |
|||
.input_amount_other.checked fieldset label { |
|||
color: #0f4062; |
|||
} |
|||
.input_amount_other { |
|||
line-height: 1 !important; |
|||
} |
|||
@media only screen and (max-width: 740px) { |
|||
.input_amount_other > label { |
|||
line-height: 1; |
|||
font-size: .55em; |
|||
text-transform: uppercase; |
|||
} |
|||
.input_amount_other fieldset { |
|||
padding: 0 .3em; |
|||
} |
|||
⚫ | |||
font-size: .8em; |
|||
padding: .3em .5em .3em 1em; |
|||
} |
|||
.input_amount_other fieldset label { |
|||
font-size: 1em; |
|||
top: .16em; |
|||
} |
|||
} |
|||
.radiobuttons-cell label:active, |
.radiobuttons-cell label:active, |
Revision as of 20:31, 8 January 2015
/* === MediaWiki:Resources/2015/landingpage.css === */
/* --- Hide default MediaWiki stuff we don't want --- */
#mw-head-base {
height: 1em;
}
#mw-panel .portal {
display: none;
}
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub, #jump-to-nav {
display: none;
}
#content {
background-color: transparent;
background-image: none;
border: none;
}
/* --- Overall layout of the landing page --- */
#LP-table {
width: 100%;
border: none;
}
body.rtl #LP-table {
direction: rtl;
}
#form-wrapper {
vertical-align: top;
}
#appeal-wrapper {
vertical-align: top;
padding-left: 0;
padding-right: 2em;
}
body.rtl #appeal-wrapper {
padding-left: 2em;
padding-right: 0;
}
/* --- Hide non-monthly capable payment methods on monthly forms --- */
.form-monthly .not-monthly-capable {
display: none;
}
/* --- Form --- */
#form-wrapper * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#donate-form-wrapper {
position: relative;
background-color: #e2e2e2;
border: none;
padding: 1.6em;
}
#donate-form-wrapper:before {
pointer-events: none;
position: absolute;
left: 0;
top: 100px;
content: " ";
border: solid transparent;
border-left-color: #f6f6f6;
border-width: 15px;
margin-top: -15px;
}
body.rtl #donate-form-wrapper:before {
left: auto;
right: 0;
border-left-color: transparent;
border-right-color: #f6f6f6;
}
@media only screen and (max-width: 981px) {
#donate-form-wrapper:before { display: none; }
}
/* --- Frequency options --- */
.frequency-options {
margin: 1em 3px;
font-size: 1em;
}
.frequency-options label {
background: #cacaca;
width: 49%;
float: left;
padding: .4em;
display: block;
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
text-transform: uppercase;
text-align: center;
cursor: pointer;
}
.frequency-options label:first-child {
margin-right: 4px;
}
@media only screen and (max-width: 740px) {
.frequency-options label {
padding: .25em .4em .6em;
display: block;
font-size: .7em;
line-height: 1;
}
}
.frequency-options label:hover {
background: #afafaf;
}
.frequency-options label:active {
background: #d2d2d2;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
.frequency-options label.checked {
background: #afafaf;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
/* --- Donation Amounts --- */
#radiobuttons-table { width: 100%; }
.radiobuttons-cell {
width: 20%;
text-align: center;
padding: 1px;
}
@media only screen and (max-width: 740px) {
.radiobuttons-cell {
padding: 0;
}
}
.radiobuttons-cell input[type="radio"] {
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
position: absolute;
border: 0;
clip: rect(0 0 0 0);
}
.radiobuttons-cell label {
background: #367fb4;
display: block;
font-size: 1em;
height: 5em;
line-height: 5;
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
color: #fff;
cursor: pointer;
}
.input_amount_other label {
line-height: 2.5;
}
.input_amount_other input {
display: block;
width: 80%;
margin: 0 auto;
background: #235375;
line-height: 1;
color: #fff;
padding: .5em;
border: 0;
cursor: pointer;
outline: 0;
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
}
@media only screen and (max-width: 740px) {
.input_amount_other input {
padding: .3em;
}
}
.input_amount_other input:hover {
background: #19415e;
}
.input_amount_other input:focus {
background: #fff;
color: #19415e;
}
.input_amount_other.checked input {
background: #fff;
color: #19415e;
}
.input_amount_other.checked input:hover {
background: #cbcbcb;
}
.input_amount_other.checked input:focus {
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
.radiobuttons-cell label:active,
.radiobuttons-cell input[type="radio"]:checked + label,
.input_amount_other.checked {
background: #0f4b76;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
/* Fallback for IE8 and below */
.radiobuttons-cell label.checked,
.input_amount_other.checked {
background: #0f4b76 !important;
}
/* --- Infobox ("Where your donation goes") --- */
.dividing-line {
display: none;
}
#infobox-wrapper {
padding-top: 1em;
width: 25em;
line-height: 1.1;
color: #707070;
font-size: .9em;
}
#infobox-header {
font-size: 1.3em;
font-weight: bold;
margin-bottom: .7em;
color: #367fb4;
}
/* --- Privacy and links --- */
#donor-policy-block {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
text-align: center;
font-size: 0.8em;
line-height: 1.2;
padding: 1.8em 15% .7em;
}
#donor-policy-block #cancel-monthly {
margin-top: 1em;
}
#donate-links-block {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
padding: 1em 15% 0;
}
.form-info-links {
list-style: none;
margin-left: 0;
width: 100%;
display: block;
font-size: 0.8em;
text-align: center;
}
.form-info-links li {
width: auto;
display: inline-block;
padding: 0 1em;
margin: 0 auto;
}
/* --- Footer --- */
#footer-info,
#footer-places {
display: none;
}
div#footer #footer-icons {
float: none;
text-align: center;
}
div#footer #footer-icons li {
float: none;
display: inline-block;
}
/* === end of MediaWiki:Resources/2015/landingpage.css === */