Skip to content

Commit bc5f4b7

Browse files
committed
Fixed navigation
1 parent 2c1f9d4 commit bc5f4b7

2 files changed

Lines changed: 5 additions & 40 deletions

File tree

js.html

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117

118118
.footer {
119119
font-size: 12px;
120-
position:fixed;
120+
position:sticky;
121121
left: 0;
122122
bottom: 0;
123123
width: 100%;
@@ -156,35 +156,17 @@
156156
margin-left: auto;
157157
margin-right: auto;
158158
padding-top: 30px;
159+
padding-bottom: 8%;
159160

160161
}
161162

162-
div.page-content-1 {
163-
width: 100%;
164-
max-width: 95%;
165-
flex-wrap: wrap;
166-
justify-content: center;
167-
margin-left: auto;
168-
margin-right: auto;
169-
padding-top: 30px;
170-
}
171-
172163
.image {
173164
display: block;
174165
margin-left: auto;
175166
margin-right: 30px;
176167
margin-top: auto;
177168
}
178169

179-
div.page-content-2 {
180-
width: 100%;
181-
max-width: 95%;
182-
flex-wrap: wrap;
183-
justify-content: center;
184-
margin-left: auto;
185-
margin-right: auto;
186-
padding-top: 30px;
187-
}
188170
</style>
189171
</head>
190172
<!-- Stylesheet should be included in the header section -->

resources.html

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
.footer {
116116
font-size: 12px;
117-
position: fixed;
117+
position: sticky;
118118
left: 0;
119119
bottom: 0;
120120
width: 100%;
@@ -135,18 +135,11 @@
135135
margin-left: auto;
136136
margin-right: auto;
137137
padding-top: 30px;
138+
padding-bottom: 10%;
138139

139140
}
140141

141-
div.page-content-1 {
142-
width: 100%;
143-
max-width: 95%;
144-
flex-wrap: wrap;
145-
justify-content: center;
146-
margin-left: auto;
147-
margin-right: auto;
148-
padding-top: 30px;
149-
}
142+
150143

151144
.image {
152145
display: block;
@@ -155,15 +148,6 @@
155148
margin-top: auto;
156149
}
157150

158-
div.page-content-2 {
159-
width: 100%;
160-
max-width: 95%;
161-
flex-wrap: wrap;
162-
justify-content: center;
163-
margin-left: auto;
164-
margin-right: auto;
165-
padding-top: 30px;
166-
}
167151

168152
a:link {
169153
color: inherit;
@@ -224,7 +208,6 @@
224208
<a class="active" href="resources.html">Resources</a>
225209
</div>
226210

227-
228211
<div class ="page-content">
229212
<center><h2>Resources & Attributions</h2></center>
230213
<p><img src="images/resources-float.png" width="300px" height="300px" style="float:left" padding-right="30" class="image">

0 commit comments

Comments
 (0)