Skip to content

Commit

Permalink
Fix responsive features buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 2, 2016
1 parent e6e49c4 commit 757144a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
5 changes: 0 additions & 5 deletions assets/scss/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -940,11 +940,6 @@ pre[class*="language-"] {

#feature-two {
@include feature-header-button($feature-two-color);
margin-left: 15px;

@include breakpoint(max-width 660px, max-width 660px) {
margin: 15px 0 !important;
}
}

/* ==========================================================================
Expand Down
27 changes: 16 additions & 11 deletions assets/scss/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
@mixin feature-header-button($color) {
height: 30px;
padding: 6px 10px;
margin: 15px 0 0;
color: $color;

transition: all .5s ease;
@include breakpoint(min-width 800px) {
height: 30px;
padding: 6px 10px;
margin: 15px 0 0;
transition: all .5s ease;
border: 1.5px solid $color;
border-radius: 2px;
background: rgba(white, .8) !important;

color: $color !important;
border: 1.5px solid $color;
border-radius: 2px;
background: rgba(white, .8) !important;
&:hover {
color: rgba(white, .8) !important;
background: $color !important;
}
}

&:hover {
color: rgba(white, .8) !important;
background: $color !important;
@include breakpoint(max-width 800px) {
font-weight: 900;
}
}

0 comments on commit 757144a

Please sign in to comment.