File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
3031 background : var (--paper );
3132 color : var (--ink );
3233 font : var (--font );
34+ padding-bottom : 80px ;
3335}
3436h1 {
3537 text-align : center;
@@ -55,7 +57,11 @@ main {
5557footer {
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 ====
6167Setting 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}
You can’t perform that action at this time.
0 commit comments