Skip to content

Commit

Permalink
fixed how footer banner responds to changes in window size
Browse files Browse the repository at this point in the history
  • Loading branch information
dominrios committed Sep 4, 2024
1 parent 29848bc commit cbd8af8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
19 changes: 17 additions & 2 deletions assets/sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ img {vertical-align: middle;}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {
font-size: 3px;
font-size: 5px;
}
}

Expand Down Expand Up @@ -196,16 +196,31 @@ img {vertical-align: middle;}
margin-top: -8%;
max-width:100%;
font-size: 1.5vw;

@media (max-width: 480px) {
margin-right: 20%;
}

@media (min-width: 576px) {
font-size: 2vw;
}
@media (min-width: 768px) {
font-size: 2vw;
}
@media (min-width: 992px) {
font-size: 1.5vw;
}
}

.button {

vertical-align: left;
margin-left: 1em;
}


}
}

a.imageLink{
position:relative;
right: 35vw;
Expand Down
9 changes: 4 additions & 5 deletions layouts/partials/homepage/blocks/cta.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ <h2>{{ .item.contents | markdownify }}</h2>
</a>


<p > Eclipse VOLTTRON is sponsored by the Department of Energy<br> and Pacific Northwest National Laboratory, 2024.</p>
<p>
Eclipse VOLTTRON is sponsored by the Department of Energy<br>
and Pacific Northwest National Laboratory, 2024.
</p>
{{- end }}




</header>
</div>
</section>
Expand Down

Large diffs are not rendered by default.

0 comments on commit cbd8af8

Please sign in to comment.