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.
 
 
 
 
 
 

98 lines
1.8 KiB

.button {
display: inline-block;
width: rem(250);
height: rem(65);
margin-top: 2em;
padding: rem(20);
border: 2px solid $black;
border-radius: 3px;
background: $black;
font-family: $font-family-sans-serif;
font-size: 1rem;
font-weight: 600;
color: $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: $black;
}
&.button-small {
width: rem(150);
height: rem(40);
padding: rem(6.5);
}
&.button-wide {
width: 19.0625rem;
}
&.button-outline {
background: $white;
color: $black;
&:hover,
&:focus {
background: $black;
color: $white;
}
}
&.button-primary {
border-color: var(--brand-primary, $brand-primary);
background: var(--brand-primary, $brand-primary);
&:hover,
&:focus {
background: $white;
color: var(--brand-primary, $brand-primary);
}
&.button-outline {
background: $white;
color: var(--brand-primary, $brand-primary);
&:hover,
&:focus {
color: $white;
background: var(--brand-primary, $brand-primary);
}
}
}
&.button-secondary {
border-color: var(--brand-secondary, $brand-secondary);
background: var(--brand-secondary, $brand-secondary);
&:hover,
&:focus {
background: $white;
color: var(--brand-secondary, $brand-secondary);
}
&.button-outline {
background: $white;
color: var(--brand-secondary, $brand-secondary);
&:hover,
&:focus {
color: $white;
background: var(--brand-secondary, $brand-secondary);
}
}
}
}
@media (min-width: $medium) {
.button {
width: 275px;
}
}