File tree 3 files changed +38
-27
lines changed
3 files changed +38
-27
lines changed Original file line number Diff line number Diff line change 1
- < div class ="navbar ">
1
+ < div id =" navbar " class ="navbar ">
2
2
< ul >
3
3
< li > < a href ="/ "> Home</ a >
4
4
< li > < a href ="/about.html "> About</ a >
Original file line number Diff line number Diff line change 10
10
11
11
< body >
12
12
13
- {% include navbar.html %}
13
+ < div id =" wrapper " >
14
14
15
- < div class ="site ">
16
- < div class ="header ">
17
- <!-- nothing yet -->
18
- </ div >
15
+ {% include navbar.html %}
19
16
20
- {{ content }}
17
+ < div class ="site ">
18
+ < div class ="header ">
19
+ <!-- nothing yet -->
20
+ </ div >
21
21
22
- < div class ="footer ">
23
- <!-- nothing yet -->
24
- </ div >
25
- </ div >
22
+ {{ content }}
23
+
24
+ < div class ="footer ">
25
+ <!-- nothing yet -->
26
+ </ div >
27
+ </ div >
26
28
29
+ < div id ="menuLinkBar "> < a href ="#navbar "> Menu</ a > </ div >
30
+ </ div >
27
31
</ body >
28
32
</ html >
Original file line number Diff line number Diff line change @@ -43,16 +43,28 @@ body {
43
43
padding : 2em ;
44
44
}
45
45
46
- @media (max-width : 700px ) {
47
- body {
48
- flex-direction : column;
49
- }
50
-
51
- .navbar {
52
- width : 100% ;
53
-
54
- order : 2 ;
46
+ # menuLinkBar {
47
+ background-color : # a09a93 ;
48
+ text-align : right;
49
+ padding : 0.3em 2em ;
50
+ order : 1 ;
51
+ display : none;
55
52
}
53
+
54
+ @media (max-width : 700px ) {
55
+ # wrapper {
56
+ flex-direction : column;
57
+ }
58
+ .site {
59
+ order : 2 ;
60
+ }
61
+ .navbar {
62
+ width : 100% ;
63
+ order : 3 ;
64
+ }
65
+ # menuLinkBar {
66
+ display : block;
67
+ }
56
68
}
57
69
58
70
ol , ul {
@@ -91,11 +103,8 @@ body {
91
103
line-height : 22px ;
92
104
font-family : "adelle" , Georgia, "Times New Roman" , serif;
93
105
color : # 4e443c ;
94
- display : flex;
95
106
margin : 0 ;
96
107
padding : 0 ;
97
- width : 100% ;
98
- height : 100% ;
99
108
}
100
109
101
110
.windows .chrome body ,
@@ -1503,13 +1512,11 @@ pre.sh_sourceCode .sh_value {
1503
1512
1504
1513
1505
1514
# wrapper {
1506
- overflow : hidden;
1507
- * zoom : 1 ;
1515
+ display : flex;
1508
1516
margin : 0 auto;
1509
- width : 940px ;
1517
+ max- width: 940px ;
1510
1518
}
1511
1519
1512
-
1513
1520
header {
1514
1521
margin-top : 20px ;
1515
1522
position : relative;
You can’t perform that action at this time.
0 commit comments