Skip to content
Snippets Groups Projects
Commit 5b87c63a authored by Chris Lawton's avatar Chris Lawton
Browse files

adding narrow button mixin

parent 2d36661b
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
} }
} }
// button mixin // Button mixin
@mixin button($bg, $hover-bg) { @mixin button($bg, $hover-bg) {
padding: 10px 60px; padding: 10px 60px;
font-weight: $weight--bold; font-weight: $weight--bold;
...@@ -94,6 +94,16 @@ ...@@ -94,6 +94,16 @@
} }
} }
// Narrow button mixin
@mixin button--narrow {
padding: 5px;
font-size: 15px;
@include media-query(tablet-landscape) {
padding: 5px 15px;
}
}
// Viewport sized typography mixin that takes a min and max pixel-based value // Viewport sized typography mixin that takes a min and max pixel-based value
@mixin responsive-font-sizes($min, $max) { @mixin responsive-font-sizes($min, $max) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment