-
-
Save billerickson/1327abe1b8666d3ff21dca1137a8c125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wp-block-button { | |
margin-bottom: $base-margin; | |
text-align: center; | |
.wp-block-button__link { | |
@extend %button; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%button { | |
background: $highlight; | |
border: none; | |
border-radius: 4px; | |
box-shadow: none; | |
color: $white; | |
cursor: pointer; | |
padding: 10px; | |
text-align: center; | |
text-decoration: none; | |
width: auto; | |
-webkit-appearance: none; | |
&:hover { | |
background-color: darken( $highlight, 10%); | |
color: $white; | |
text-decoration: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment