Skip to content

Commit 5d82367

Browse files
committed
Basic logo for meetup pages
1 parent d52f7d4 commit 5d82367

2 files changed

Lines changed: 4 additions & 98 deletions

File tree

_includes/nav.html

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
11
<nav>
22
<ul>
33
<li>
4-
<a href="/"><img src="/assets/images/blackstar.svg" alt="Logo" /></a>
5-
</li>
6-
<li>
7-
Ruby UY
8-
</li>
9-
<li>
10-
<a href="/">HOME</a>
11-
</li>
12-
<li>
13-
<a href="/#about">ABOUT</a>
14-
</li>
15-
<li>
16-
<a href="/#contact">CONTACT</a>
17-
</li>
18-
<li>
19-
<button onclick="toggleNavLinks()" aria-label="Open Menu">
20-
<img class="barBurger" src="/assets/images/menu.svg" alt="Open Menu Icon" aria-hidden="true" focusable="false" />
21-
</button>
4+
<a href="/">
5+
<img src="{{ "logo.svg" | image_asset | buster }}" aria-hidden="true" focuseable="false"/>
6+
</a>
227
</li>
238
</ul>
249
</nav>

_sass/nav.scss

Lines changed: 1 addition & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,5 @@
11
nav {
22
ul {
3-
display: flex;
4-
height: 5rem;
5-
color: #2E2E2E;
6-
font-size: 1.5rem;
7-
font-family: 'Syncopate', sans-serif;
8-
border: 4px solid #2E2E2E;
9-
box-sizing: border-box;
10-
11-
li {
12-
border-right: 4px solid #2E2E2E;
13-
height: 100%;
14-
justify-content: center;
15-
align-items: center;
16-
display: flex;
17-
background: #fff;
18-
box-sizing: border-box;
19-
20-
&:first-child { flex: 3; background: #F6EEEC; a:hover { background-color: inherit; } }
21-
&:nth-child(2) { background: #F6EEEC; flex: 10; }
22-
&:nth-child(n+3):not(:last-child) { flex: 6 }
23-
&:nth-last-child(2) { border: 0; }
24-
&:last-child { display: none; }
25-
26-
img {
27-
width: 35px;
28-
}
29-
30-
a {
31-
align-items: center;
32-
color: inherit;
33-
display: flex;
34-
height: 100%;
35-
justify-content: center;
36-
text-decoration: none;
37-
width: 100%;
38-
39-
&:hover {
40-
background-color: rgba(57, 126, 120, 0.5);
41-
}
42-
}
43-
44-
button {
45-
background: transparent;
46-
width: 100%;
47-
height: 100%;
48-
border: 0;
49-
}
50-
}
51-
52-
@media (max-width: 712px) {
53-
li {
54-
&:nth-child(n+3):not(:last-child) {
55-
position: absolute;
56-
height: 4rem;
57-
width: 100%;
58-
border-left: 4px solid #2E2E2E;
59-
border-right: 4px solid #2E2E2E;
60-
left: 0;
61-
display: none;
62-
z-index: 10;
63-
}
64-
65-
&:nth-last-child(2) {
66-
border-bottom: 4px solid #2E2E2E;
67-
}
68-
69-
&:last-child {
70-
display: flex;
71-
border: 0;
72-
flex: 2;
73-
background: #F6EEEC;
74-
}
75-
}
76-
77-
@for $i from 3 through 5 {
78-
li:nth-child(#{$i}) {
79-
top: calc(5rem + if($i == 3, 5rem, 4rem) * ($i - 3));
80-
}
81-
}
82-
}
3+
text-align: center
834
}
845
}

0 commit comments

Comments
 (0)