Skip to content

Commit 911391a

Browse files
authored
Merge pull request #50 from skipgu/32-navbarsidebar-confusion
Swap masthead logo and menu positions
2 parents 558d1eb + 3a87a50 commit 911391a

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ end
88

99
gem "webrick"
1010
gem "rexml"
11+
gem 'csv'

assets/stylesheets/main.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# Override basically-basic theme styling
3+
---
4+
5+
@import "basically-basic/themes/{{ site.data.theme.skin | default: 'default' }}";
6+
@import "basically-basic";
7+
8+
.sidebar-toggle-wrapper {
9+
left: 0;
10+
right: auto;
11+
padding-left: 2rem;
12+
transition: left 0.8s ease;
13+
background-color: transparent;
14+
15+
.navicon-button {
16+
17+
&.open {
18+
position: fixed;
19+
left: $sidebar-width;
20+
padding-left: 1.5rem;
21+
transition: all 0.8s ease;
22+
top: 1.8125rem;
23+
24+
@include breakpoint($large) {
25+
left: 1.5 * $sidebar-width;
26+
}
27+
}
28+
}
29+
}
30+
31+
#masthead {
32+
display: flex;
33+
justify-content: flex-end;
34+
}
35+
36+
.site-title {
37+
padding-right: 2rem;
38+
}

0 commit comments

Comments
 (0)