File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737}
3838h3 {
3939 font-size : 1.25em ;
40+ margin-top : 0 ;
41+ margin-bottom : 0px ;
42+ }
43+ p {
44+ margin-top : 0 ;
45+ margin-bottom : 0 ;
4046}
4147body {
4248 background : var (--paper );
4349 color : var (--ink );
4450 font : var (--font );
4551 padding-bottom : 5px ; /* Make space for the fixed footer according to the wireframe requirements */
4652}
53+ a {
54+ padding : var (--space );
55+ border : var (--line );
56+ max-width : fit-content;
57+ }
4758
4859/* ====== Site Layout ======
4960Setting the overall rules for page regions
@@ -57,6 +68,7 @@ footer {
5768 position : fixed;
5869 bottom : 0 ;
5970 left : 0 ;
71+ padding : 10px ;
6072 border-top : 1px solid black;
6173 text-align : center;
6274 width : 100% ; /* Make the footer span the entire width of the viewport */
@@ -84,15 +96,15 @@ Keeping things orderly and separate is the key to good, simple CSS.
8496*/
8597article {
8698 border : var (--line );
87-
8899 padding-bottom : var (--space );
89100 text-align : left;
90101 display : grid;
91102 grid-template-columns : var (--space ) 1fr var (--space );
92103 > * {
93104 grid-column : 2 / 3 ;
94105 grid-template-rows : auto auto 1fr auto;
95- height : 100% ;
106+ overflow : hidden;
107+ padding-bottom : 15px ;
96108 }
97109 /* The below added lines fixed the image layout which was uneven*/
98110 > img {
You can’t perform that action at this time.
0 commit comments