Template:CS button/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
Line 1:
/* The wrapper
.capsach-btn {
display:inline-block;
width:278px;
max-width:100%;
box-sizing:border-box;
margin:0.5em 0; /* added: space above and below */
}
/* Button
.capsach-btn > a,
.capsach-btn > .capsach-btn__inner {
display:block;
padding:.2em 1.5em;
font: inherit; /*
color:#202122;
background-color:#FEE330;
Line 20 ⟶ 26:
.capsach-btn > a:hover,
.capsach-btn > .capsach-btn__inner:hover {
background-color:#FFDD00;
}
.capsach-btn > a:active,
.capsach-btn > .capsach-btn__inner:active {
background-color:#F0C800;
transform:translateY(1px);
}
/* Mobile-only full width (opt-in
@media (max-width:720px){
.capsach-btn--mobile { display:block; width:100% !important; }
}
/* alignment helpers
.capsach-align { text-align:left; }
.capsach-align-right { text-align:right; }
| |||