mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
Update light animation and header spacing
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/community/XRPL-grants-light.json
Normal file
1
assets/js/community/XRPL-grants-light.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/community/careers-light.json
Normal file
1
assets/js/community/careers-light.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/community/network-node-light.json
Normal file
1
assets/js/community/network-node-light.json
Normal file
File diff suppressed because one or more lines are too long
@@ -738,11 +738,14 @@
|
||||
padding-top: 2.5rem;
|
||||
padding-bottom: 5rem;
|
||||
padding-left: 1rem;
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-top: 5rem;
|
||||
padding-bottom: 15rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding-bottom: 25rem;
|
||||
}
|
||||
// Floating images
|
||||
.parallax {
|
||||
position: absolute;
|
||||
|
||||
@@ -665,6 +665,17 @@ pre code {
|
||||
#xrpl-events .text-light {
|
||||
color: $black !important;
|
||||
}
|
||||
|
||||
// #networkNode {
|
||||
// filter: invert(100%) brightness(0.8);
|
||||
// }
|
||||
|
||||
#xrplGrantsDark,
|
||||
#xrplGrantsDark-small,
|
||||
#careersDark,
|
||||
#careersDark-small {
|
||||
filter: invert(100%) brightness(0.8);
|
||||
}
|
||||
}
|
||||
|
||||
#find-us-on-platforms .card-deck {
|
||||
|
||||
@@ -264,12 +264,14 @@
|
||||
{% block endbody %}
|
||||
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/bodymovin.min.js"></script>
|
||||
|
||||
<!-- contribute -->
|
||||
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/network-node-dark.json"></script>
|
||||
<!-- Light version for network node looks ok for both light/dark.-->
|
||||
<!-- Dark version for other two and using filter invert and adjust brightness for light mode -->
|
||||
<!-- <script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/network-node-dark.json"></script> -->
|
||||
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/network-node-light.json"></script>
|
||||
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/XRPL-grants-dark.json"></script>
|
||||
<!-- <script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/XRPL-grants-light.json"></script> -->
|
||||
<script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/careers-dark.json"></script>
|
||||
|
||||
|
||||
<!-- <script type="text/javascript" src="{{currentpage.prefix}}assets/js/community/careers-light.json"></script> -->
|
||||
|
||||
<script type="text/javascript">
|
||||
function networkNodeAnimation(){
|
||||
@@ -278,7 +280,7 @@
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
animationData: networkNodeDark
|
||||
animationData: networkNodeLight
|
||||
});
|
||||
};
|
||||
|
||||
@@ -288,7 +290,7 @@
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
animationData: networkNodeDark
|
||||
animationData: networkNodeLight
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user