Skip to content

Commit 8879b54

Browse files
committed
resize menu
1 parent 2f55642 commit 8879b54

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
1111
<label for="nav-trigger">
1212
<span class="menu-icon">
13-
<svg viewBox="0 0 18 15" width="18px" height="15px">
13+
<svg viewBox="0 0 18 15" width="24px" height="24px">
1414
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
1515
</svg>
1616
</span>

_sass/minima/_layout.scss

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
.site-title {
14-
@include relative-font-size(2.2); // Original = 1.625
14+
@include relative-font-size(2.0); // Original = 1.625
1515
font-weight: 300;
1616
line-height: $base-line-height * $base-font-size * 2.25;
1717
letter-spacing: -1px;
@@ -41,7 +41,7 @@
4141
line-height: $base-line-height;
4242

4343
// Increase menu item size
44-
@include relative-font-size(1.5);
44+
@include relative-font-size(1.0);
4545

4646
// Gaps between nav items, but not on the last one
4747
&:not(:last-child) {
@@ -52,7 +52,7 @@
5252
@include media-query($on-palm) {
5353
position: absolute;
5454
top: 9px;
55-
right: calc($spacing-unit / 2);
55+
right: $spacing-unit * 0.5;
5656
background-color: $background-color;
5757
border: 1px solid $grey-color-light;
5858
border-radius: 5px;
@@ -70,10 +70,11 @@
7070
.menu-icon {
7171
display: block;
7272
float: right;
73-
width: 16px;
74-
height: 16px;
73+
width: auto;
74+
height: auto;
7575
line-height: 0;
76-
padding-top: 10px;
76+
padding-top: 6px;
77+
padding-right: 6px;
7778
text-align: center;
7879

7980
> svg {
@@ -115,7 +116,7 @@
115116

116117
.footer-heading {
117118
@include relative-font-size(1.125);
118-
margin-bottom: calc($spacing-unit / 2);
119+
margin-bottom: $spacing-unit *0.5;
119120
}
120121

121122
.contact-list,
@@ -129,14 +130,14 @@
129130
.footer-col-wrapper {
130131
@include relative-font-size(0.9375);
131132
color: $grey-color;
132-
margin-left: calc($spacing-unit / -2);
133+
margin-left: $spacing-unit * -0.5;
133134
@extend %clearfix;
134135
}
135136

136137
.footer-col {
137138
float: left;
138-
margin-bottom: calc($spacing-unit / 2);
139-
padding-left: calc($spacing-unit / 2);
139+
margin-bottom: $spacing-unit * 0.5;
140+
padding-left: $spacing-unit * 0.5;
140141
}
141142

142143
.footer-col-1 {

0 commit comments

Comments
 (0)