File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,15 @@ As well as useful links to learn more */
2626}
2727/* ====== Base Elements ======
2828 General rules for basic HTML elements in any context */
29+ html , body {
30+ height : 100% ;
31+ margin : 0 ;
32+
33+ }
2934body {
35+ display : flex;
36+ flex-direction : column;
37+ min-height : 100vh ;
3038 background : var (--paper );
3139 color : var (--ink );
3240 font : var (--font );
@@ -46,13 +54,18 @@ Setting the overall rules for page regions
4654https://www.w3.org/WAI/tutorials/page-structure/regions/
4755*/
4856main {
57+ flex : 1 ;
4958 max-width : var (--container );
5059 margin : 0 auto calc (var (--space ) * 4 ) auto;
5160}
5261
5362footer {
54- position : fixed;
55- bottom : 0 ;
63+ background : # f5f5f5 ;
64+ text-align : center;
65+ padding : 10px ;
66+ border-top : 1px solid # ccc ;
67+ /*position: fixed;
68+ bottom: 0;*/
5669}
5770
5871
You can’t perform that action at this time.
0 commit comments