Skip to content

Commit

Permalink
add reactive page design to the image and the footer so that this is …
Browse files Browse the repository at this point in the history
…more viewable on mobile
  • Loading branch information
claire-fletcher committed Jul 3, 2024
1 parent 2198bf4 commit 9d7242d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ <h2>About Me</h2>
<img
src="assets/whale.webp"
alt="CNCF TAG logo. A light green whale sitting on top of a light green image of the earth."
width="100"
height="100"
title="CNCF TAG Environmental Sustainability logo"
style="display: block; margin: 0 auto"
style="display:block; margin:0 auto; max-width:50%; height:auto;"
/>
</div>

Expand All @@ -68,9 +66,10 @@ <h2>Isn't this a bit basic?</h2>
</div>
</main>

<!-- Note that this can be pinned to the bottom of the page once CSS is in use -->
<footer
style="
position: fixed;
position: relative;
bottom: 0;
width: 100%;
background-color: #f8f9fa;
Expand Down
3 changes: 2 additions & 1 deletion pages/edi.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ <h2>Tools and Documentation</h2>
</div>
</main>

<!-- Note that this can be pinned to the bottom of the page once CSS is in use -->
<footer
style="
position: fixed;
position: relative;
bottom: 0;
width: 100%;
background-color: #f8f9fa;
Expand Down
3 changes: 2 additions & 1 deletion pages/sustainability.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ <h2>Tools</h2>
</div>
</main>

<!-- Note that this can be pinned to the bottom of the page once CSS is in use -->
<footer
style="
position: fixed;
position: relative;
bottom: 0;
width: 100%;
background-color: #f8f9fa;
Expand Down

0 comments on commit 9d7242d

Please sign in to comment.