mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
Updated light mode graphics
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
right: -3px;
|
||||
top: 60px;
|
||||
}
|
||||
#home-hero-graphic {
|
||||
margin-left: auto;
|
||||
width: 856px;
|
||||
margin-right: auto;
|
||||
margin-bottom: 24px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.sidelinks {
|
||||
&:hover {
|
||||
@@ -28,10 +21,19 @@
|
||||
}
|
||||
|
||||
.page-home {
|
||||
#home-hero-graphic {
|
||||
content: url("../img/home-hero.svg");
|
||||
margin-left: auto;
|
||||
width: 856px;
|
||||
margin-right: auto;
|
||||
margin-bottom: 24px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#benefits-list {
|
||||
@each $benefit in "public", "streamlined", "performance", "low-cost", "community", "reliability" {
|
||||
##{$benefit} {
|
||||
content: url("../img/icons/#{$benefit}.svg")
|
||||
content: url("../img/icons/#{$benefit}.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,7 +42,7 @@
|
||||
$feature-cards: ["pink-purple", "neutral-blue", "light-green", "orange", "purple-blue-2"];
|
||||
@for $i from 1 through 5 {
|
||||
.col-new-card:nth-child(#{$i}) {
|
||||
background-image: url("../img/cards/3col-#{nth($feature-cards, $i)}.svg")
|
||||
background-image: url("../img/cards/3col-#{nth($feature-cards, $i)}.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,7 +51,7 @@
|
||||
$gs-cards: ["orange-yellow", "magenta-orange", "purple-blue-green", "light-blue", "green-blue"];
|
||||
@for $i from 1 through 5 {
|
||||
.col-new-card:nth-child(#{$i}) {
|
||||
background-image: url("../img/cards/3col-#{nth($gs-cards, $i)}.svg")
|
||||
background-image: url("../img/cards/3col-#{nth($gs-cards, $i)}.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +57,10 @@ body {
|
||||
|
||||
$banner-top-offset: 146px;
|
||||
|
||||
.floating-nav {
|
||||
top: $banner-top-offset;
|
||||
}
|
||||
|
||||
.main h1:before,
|
||||
.main h2:before,
|
||||
.main h3:before,
|
||||
@@ -88,6 +92,6 @@ html.light {
|
||||
border-color: #E0E0E1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -475,8 +475,11 @@ pre code {
|
||||
// Individual page styles ------------------------------------------------------
|
||||
|
||||
// Homepage
|
||||
|
||||
.page-home {
|
||||
#home-hero-graphic {
|
||||
content: url("../img/lightmode/home-hero.svg");
|
||||
}
|
||||
|
||||
#benefits-list {
|
||||
@each $benefit in "public", "streamlined", "performance", "low-cost", "community", "reliability" {
|
||||
##{$benefit} {
|
||||
|
||||
Reference in New Issue
Block a user