Template:Styles/Default.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 103:
width: 100%;
border: 0;
margin: 0 auto 8px 0;
padding: 0;
}
Line 137:
 
.frequency-options input[type="radio"],
.radiobuttonsamount-celloptions input[type="radio"] {
position: absolute;
width: 1px;
Line 149:
 
.frequency-options label,
.radiobuttonsamount-celloptions label,
.payment-method-button {
display: block;
Line 167:
}
.frequency-options label:hover,
.radiobuttonsamount-celloptions label:hover {
background-color: #fff;
border-color: #a2a9b1;
Line 178:
 
.frequency-options label:active,
.radiobuttonsamount-celloptions label:active,
.payment-method-button:active {
background-color: #d9d9d9;
Line 187:
.frequency-options label.checked,
.frequency-options input[type="radio"]:checked + label,
.radiobuttonsamount-celloptions input[type="radio"]:checked + label {
background-color: #2a4b8d;
color: #fff;
Line 197:
button:focus,
.frequency-options input[type="radio"]:focus + label,
.radiobuttonsamount-celloptions input[type="radio"]:focus + label,
.payment-method-button:focus {
outline: 0;
Line 205:
 
.frequency-options input[type="radio"]:focus + label,
.radiobuttonsamount-celloptions input[type="radio"]:focus + label,
.frequency-options input[type="radio"]:checked + label:focus,
.radiobuttonsamount-celloptions input[type="radio"]:checked + label:focus {
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff;
}
 
/* --- Frequency options --- */
 
.frequency-options {
margin: 0 3px;
font-size: 1em;
}
.frequency-options label {
display: block;
float: left;
width: 49%;
margin-bottom: 1em;
}
.frequency-options label:first-child {
margin-right: 4px;
}
 
body.rtl .frequency-options label {
float: right;
}
body.rtl .frequency-options label:first-child {
margin-left: 4px;
margin-right: 0;
}
 
/* --- Donation Amounts --- */
 
.frequencyamount-options {
#radiobuttons-table-body {
clear font-size: both1.1em;
}
 
/* Smaller font size for countries with v long amounts */
#radiobuttons-table {
.country-CO .radiobuttonsamount-cell labeloptions,
width: 100%;
.country-CR .radiobuttonsamount-cell labeloptions,
margin-bottom: 1em;
.country-KR .radiobuttonsamount-cell labeloptions,
font-size: 1.2em;
.country-PY .radiobuttonsamount-cell labeloptions,
.country-VN .radiobuttonsamount-cell labeloptions {
font-size: 1em.9em;
}
 
.amount-options li {
.radiobuttons-cell {
width white-space: 25%nowrap;
padding: 1px;
text-align: center;
white-space: nowrap;
}
.frequencyamount-options label {
 
.radiobuttons-cell label {
height: 4em;
line-height: 2;
Line 283 ⟶ 259:
appearance: none;
}
 
 
/* --- Payment method buttons --- */
 
.payment-method-div {
padding: 0 3px4px;
}
 
Line 344 ⟶ 319:
background-image: url(//upload.wikimedia.org/wikipedia/donate/2/22/Paypal-USD-color.svg);
}
 
 
/* --- Infobox ("Where your donation goes") --- */
Line 475 ⟶ 449:
div#footer {
margin: 0;
}
 
/* Smaller font size for countries with v long amounts */
.country-CO .radiobuttons-cell label,
.country-CR .radiobuttons-cell label,
.country-KR .radiobuttons-cell label,
.country-PY .radiobuttons-cell label,
.country-VN .radiobuttons-cell label {
font-size: .9em;
}