Skip to content

Commit

Permalink
Try height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashishkebab committed Dec 10, 2023
1 parent b76046d commit 2b7bb0f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,12 @@ body *{
box-sizing: border-box;
}


.text-section{
background-color: black;
color: lightgrey;
width: 100%;
display: block;
padding-bottom: 1em;
padding-top: 1em;
padding-left: 1em;
padding-right: 1em;
padding: 1em 1em 1em 1em;
}
.text-section:nth-of-type(even){
background-color: lightgray;
Expand All @@ -53,13 +49,19 @@ body *{
color: black;
}

.text-section:nth-of-type(odd) a{
color: lightskyblue
}
.text-section:nth-of-type(odd) a:visited{
color: plum
}

.image-section{
background-color: black;
color: lightgray;
width: 100%;
height: 23em;
min-height: min-content;
min-height: 23em;
height: max-content;
display: block;
padding-bottom: 7em;
padding-top: 1em;
Expand Down Expand Up @@ -94,6 +96,7 @@ body *{
iframe{
display: block;
margin: auto;
margin-bottom: 1em;
width: 98%;
max-width: max(53em, 103vh);
aspect-ratio: 16 / 9;
Expand Down

0 comments on commit 2b7bb0f

Please sign in to comment.