Skip to content

Commit daf6dc3

Browse files
committed
updating footer format in CSS
1 parent 3464749 commit daf6dc3

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

Wireframe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>What is a branch in Git</h2>
5454
</article>
5555
</main>
5656
<footer>
57-
<p>Updated by Damian.Dunkley@BtInternet.com for January 2026 Code Your Future Introduction to
57+
<p>
5858
Updated by Damian.Dunkley@BtInternet.com for January 2026 Code Your Future Introduction to
5959
Programming Course.
6060
</p>

Wireframe/style.css

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ As well as useful links to learn more */
2020
--paper: oklch(7 0 0);
2121
--ink: color-mix(in oklab, var(--color) 5%, black);
2222
--font: 100%/1.5 system-ui;
23-
--space: clamp(6px, 6px + 2px, 15px);
23+
--space: clamp(6px, 6px + 2vw, 15px);
2424
--line: 1px solid;
2525
--container: 1280px;
2626
}
@@ -54,18 +54,10 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
5454
main {
5555
max-width: var(--container);
5656
margin: 0 auto calc(var(--space) * 4) auto;
57-
padding: var(--space);
58-
5957
}
6058
footer {
61-
62-
bottom: 0;
63-
text-align: center;
64-
width: 95%;
65-
background-color: var(--paper);
66-
padding: var(--space);
67-
color: var(--ink);
6859

60+
text-align: center;
6961
}
7062
/* ====== Articles Grid Layout ====
7163
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)