mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 12:42:28 +02:00
Update button styles
This commit is contained in:
@@ -16,25 +16,23 @@
|
||||
|
||||
&__home-button {
|
||||
display: block;
|
||||
width: 90px;
|
||||
height: 35px;
|
||||
font-size: $typographic-base-font-size;
|
||||
padding: 0 16px;
|
||||
line-height: 35px;
|
||||
max-width: 90px;
|
||||
height: $button-height;
|
||||
padding: 0 24px;
|
||||
line-height: $button-height;
|
||||
text-align: center;
|
||||
color: lighten($color-base, 20%);
|
||||
background: $color-gray-bg;
|
||||
color: $color-base;
|
||||
border: 1px solid $color-gray-border;
|
||||
border-radius: $button-border-radius;
|
||||
font-size: $typographic-base-font-size;
|
||||
font-weight: normal;
|
||||
border-radius: 3px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@include margin-top(1);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $color-base;
|
||||
background: darken($color-gray-bg, 5%);
|
||||
border: 0
|
||||
color: $color-primary;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -52,8 +50,8 @@
|
||||
}
|
||||
|
||||
&__home-button {
|
||||
max-width: auto;
|
||||
position: fixed;
|
||||
max-width: auto;
|
||||
margin: 0;
|
||||
top: 30px;
|
||||
left: 30px
|
||||
|
@@ -14,19 +14,18 @@
|
||||
margin: 10px 5px;
|
||||
|
||||
&-link {
|
||||
background: $color-gray-bg;
|
||||
display: inline-block;
|
||||
height: $button-height;
|
||||
padding: 0 24px;
|
||||
line-height: $button-height;
|
||||
border: 1px solid $color-gray-border;
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
color: lighten($color-base, 20%);
|
||||
line-height: $typographic-base-line-height;
|
||||
padding: 8px 16px;
|
||||
border-radius: $button-border-radius;
|
||||
color: $color-base;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $color-base;
|
||||
background: darken($color-gray-bg, 5%);
|
||||
border: 0;
|
||||
color: $color-primary;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user