Skip to content

Commit 76ae0d8

Browse files
committed
Footer implementation across multiple tutorial pages. Update background color in CSS
1 parent bd40d31 commit 76ae0d8

8 files changed

+44
-16
lines changed

FEAScript-website.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ p {
6969
}
7070

7171
.highlight-container {
72-
background-color: #fff0b3;
72+
/* background-color: #fff0b3; */
73+
background: #f7e7b7;
7374
border-radius: 5px;
7475
max-width: 1000px;
7576
padding: 10px;
@@ -326,3 +327,14 @@ mjx-container {
326327
font-style: italic;
327328
color: #555;
328329
}
330+
331+
/* Footer styles */
332+
footer {
333+
max-width: 1000px;
334+
position: relative;
335+
background-color: #f7e7b7;
336+
color: #444;
337+
padding: 2px 0 2px 0;
338+
text-align: center;
339+
border-top: 2px solid #e0c97f;
340+
}

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,9 @@ <h2 id="licensing"><a name="Licensing"></a>Licensing</h2>
333333
>Creative Commons Attribution 4.0 license</a
334334
>.
335335
</p>
336-
337-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
336+
<footer>
337+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
338+
</footer>
338339
<script>
339340
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
340341
</script>

tutorials/HeatConduction1DWall.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,9 @@ <h2 id="results"><a name="Results"></a>Results</h2>
309309
}
310310
});
311311
</script>
312-
313-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
312+
<footer>
313+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
314+
</footer>
314315
<script>
315316
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
316317
</script>

tutorials/HeatConduction1DWallPlatform.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
163163
>
164164
</li>
165165
</ul>
166-
167-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
166+
<footer>
167+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
168+
</footer>
168169
<script>
169170
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
170171
</script>

tutorials/HeatConduction2DFin.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,9 @@ <h2 id="results"><a name="Results"></a>Results</h2>
354354
});
355355
</script>
356356

357-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
357+
<footer>
358+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
359+
</footer>
358360
<script>
359361
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
360362
</script>

tutorials/HeatConduction2DFinGmsh.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ <h2 id="gmshfileimport"><a name="gmshfileimport"></a>Gmsh File Import</h2>
194194

195195
<h3 id="gmshgeofile"><a name="gmshgeofile"></a>Example Gmsh .geo File</h3>
196196
<p>
197-
Below is the rect.geo file used in this tutorial. It defines a 4m × 2m rectangular domain
198-
with physical lines for each boundary edge:
197+
Below is the rect.geo file used in this tutorial. It defines a 4m × 2m rectangular domain with physical
198+
lines for each boundary edge:
199199
</p>
200200

201201
<pre class="prettyprint">
@@ -233,7 +233,8 @@ <h3 id="gmshgeofile"><a name="gmshgeofile"></a>Example Gmsh .geo File</h3>
233233
// Generate 2D mesh
234234
Recombine Surface{1}; // Turn triangle elements into quadrilaterals
235235
Mesh.ElementOrder = 2; // Set quadratic elements
236-
Mesh 2;</pre>
236+
Mesh 2;</pre
237+
>
237238

238239
<p>
239240
Note how the physical line tags in the geo file correspond to the boundary conditions in our FEAScript
@@ -275,7 +276,9 @@ <h2 id="generatedmesh"><a name="generatedmesh"></a>Generated Mesh</h2>
275276
alt="Quadrilateral mesh generated by Gmsh"
276277
style="max-width: 40%; height: auto"
277278
/>
278-
<p class="image-caption">Quadrilateral mesh (rect_quad_unstruct.msh) generated using the rect.geo script with Gmsh</p>
279+
<p class="image-caption">
280+
Quadrilateral mesh (rect_quad_unstruct.msh) generated using the rect.geo script with Gmsh
281+
</p>
279282
</div>
280283

281284
<p>
@@ -384,7 +387,9 @@ <h2 id="results"><a name="results"></a>Results</h2>
384387
});
385388
</script>
386389

387-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
390+
<footer>
391+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
392+
</footer>
388393
<script>
389394
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
390395
</script>

tutorials/HeatConduction2DFinPlatform.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,15 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
157157
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
158158
</li>
159159
<li>
160-
<a href="https://platform.feascript.com/help.html" target="_blank">Return to FEAScript Platform Help</a>
160+
<a href="https://platform.feascript.com/help.html" target="_blank"
161+
>Return to FEAScript Platform Help</a
162+
>
161163
</li>
162164
</ul>
163165

164-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
166+
<footer>
167+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
168+
</footer>
165169
<script>
166170
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
167171
</script>

tutorials/HeatConduction2DFinWorker.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,9 @@ <h2 id="results"><a name="Results"></a>Results</h2>
335335
});
336336
</script>
337337

338-
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
338+
<footer>
339+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
340+
</footer>
339341
<script>
340342
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
341343
</script>

0 commit comments

Comments
 (0)