Skip to content

Commit 63d92c9

Browse files
Added navigation system
Adapted from Rob Glazebrook's "A Super Simple Horizontal Navigation Bar" (http://www.cssnewbie.com/super-simple-horizontal-navigation-bar/)
1 parent bce4ff9 commit 63d92c9

File tree

3 files changed

+60
-12
lines changed

3 files changed

+60
-12
lines changed

about.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@
1818
<header class="inner">
1919
<a id="forkme_banner" href="https://github.com/XQueryInstitute">View on GitHub</a>
2020
<h1 id="project_title">XQuery Summer Institute</h1>
21-
<h2 id="project_tagline">From Representation to Discovery</h2>
21+
<h2 id="project_tagline">Advancing XML-Based Scholarship from Representation to Discovery</h2>
22+
<ul id="nav">
23+
<li><a href="about">About</a></li>
24+
<li><a href="#">Instructors</a></li>
25+
<li><a href="#">Syllabus</a></li>
26+
<li><a href="#">FAQs</a></li>
27+
<li><a href="#">Apply</a></li>
28+
<li><a href="#">Contact</a></li>
29+
</ul>
2230
</header>
2331
</div>
2432

@@ -27,7 +35,7 @@ <h2 id="project_tagline">From Representation to Discovery</h2>
2735
<div id="main_content_wrap" class="outer">
2836
<section id="main_content" class="inner">
2937
<h3>
30-
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>About the XQuery Summer Institute.
38+
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>About the XQuery Summer Institute
3139
</h3>
3240
<p>There's nothing to see here yet, but you're in the right place. We'll have information about the Institute up soon. Please check back in a few weeks or contact Clifford Anderson (<a href="https://github.com/CliffordAnderson" class="user-mention">@CliffordAnderson</a>) for more information.</p>
3341
</section>

index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@
1818
<header class="inner">
1919
<a id="forkme_banner" href="https://github.com/XQueryInstitute">View on GitHub</a>
2020
<h1 id="project_title">XQuery Summer Institute</h1>
21-
<h2 id="project_tagline">From Representation to Discovery</h2>
21+
<h2 id="project_tagline">Advancing XML-Based Scholarship from Representation to Discovery</h2>
22+
<ul id="nav">
23+
<li><a href="about">About</a></li>
24+
<li><a href="#">Instructors</a></li>
25+
<li><a href="#">Syllabus</a></li>
26+
<li><a href="#">FAQs</a></li>
27+
<li><a href="#">Apply</a></li>
28+
<li><a href="#">Contact</a></li>
29+
</ul>
2230
</header>
2331
</div>
2432

@@ -27,7 +35,7 @@ <h2 id="project_tagline">From Representation to Discovery</h2>
2735
<div id="main_content_wrap" class="outer">
2836
<section id="main_content" class="inner">
2937
<h3>
30-
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>Welcome to the XQuery Summer Institute.
38+
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>Welcome to the XQuery Summer Institute!
3139
</h3>
3240
<p>There's nothing to see here yet, but you're in the right place. We'll have information about the Institute up soon. Please check back in a few weeks or contact Clifford Anderson (<a href="https://github.com/CliffordAnderson" class="user-mention">@CliffordAnderson</a>) for more information.</p>
3341
</section>

stylesheets/stylesheet.css

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ body {
5656
color:#373737;
5757
background: #212121;
5858
font-size: 16px;
59-
font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
59+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
6060
line-height: 1.5;
6161
-webkit-font-smoothing: antialiased;
6262
}
@@ -65,7 +65,7 @@ h1, h2, h3, h4, h5, h6 {
6565
margin: 10px 0;
6666
font-weight: 700;
6767
color:#222222;
68-
font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
68+
font-family: "Roboto",Helvetica,sans-serif;
6969
letter-spacing: -1px;
7070
}
7171

@@ -165,9 +165,6 @@ pre, code {
165165
border-radius: 2px;
166166
-moz-border-radius: 2px;
167167
-webkit-border-radius: 2px;
168-
169-
170-
171168
}
172169

173170
pre {
@@ -237,7 +234,7 @@ table {
237234
}
238235

239236
th {
240-
font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
237+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
241238
padding: 10px;
242239
background: #373737;
243240
color: #fff;
@@ -281,7 +278,7 @@ Full-Width Styles
281278
z-index: 10;
282279
padding: 10px 50px 10px 10px;
283280
color: #fff;
284-
background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%;
281+
background: url('../images/blacktocat.png') #266679 no-repeat 95% 50%;
285282
font-weight: 700;
286283
box-shadow: 0 0 10px rgba(0,0,0,.5);
287284
border-bottom-left-radius: 2px;
@@ -311,7 +308,7 @@ Full-Width Styles
311308

312309
#project_tagline {
313310
color: #fff;
314-
font-size: 24px;
311+
font-size: 22px;
315312
font-weight: 300;
316313
background: none;
317314
text-shadow: #111 0px 0px 10px;
@@ -370,6 +367,41 @@ Full-Width Styles
370367
background: #212121;
371368
}
372369

370+
/*******************************************************************************
371+
Adapted from Rob Glazebrook's "A Super Simple Horizontal Navigation Bar"
372+
http://www.cssnewbie.com/super-simple-horizontal-navigation-bar/
373+
*******************************************************************************/
374+
375+
#nav {
376+
width: 100%;
377+
float: left;
378+
margin: 0.2em 0 3em 0;
379+
padding: 0;
380+
list-style: none;
381+
background-color: #D7A863;
382+
border-radius: 5px;
383+
border-bottom: 1px solid #ccc;
384+
border-top: 1px solid #ccc;
385+
}
386+
387+
#nav li {
388+
list-style: none;
389+
float: left;
390+
}
391+
392+
#nav li a {
393+
display: block;
394+
padding: 8px 15px;
395+
text-decoration: none;
396+
font-weight: bold;
397+
color: white;
398+
}
399+
400+
#nav li a:hover {
401+
color: white;
402+
border-radius: 5px;
403+
background-color: #474747;
404+
}
373405

374406

375407
/*******************************************************************************

0 commit comments

Comments
 (0)