Skip to content

Commit ea8aee4

Browse files
committed
update navi color as per #100
1 parent 6a0e5ee commit ea8aee4

File tree

3 files changed

+52
-50
lines changed

3 files changed

+52
-50
lines changed

_includes/navigation.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<nav class="main-nav">
22
{% if page.url != "/index.html" %}
3-
<a href="{{ site.baseurl }}" class="text--orange"> <span class="arrow"></span> home </a>
3+
<a href="{{ site.baseurl }}" class="text--black"> <span class="arrow"></span> home </a>
44
{% endif %}
55

66
{% if page.url != "/about/" %}
77
{% if site.aboutPage %}
8-
<a href="{{ site.baseurl }}about" class="text--orange">about </a>
8+
<a href="{{ site.baseurl }}about" class="text--black">about </a>
99
{% endif %}
1010
{% endif %}
1111

1212
{% if page.url != "/members/" %}
13-
<a href="/members/" class="text--orange">members </a>
13+
<a href="/members/" class="text--black">members </a>
1414
{% endif %}
1515

1616
{% if page.url != "/challenges/" %}
17-
<a href="/challenges/" class="text--orange">challenges </a>
17+
<a href="/challenges/" class="text--black">challenges </a>
1818
{% endif %}
1919

2020
{% if page.url != "/conduct/" %}
21-
<a href="/conduct/" class="text--orange">conduct </a>
21+
<a href="/conduct/" class="text--black">conduct </a>
2222
{% endif %}
2323

2424
</nav>

assets/css/style.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
/*
2+
=========================================================
3+
PAGE COLORS & TEXT
4+
=========================================================
5+
*/
6+
.background--yellow {
7+
background-color: #f8cc3a
8+
}
9+
10+
.text,
11+
.heading {
12+
-webkit-font-smoothing: antialiased;
13+
-moz-osx-font-smoothing: grayscale;
14+
}
15+
16+
.heading {
17+
font-family: 'Raleway', sans-serif;
18+
}
19+
20+
.heading--black {
21+
color: #000;
22+
}
23+
24+
.text {
25+
font-size: 0.8em;
26+
}
27+
28+
.text--black {
29+
color: #000;
30+
}
31+
32+
.text--orange {
33+
color: #C54B0B;
34+
}
35+
36+
/*
37+
=========================================================
38+
LOGO
39+
=========================================================
40+
*/
41+
.logo--code-and-coffee {
42+
margin-bottom: 20px;
43+
padding: 20px;
44+
width: 250px;
45+
height: 250px;
46+
}
47+
148
/* Reset */
249
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
350
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

index.html

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -159,51 +159,6 @@
159159
display:block;
160160
}
161161
}
162-
163-
/*
164-
=========================================================
165-
PAGE COLORS & TEXT
166-
=========================================================
167-
*/
168-
.background--yellow {
169-
background-color: #f8cc3a
170-
}
171-
172-
.text,
173-
.heading {
174-
-webkit-font-smoothing: antialiased;
175-
-moz-osx-font-smoothing: grayscale;
176-
}
177-
178-
.heading {
179-
font-family: 'Raleway', sans-serif;
180-
}
181-
.heading--black {
182-
color: #000;
183-
}
184-
185-
.text {
186-
font-size: 0.8em;
187-
}
188-
.text--black {
189-
color: #000;
190-
}
191-
192-
.text--orange {
193-
color: #C54B0B;
194-
}
195-
196-
/*
197-
=========================================================
198-
LOGO
199-
=========================================================
200-
*/
201-
.logo--code-and-coffee {
202-
margin-bottom: 20px;
203-
padding: 20px;
204-
width: 250px;
205-
height: 250px;
206-
}
207162
</style>
208163

209164
<div id='hero' class="background--yellow">

0 commit comments

Comments
 (0)