Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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