Skip to content
Permalink
Browse files
optimize responsive
  • Loading branch information
pissang committed Jan 25, 2022
1 parent 616cbac commit a55b4dae0f91c49eb1e42b118a1a1e53005a43be
Showing 3 changed files with 23 additions and 12 deletions.
@@ -30,11 +30,12 @@ block content
+svgGithub('#081642')
.home-landing-animation
.home-landing-animation-cover
include ../components/svg/entry-pie.svg
#play-landing-animation
include ../components/svg/play.svg
.loading
include ../components/svg/loading.svg
.home-landing-animation-svg-container
include ../components/svg/entry-pie.svg
#play-landing-animation
include ../components/svg/play.svg
.loading
include ../components/svg/loading.svg
#home-landing-animation-container
#home-landing-animation-viewport
#home-landing-animation-close-btn
@@ -155,6 +155,10 @@ body {
position: absolute;
right: 50px;

.home-landing-animation-svg-container {
position: relative;
}

svg {
width: 700px;
height: 700px;
@@ -270,9 +274,14 @@ body {
display: block;
}


.home-landing-animation-cover {
display: none;
}
.navbar-toggle {
display: none;
}

.navbar-default {
background-color: rgba(255,255,255,0.5);
backdrop-filter: blur(5px);
@@ -294,6 +303,8 @@ body {
}
}
}


#navbar-collapse {
background-color: transparent;
}
@@ -690,12 +701,11 @@ body {
}

@media (max-width: 768px) {

#play-landing-animation {
display: none;
}

#main-content {

.home-info {
margin-top: 5vh;
}
.home-brand {
font-size: 48px;
}
@@ -122,8 +122,8 @@ window.lazyLoadOptions = {

function loadLandingAnimationScripts() {
return new Promise((resolve) => {
// var landingAnimationURL = 'http://localhost/echarts-www-landing-animation/'
var landingAnimationURL = 'https://cdn.jsdelivr.net/npm/echarts-www-landing-animation/';
var landingAnimationURL = 'http://localhost/echarts-www-landing-animation/'
// var landingAnimationURL = 'https://cdn.jsdelivr.net/npm/echarts-www-landing-animation/';
// Load script.
var link = document.createElement('link');
var script = document.createElement('script');

0 comments on commit a55b4da

Please sign in to comment.