Template:Styles/Default.css: Difference between revisions
Content deleted Content added
payment buttons height |
add CSS for credit card logos |
||
Line 289:
padding: 0;
height: 50px;
}
/* --- Credit card logos --- */
.paymentmethod-cc svg {
max-width: 30%;
}
.cctypes-vmad svg,
.cctypes-vmaj svg {
max-width: 38%;
max-height: 24px;
}
.paymentmethod-cc svg {
margin: 2px;
display: none;
}
.cctypes-vmad,
.cctypes-vmaj,
.cctypes-vma,
.cctypes-vm {
font-size: 0; /* Remove spacing between icons */
}
.cctypes-vmad span,
.cctypes-vmaj span,
.cctypes-vma span,
.cctypes-vm span {
display: none; /* Hide default text */
}
.cctypes-vmad .cc-logo-visa,
.cctypes-vmad .cc-logo-mastercard,
.cctypes-vmad .cc-logo-amex,
.cctypes-vmad .cc-logo-discover,
.cctypes-vmaj .cc-logo-visa,
.cctypes-vmaj .cc-logo-mastercard,
.cctypes-vmaj .cc-logo-amex,
.cctypes-vmaj .cc-logo-jcb,
.cctypes-vma .cc-logo-visa,
.cctypes-vma .cc-logo-mastercard,
.cctypes-vma .cc-logo-amex,
.cctypes-vm .cc-logo-visa,
.cctypes-vm .cc-logo-mastercard {
display: inline-block;
}
|