Minor fixes.

This commit is contained in:
Fredrik Jonsson 2022-01-11 08:59:54 +01:00
commit e86b48420b

View file

@ -18,17 +18,17 @@ button,
@include typeface(headings);
@include margin-right(.75);
@include margin-bottom(.75);
@include padding(.2 1);
// Some styles don't apply to <a> links since they are inline elements by default.
display: inline-block;
padding: 4px 10px;
text-decoration: none;
text-align: center;
// Improve usability and consistency of cursor style between image-type `input` and others.
cursor: pointer;
color: var(--color-button-text);
background-color: var(--color-button);
border: 0;
border-radius: 2px;
border: 1px solid var(--color-button);
border-radius: .3rem;
&:hover,
&:focus,
@ -47,13 +47,12 @@ button,
@include type-layout(xs, 1);
@include margin-right(.3);
@include margin-bottom(.3);
padding: 2px 6px;
@include padding(.1 .5);
}
&--outline {
color: var(--color-button);
background-color: var(--color-button-text);
border: 1px solid var(--color-button);
&:hover,
&:focus,