File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,16 @@ As well as useful links to learn more */
2929
3030/* ====== Base Elements ======
3131 General rules for basic HTML elements in any context */
32+
3233body {
3334 background : var (--paper );
3435 color : var (--ink );
3536 font : var (--font );
37+ position : relative;
38+ min-height : 100vh ;
39+ box-sizing : border-box;
40+ padding-bottom : 60px ;
41+ /* Adjust this value based on your footer's height */
3642}
3743
3844.hyperlink {
@@ -53,15 +59,26 @@ svg {
5359Setting the overall rules for page regions
5460https://www.w3.org/WAI/tutorials/page-structure/regions/
5561*/
62+
63+
64+
5665footer {
57- /* position: fixed; */
66+ position : fixed;
5867 bottom : 0 ;
5968 left : 0 ;
6069 width : 100% ;
61- text-align : center;
62- margin-bottom : calc (var (--space ));
70+ height : 50px ;
71+ /* Explicit height helps match the body padding */
72+ background : var (--paper );
73+ /* Ensures content scrolling underneath is hidden */
74+
75+ /* Flexbox makes centering text perfectly reliable */
76+ display : flex;
77+ justify-content : center;
78+ align-items : center;
6379}
6480
81+
6582# branch {
6683 margin-bottom : calc (var (--space ) * 3 );
6784}
You can’t perform that action at this time.
0 commit comments