_sass/hamilton/layout.scss in jekyll-theme-hamilton-0.1.1 vs _sass/hamilton/layout.scss in jekyll-theme-hamilton-0.1.2
- old
+ new
@@ -2,12 +2,12 @@
* Site header
*/
.site-header {
border-top: 5px solid;
border-bottom: 1px solid;
- min-height: $spacing-unit * 1.865;
- line-height: $base-line-height * $base-font-size * 2.25;
+ min-height: $base-font-size * 3;
+ line-height: $base-font-size * 3;
// Positioning context for the mobile navigation icon
position: relative;
}
@@ -35,21 +35,26 @@
display: none;
}
.menu-icon {
float: right;
- width: 36px;
- height: 26px;
+ width: $base-font-size * 2;
+ height: $base-font-size * 2;
line-height: 0;
- padding-top: 10px;
text-align: center;
+
+ svg {
+ width: $base-font-size;
+ height: $base-font-size;
+ padding-top: $base-font-size / 2;
+ }
}
label[for="nav-trigger"] {
display: block;
float: right;
- width: 36px;
- height: 36px;
+ width: $base-font-size * 2;
+ height: $base-font-size * 2;
z-index: 2;
cursor: pointer;
}
input ~ .trigger {