Template:Styles/Default.css: Difference between revisions

Content deleted Content added
No edit summary
using max-width for footer
 
(24 intermediate revisions by the same user not shown)
Line 7:
-webkit-box-sizing: border-box;
box-sizing: border-box;
 
/* visually hidden - screenreader only */
.sr-only {
paddingborder: 0 4px !important;
clip: rect(1px, 1px, 1px, 1px) !important;
-webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important;
height: 1px !important;
margin: 0-1px 4px!important;
overflow: hidden !important;
padding: 0 4px!important;
position: absolute !important;
width: 1px !important;
white-space: nowrap !important;
}
 
Line 22 ⟶ 37:
.error-nojs {
max-width: 300px;
color: #d33d73333;
}
 
Line 33 ⟶ 48:
#jump-to-nav, .uls-tipsy {
display: none;
 
.mw-jump-link {
display: none !important;
}
 
Line 64 ⟶ 83:
 
.lp-error {
color: #d33d73333;
font-weight: 500;
font-size: 14px;
 
.amount-options .lp-error {
margin: 0 4px;
}
 
Line 116 ⟶ 131:
}
 
#appeal h2.mw-heading2,
#appeal-head {
font-size: 21px;
Line 128 ⟶ 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 145 ⟶ 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 188 ⟶ 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 334 ⟶ 362:
 
/* --- Opt-in --- */
 
.optin-options {
padding: 0 4px !important;
 
.optin-options legend {
Line 386 ⟶ 410:
.ptf {
display: none;
padding: 0 4px;
}
 
Line 392 ⟶ 415:
 
.payment-method-div {
padding: 4px 4px0;
}
 
Line 403 ⟶ 426:
margin: 0;
width: 100%;
font-size: 15px16px;
-webkit-appearance: none;
-moz-appearance: none;
Line 417 ⟶ 440:
color: #54595d;
font-weight: normal;
paddingmargin-top: 8px 4px 0 4px;
}
 
#infobox-wrapper h2.mw-heading2 {
font-size: 16px;
font-weight: bold;
Line 432 ⟶ 455:
#donate-footer {
width: 100%;
textmax-alignwidth: center948px;
margin: 24px 0 0 0auto;
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 451 ⟶ 472:
margin: 0;
text-align: center;
font-size: 15px;
}
 
Line 489 ⟶ 511:
.cctypes-vmar {
font-size: 0; /* Remove spacing between icons */
 
.cctypes-vmad span,
.cctypes-vmaj span,
.cctypes-vmj span,
.cctypes-vma span,
.cctypes-vm span,
.cctypes-CBvma span,
.cctypes-vmar span {
display: none; /* Hide default text */
}
 
Line 552 ⟶ 564:
#content {
margin: 0;
padding: 140px 8px24px 8px24px 8px24px;
}
 
#mw-panel, #p-logo, #p-logo a {
width: 100% !important;
height: 160px140px;
paddingmargin: 0;
}
 
Line 571 ⟶ 584:
#form-wrapper {
padding: 16px;
}
 
/* Smallprint and links */
#donate-footer {
margin: 24px 0 0 0;
padding: 0;
}
 
Line 589 ⟶ 596:
#appeal-wrapper {
flex-basis: 100%;
padding: 0 24px;
}
}
Line 598 ⟶ 605:
max-width: 380px;
padding: 0;
}
 
#content {
padding: 140px 8px 8px 8px;
}
#donate-footer {
max-width: 380px;
}
 
}
 
#country-confirm {
text-align: center;
margin-top: -12px;
padding: 4px 0;
border-bottom: 1px solid #a2a9b1;
margin-bottom: 8px;
font-size: 90%;
}
 
 
@media (min-width: 980px) {
#country-confirm {
margin-top: -18px;
}
}
 
 
/* === end of Template:Styles/Default.css === */