File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed
Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 5858 --light-orange: #f69e45;
5959
6060 /* sizing */
61- --max- footer-height : 69 px ;
61+ --footer-height : 50 px ;
6262 --light-orange : # f69e45 ;
6363}
6464
@@ -114,8 +114,8 @@ body {
114114
115115main {
116116 max-width : 33rem ; /* Aim for 33–38 rem for readability. 33rem results in around 70 chars per line. */
117- margin-inline : auto ;
118- margin-bottom : calc ( var ( --max-footer-height ) + 25 px ) ;
117+ padding-bottom : var ( --footer-height ) ;
118+ overflow-y : hidden ;
119119}
120120
121121main p {
@@ -203,6 +203,17 @@ header nav ul {
203203 font-weight : bold;
204204}
205205
206+ @media (max-height : 450px ) {
207+ div .home {
208+ height : 30px ;
209+ padding-top : 10px ;
210+ }
211+
212+ .tagline {
213+ display : none;
214+ }
215+ }
216+
206217/* about */
207218
208219.bio {
@@ -223,8 +234,7 @@ footer {
223234 bottom : 0 ;
224235 width : 100% ;
225236 z-index : 10 ;
226- min-height : 45px ;
227- max-height : var (--max-footer-height );
237+ height : var (--footer-height );
228238 background-color : var (--purple );
229239 padding : 0.1rem ;
230240 display : flex;
@@ -510,17 +520,14 @@ h6 {
510520.home {
511521 display : flex;
512522 flex-direction : column;
513- justify-content : center;
514523 align-items : center;
515- height : 60vh ;
524+ height : calc (300px - var (--footer-height ));
525+ padding-top : 30px ;
516526}
517527
518528.tagline {
519- margin : 1rem ;
520529 font-size : 1.3rem ;
521530 font-weight : bold;
522- margin-block-start : 1em ;
523- margin-block-end : 0.67em ;
524531 text-align : center;
525532}
526533
You can’t perform that action at this time.
0 commit comments