Template:Styles/Default.css: Difference between revisions

Content deleted Content added
add .sr-only for visually hidden screenreader only content - same rule as banners
using max-width for footer
 
(16 intermediate revisions by the same user not shown)
Line 51:
 
.mw-jump-link {
display: none !important;
}
 
Line 86:
font-weight: 500;
font-size: 14px;
 
.amount-options .lp-error {
margin: 0 4px;
}
 
Line 135 ⟶ 131:
}
 
#appeal h2.mw-heading2,
#appeal-head {
font-size: 21px;
Line 147 ⟶ 143:
}
 
/* --- Hide non-monthlyrecurring capable payment methods on monthlyrecurring forms --- */
 
.form-monthly .not-monthly-capable {,
form[data-frequency="monthly"] .not-monthly-capable,
form[data-frequency="annual"] .not-monthly-capable {
display: none;
}
Line 164 ⟶ 162:
.frequency-options ul,
.amount-options ul {
display: flexgrid;
margin: 0;
padding: 0;
list-style: none;
paddinggap: 4px8px;
margin-bottom: 8px;
 
.optinfrequency-options ul {
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
 
.amount-options .lp-errorul {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
 
.frequency-options ul li,
.amount-options ul li {
flexpadding: 1 0 0;
padding: 4px;
}
 
Line 207 ⟶ 214:
align-items: center;
flex-wrap: wrap;
text-align: center;
height: 50px;
padding: 0 4px2px;
border-radius: 2px;
font-family: inherit;
font-weight: 500;
line-height: 1.2;
cursor: pointer;
transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
Line 353 ⟶ 362:
 
/* --- Opt-in --- */
 
.optin-options {
padding: 0 4px !important;
 
.optin-options legend {
Line 405 ⟶ 410:
.ptf {
display: none;
padding: 0 4px;
}
 
Line 411 ⟶ 415:
 
.payment-method-div {
padding: 4px 4px0;
}
 
Line 436 ⟶ 440:
color: #54595d;
font-weight: normal;
paddingmargin-top: 8px 4px 0 4px;
}
 
#infobox-wrapper h2.mw-heading2 {
font-size: 16px;
font-weight: bold;
Line 451 ⟶ 455:
#donate-footer {
width: 100%;
textmax-alignwidth: center948px;
margin: 024px 4pxauto;
text-align: left;
font-size: 12px13px;
line-height: 1.4;
paddingcolor: 24px 15% 8px#54595d;
}
 
#donate-footer > div {
margin-bottom: 16px1em;
 
.donate-smallprint,
#donor-policy-block {
font-size: 12px;
}
 
Line 470 ⟶ 472:
margin: 0;
text-align: center;
font-size: 15px;
}
 
Line 581 ⟶ 584:
#form-wrapper {
padding: 16px;
}
 
/* Smallprint and links */
#donate-footer {
margin: 24px 0 0 0;
padding: 0;
}
 
Line 612 ⟶ 609:
#content {
padding: 140px 8px 8px 8px;
}
#donate-footer {
max-width: 380px;
}
 
}
 
#country-confirm {
text-align: center;
margin-top: -12px;
padding: 0 4px !important0;
border-bottom: 1px solid #a2a9b1;
margin-bottom: 8px;
font-size: 90%;
 
 
@media (min-width: 980px) {
#country-confirm {
margin-top: 24px 0 0 0-18px;
}
}
 
 
/* === end of Template:Styles/Default.css === */