pressbooks aldine theme the theme used for the front page or default book
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.0 KiB

.button {
display: inline-block;
width: rem(250);
height: rem(65);
padding: rem(21);
border: 2px solid var(--btn-bg, $brand-primary);
border-radius: 3px;
background: var(--btn-bg, $brand-primary);
7 years ago
font-family: $font-family-sans-serif;
font-size: 1rem;
font-weight: 600;
color: var(--btn-text, $white);
line-height: normal;
letter-spacing: rem(2);
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition: all 0.5s;
vertical-align: middle;
&:hover,
&:focus {
background: $white;
color: var(--btn-active-text, $brand-primary);
}
&.button-small {
width: rem(150);
height: rem(40);
padding: rem(6.5);
}
&.button-wide {
width: 19.0625rem;
}
&.button-inverse {
background: $white;
color: var(--btn-inverse-text, $brand-primary);
&:hover,
&:focus {
color: var(--btn-inverse-active-text, $white);
background: var(--btn-bg, $brand-primary);
}
}
}
@media (min-width: $medium) {
.button {
width: 275px;
}
}