This repository was archived by the owner on Jun 4, 2020. It is now read-only.
File tree 3 files changed +65
-1
lines changed
3 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 94
94
</ div >
95
95
96
96
< ul class ="options ">
97
+ < li >
98
+ < a href ="https://quantecon.org/ "
99
+ > < span class ="sr-only "> Visit QuantEcon</ span > </ a
100
+ >
101
+ </ li >
97
102
< li > < a href ="/about "> About these lectures</ a > </ li >
98
- < li > < a href ="https://quantecon.org/ "> Visit QuantEcon</ a > </ li >
99
103
</ ul >
100
104
</ div >
101
105
</ header >
102
106
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
+
103
126
< main class ="main ">
104
127
{{ content }}
105
128
</ main >
Original file line number Diff line number Diff line change @@ -220,6 +220,18 @@ a:visited {
220
220
a {
221
221
color : #fff ;
222
222
}
223
+ & :first-child {
224
+ a {
225
+ background-image : url (/ assets/img/qe-squares.png );
226
+ background-repeat : no-repeat ;
227
+ display : block ;
228
+ background-size : contain ;
229
+ width : 80px ;
230
+ height : 62px ;
231
+ position : relative ;
232
+ top : -5px ;
233
+ }
234
+ }
223
235
}
224
236
@media (max-width : 1024px ) {
225
237
margin : 1rem 0 0 0 ;
@@ -368,3 +380,32 @@ a:visited {
368
380
width : 1.25em ;
369
381
}
370
382
}
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
+ }
You can’t perform that action at this time.
0 commit comments