Skip to content

Commit 8fe8940

Browse files
authored
Update CSS variables and footer styles
1 parent 22745ee commit 8fe8940

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ As well as useful links to learn more */
1717
https://scrimba.com/learn-css-variables-c026
1818
====== Design Palette ====== */
1919
:root {
20-
--paper: oklch(7 0 0);
20+
--color: #0056b3;
21+
--paper: oklch(98 0 0);
2122
--ink: color-mix(in oklab, var(--color) 5%, black);
2223
--font: 100%/1.5 system-ui;
2324
--space: clamp(6px, 6px + 2vw, 15px);
@@ -30,6 +31,7 @@ body {
3031
background: var(--paper);
3132
color: var(--ink);
3233
font: var(--font);
34+
padding-bottom: 80px;
3335
}
3436
h1{
3537
text-align: center;
@@ -55,7 +57,11 @@ main {
5557
footer {
5658
position: fixed;
5759
bottom: 0;
60+
width: 100%;
5861
text-align: center;
62+
background: var(--paper);
63+
padding: var(--space) 0;
64+
border-top: var(--line);
5965
}
6066
/* ====== Articles Grid Layout ====
6167
Setting the rules for how articles are placed in the main element.
@@ -87,6 +93,6 @@ article {
8793
grid-column: 2/3;
8894
}
8995
> img {
90-
grid-column: span 3;
96+
grid-column: 1 / -1;
9197
}
9298
}

0 commit comments

Comments
 (0)