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

Commit 7e22fe9

Browse files
committed
Adjust header
1 parent fb1331c commit 7e22fe9

File tree

2 files changed

+3
-50
lines changed

2 files changed

+3
-50
lines changed

Diff for: _layouts/default.html

+2-21
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
enableAutoComplete="true"
8888
></div>
8989
<script>
90-
window.onload = function() {
90+
window.onload = function () {
9191
document.getElementById('gsc-i-id1').placeholder = 'Search';
9292
};
9393
</script>
@@ -99,30 +99,11 @@
9999
><span class="sr-only">Visit QuantEcon</span></a
100100
>
101101
</li>
102-
<li><a href="/about">About these lectures</a></li>
102+
<li><a href="/about">About</a></li>
103103
</ul>
104104
</div>
105105
</header>
106106

107-
<nav>
108-
<div class="container">
109-
<ul class="site-bar">
110-
<li>
111-
<a class="active" href="https://python.quantecon.org/">Home</a>
112-
</li>
113-
<li>
114-
<a href="https://python-programming.quantecon.org/"
115-
>Programming</a
116-
>
117-
</li>
118-
<li><a href="https://python-intro.quantecon.org/">Intro</a></li>
119-
<li>
120-
<a href="https://python-advanced.quantecon.org/">Advanced</a>
121-
</li>
122-
</ul>
123-
</div>
124-
</nav>
125-
126107
<main class="main">
127108
{{ content }}
128109
</main>

Diff for: assets/sass/_main.scss

+1-29
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ a:visited {
219219
margin: 0 0 0 2rem;
220220
a {
221221
color: #fff;
222+
font-size: 1.1rem;
222223
}
223224
&:first-child {
224225
a {
@@ -380,32 +381,3 @@ a:visited {
380381
width: 1.25em;
381382
}
382383
}
383-
384-
.site-bar {
385-
list-style: none;
386-
margin: 0;
387-
padding: 0;
388-
display: flex;
389-
width: 100%;
390-
justify-content: space-between;
391-
li {
392-
display: block;
393-
width: 25%;
394-
line-height: 1;
395-
margin: 0;
396-
a {
397-
display: block;
398-
padding: 0.3rem 1rem;
399-
text-align: center;
400-
font-size: 1rem;
401-
//border: 1px solid #ddd;
402-
//border-width: 0 1px 1px 0;
403-
&:hover,
404-
&.active {
405-
background-color: #0072bc;
406-
color: #fff;
407-
text-decoration: none;
408-
}
409-
}
410-
}
411-
}

0 commit comments

Comments
 (0)