mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 20:25:51 +00:00
Feed banner height variable into layout margin creator
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -37,7 +37,6 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
content: url("../img/home-hero.svg");
|
content: url("../img/home-hero.svg");
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
margin-top: 24px;
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
min-height: 470px;
|
min-height: 470px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 52px;
|
height: $banner-height;
|
||||||
background: #D919FF !important;
|
background: #D919FF !important;
|
||||||
padding: 7px 35px;
|
padding: 7px 35px;
|
||||||
font-family: "Work Sans";
|
font-family: "Work Sans";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Top navigation ----------------------------------------------------------- */
|
/* Top navigation ----------------------------------------------------------- */
|
||||||
$nav-height: 80px;
|
$nav-height: 80px;
|
||||||
$banner-height: 0; // Apex 2024 banner was 46px. 0 for no pencil banner.
|
$banner-height: 52px; // Apex 2025 banner is 52px. 0 for no pencil banner.
|
||||||
|
|
||||||
[data-component-name="layouts/RootLayout"] {
|
[data-component-name="layouts/RootLayout"] {
|
||||||
padding-top: $nav-height + $banner-height;
|
padding-top: $nav-height + $banner-height;
|
||||||
|
|||||||
Reference in New Issue
Block a user