Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Commit 9ce273f

Browse files
author
tj
committed
- replacing header text with icon
- adding project to side bar
1 parent a4430f4 commit 9ce273f

File tree

4 files changed

+34
-8
lines changed

4 files changed

+34
-8
lines changed

_data/navigation.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
# Site navigation links
22

3-
- title:
4-
url:
3+
- title: In collaboration with &#58
4+
5+
- title: OPESCI
6+
url: https://github.com/opesci
7+
excerpt:
8+
image:
9+
10+
- title: Firedrake
11+
url: http://www.firedrakeproject.org
12+
excerpt:
13+
image:
14+
15+
- title: FInAT
16+
url: https://github.com/FInAT/FInAT
17+
excerpt:
18+
image:
19+
20+
- title: PRAgMaTIc
21+
url: https://github.com/ggorman/pragmatic
522
excerpt:
6-
image:
23+
image:

_includes/header.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<header id="masthead">
22
<div class="inner-wrap">
3-
<a href="{{ site.url }}" class="site-title">{{ site.title }}</a>
4-
<nav role="navigation" class="menu top-menu">
3+
<a href="{{ site.url }}">
4+
<img src="favicon.ico">
5+
</a>
6+
<!-- <nav role="navigation" class="menu top-menu">
57
{% include navigation.html %}
6-
</nav>
8+
</nav> -->
79
</div><!-- /.inner-wrap -->
8-
</header><!-- /.masthead -->
10+
</header><!-- /.masthead -->

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
</head>
4848

4949
<body>
50+
5051
{% include header.html %}
5152
{% include navigation-sliding.html %}
5253

_sass/_layout.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22
// --------------------------------------------------
33

44
#masthead {
5+
position: fixed;
6+
top: 0px;
7+
width: 100%;
58
padding: $gutter;
69
z-index: 5;
10+
text-align: center;
711
@include transform(translate(0,0));
812
@include transition(500ms cubic-bezier(.645,.045,.355,1.000));
913
&.slide {
1014
@include transform(translate(-1600px,0));
1115
}
1216
.inner-wrap {
13-
@include outer-container;
17+
/*@include outer-container;*/
18+
margin: 0px auto;
1419
}
1520
}
1621
.site-title {
@@ -115,6 +120,7 @@
115120
// --------------------------------------------------
116121

117122
#page-wrapper {
123+
margin: 100px auto;
118124
padding: 0 $gutter; // add white space for smaller screens
119125
@include size(100% 100%);
120126
-webkit-overflow-scrolling: touch;

0 commit comments

Comments
 (0)