Skip to content

Commit

Permalink
more fixes, add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenmcginnis committed Nov 27, 2024
1 parent b9f580d commit 57823ba
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions resources/web/style/base_styles.pcss
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
html {
/*
NOTE: DEPENDENT ON MARKETING HEADER/FOOTER
When scrolling to a heading, the heading should
go below the sticky marketing header. The value
of the padding depends on the height of the header.
*/
@media screen and (min-width: 1200px) {
scroll-padding-top: 92px;
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
scroll-padding-top: 151px;
}
}

#guide {
* {
font-family: Inter, sans-serif;
Expand Down Expand Up @@ -58,24 +73,40 @@
@media screen and (min-width: 1200px) {
position: -webkit-sticky;
position: sticky;
/*
NOTE: DEPENDENT ON MARKETING HEADER/FOOTER
This is dependent on the height of the header.
*/
top: 72px;
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
position: -webkit-sticky;
position: sticky;
/*
NOTE: DEPENDENT ON MARKETING HEADER/FOOTER
This is dependent on the height of the header.
*/
top: 131px;
}
}

.h-almost-full-md {
@media screen and (min-width: 769px) {
height: 95vh;
/*
NOTE: DEPENDENT ON MARKETING HEADER/FOOTER
This is dependent on the height of the header.
*/
height: 90vh;
}
}

.h-almost-full-lg {
@media screen and (min-width: 993px) {
height: 95vh;
/*
NOTE: DEPENDENT ON MARKETING HEADER/FOOTER
This is dependent on the height of the header.
*/
height: 90vh;
}
}

Expand Down

0 comments on commit 57823ba

Please sign in to comment.