File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
< footer class ="footer " aria-label ="Footer ">
2
2
© namecard
3
- </ footer >
3
+ </ footer >
Original file line number Diff line number Diff line change @@ -102,16 +102,16 @@ th {
102
102
}
103
103
104
104
/* **** PAGE STYLING *****/
105
- html ,
106
- body {
107
- min-height : 100% ;
105
+ html {
106
+ height : 100% ;
108
107
scroll-behavior : smooth ;
109
108
}
110
109
111
110
body {
112
111
display : flex ;
113
112
flex-direction : column ;
114
113
max-width : 100rem ;
114
+ min-height : 100% ;
115
115
margin : auto ;
116
116
padding : 7rem 10rem ; // top-bottom left-right
117
117
@@ -121,7 +121,7 @@ body {
121
121
font-size : $font-size-base ;
122
122
}
123
123
124
- . nav-bar {
124
+ nav {
125
125
text-align : right ;
126
126
127
127
.nav-item {
@@ -137,7 +137,7 @@ body {
137
137
}
138
138
139
139
main {
140
- flex-grow : 1 0 auto ;
140
+ flex-grow : 1 ;
141
141
142
142
.intro {
143
143
padding : 10em 1rem ;
@@ -157,8 +157,9 @@ main {
157
157
}
158
158
}
159
159
160
- .footer {
161
- flex-shrink : none ;
160
+ footer {
161
+ align-self : end ;
162
+ width : 100% ;
162
163
text-align : right ;
163
164
}
164
165
You can’t perform that action at this time.
0 commit comments