fix
This commit is contained in:
parent
81a43ce8e5
commit
8422a8802f
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ partial "particles.html" . }}
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
|
||||||
<footer id="footer">© <a href="https://syui.ai">syui</a></footer>
|
<footer id="footer">© <a href="https://syui.ai">syui</a></footer>
|
||||||
|
@ -1,16 +1,9 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="containerx">
|
<div class="containerx">
|
||||||
|
|
||||||
{{ $s := path.Dir (.Permalink | relURL) }}
|
{{ $s := path.Dir (.Permalink | relURL) }}
|
||||||
{{ $t := index (split $s "/") 2 }}
|
{{ $t := index (split $s "/") 2 }}
|
||||||
{{ $o := index (split $s "/") 1 }}
|
{{ $o := index (split $s "/") 1 }}
|
||||||
|
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<!--
|
|
||||||
{{ partial "particles.html" . }}
|
|
||||||
-->
|
|
||||||
|
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
{{ partial "svg.html" . }}
|
{{ partial "svg.html" . }}
|
||||||
{{ if eq $o "" }}
|
{{ if eq $o "" }}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
|
<link rel="stylesheet" href="/pkg/particles/particles.css" />
|
||||||
<div id="particles-js"></div>
|
<div id="particles-js"></div>
|
||||||
<script src="/pkg/particles/particles.min.js"></script>
|
<script src="/pkg/particles/particles.min.js"></script>
|
||||||
<script src="/pkg/particles/stats.min.js"></script>
|
|
||||||
<script src="/pkg/particles/config.js"></script>
|
<script src="/pkg/particles/config.js"></script>
|
||||||
<link rel="stylesheet" href="/pkg/particles/particles.css" />
|
|
||||||
|
@ -46,7 +46,7 @@ article {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer#footer {
|
footer#footer {
|
||||||
margin-top:100px;
|
/* margin-top:100px; */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height:60px;
|
height:60px;
|
||||||
padding-top:100px;
|
padding-top:100px;
|
||||||
|
@ -438,14 +438,6 @@ body {
|
|||||||
span {
|
span {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
#particles-js {
|
|
||||||
position: absolute;
|
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
#particles-js-no {
|
|
||||||
position: absolute;
|
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#icon-github:hover,
|
#icon-github:hover,
|
||||||
i.icon.ion-close-circled:hover,
|
i.icon.ion-close-circled:hover,
|
||||||
@ -490,24 +482,22 @@ i.icon.ion-plus-circled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:1000px){i.icon.ion-minus-circled{display:none}
|
@media screen and (max-width:1000px){i.icon.ion-minus-circled{display:none}
|
||||||
#window{width:100%;}
|
#window{width:100%;}
|
||||||
}
|
}
|
||||||
@media screen and (max-width:800px){body{padding-top:0px;}
|
@media screen and (max-width:800px){body{padding-top:0px;}
|
||||||
#title-left{left:50%;}
|
#title-left{left:50%;}
|
||||||
#window{width:100%;}
|
#window{width:100%;}
|
||||||
.container{padding:0px;}
|
.container{padding:0px;}
|
||||||
/*article{padding:10px 20px;}*/
|
/*article{padding:10px 20px;}*/
|
||||||
i.icon.ion-minus-circled{display:none}
|
i.icon.ion-minus-circled{display:none}
|
||||||
}
|
}
|
||||||
@media screen and (max-width:800px){#title-left{left:48%;}
|
@media screen and (max-width:800px){#title-left{left:48%;}
|
||||||
}
|
}
|
||||||
@media screen and (max-width:500px){#title-left{left:40%;}
|
@media screen and (max-width:500px){#title-left{left:40%;}
|
||||||
}
|
}
|
||||||
@media screen and (max-width:400px){body{padding-top:0px;width:auto;}
|
@media screen and (max-width:400px){body{padding-top:0px;width:auto;}
|
||||||
#title-left{left:50%;}
|
#title-left{left:50%;}
|
||||||
/*article{padding:10px 10px;}*/
|
/*article{padding:10px 10px;}*/
|
||||||
#particles-js{width:auto;}
|
i.icon.ion-minus-circled{display:none}
|
||||||
#particles-js-no{width:auto;}
|
i.icon.ion-plus-circled{display:none}
|
||||||
i.icon.ion-minus-circled{display:none}
|
|
||||||
i.icon.ion-plus-circled{display:none}
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"dependencies": {
|
|
||||||
"hotkeys-js": "^3.13.7"
|
|
||||||
}
|
|
||||||
}
|
|
1
static/pkg/particles/config.js
Normal file
1
static/pkg/particles/config.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
particlesJS("particles-js", {"particles":{"number":{"value":91,"density":{"enable":true,"value_area":881.8766334760375}},"color":{"value":"#fff700"},"shape":{"type":"circle","stroke":{"width":2,"color":"#fff700"},"polygon":{"nb_sides":6},"image":{"src":"","width":100,"height":100}},"opacity":{"value":0.48102361825965684,"random":true,"anim":{"enable":true,"speed":1.0556403676876611,"opacity_min":0.11368434728944043,"sync":true}},"size":{"value":3,"random":true,"anim":{"enable":true,"speed":2,"size_min":0,"sync":true}},"line_linked":{"enable":false,"distance":849.808392258727,"color":"#fff700","opacity":0.44093831673801875,"width":6.894671861721749},"move":{"enable":true,"speed":0.1,"direction":"none","random":true,"straight":false,"out_mode":"out","bounce":false,"attract":{"enable":true,"rotateX":1000,"rotateY":5000}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":false,"mode":"repulse"},"onclick":{"enable":true,"mode":"remove"},"resize":true},"modes":{"grab":{"distance":523.7600285834934,"line_linked":{"opacity":0.46067027525048987}},"bubble":{"distance":400,"size":40,"duration":2,"opacity":8,"speed":3},"repulse":{"distance":200,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true});var count_particles, update; count_particles = document.querySelector('.js-count-particles'); update = function() { if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) { } requestAnimationFrame(update); }; requestAnimationFrame(update);;
|
17
static/pkg/particles/particles.css
Normal file
17
static/pkg/particles/particles.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
canvas{
|
||||||
|
display: block;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
#particles-js{
|
||||||
|
/* position:absolute; */
|
||||||
|
position:static;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #313131;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: 50% 50%;
|
||||||
|
}
|
||||||
|
.count-particles{
|
||||||
|
border-radius: 0 0 3px 3px;
|
||||||
|
}
|
1
static/pkg/particles/particles.json
Normal file
1
static/pkg/particles/particles.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"particles":{"number":{"value":380,"density":{"enable":true,"value_area":2084.43567912518}},"color":{"value":"#fff700"},"shape":{"type":"circle","stroke":{"width":3,"color":"#fff700"},"polygon":{"nb_sides":5},"image":{"src":"img/github.svg","width":100,"height":100}},"opacity":{"value":0.32068241217310456,"random":true,"anim":{"enable":false,"speed":1,"opacity_min":0.1,"sync":false}},"size":{"value":4.008530152163807,"random":true,"anim":{"enable":true,"speed":4.87218631240459,"size_min":2.4360931562022947,"sync":false}},"line_linked":{"enable":false,"distance":641.3648243462092,"color":"#fff700","opacity":0.09620472365193136,"width":0.16034120608655228},"move":{"enable":true,"speed":1,"direction":"none","random":true,"straight":true,"out_mode":"out","bounce":false,"attract":{"enable":true,"rotateX":1000,"rotateY":5000}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":false,"mode":"grab"},"onclick":{"enable":true,"mode":"push"},"resize":true},"modes":{"grab":{"distance":400,"line_linked":{"opacity":1}},"bubble":{"distance":400,"size":40,"duration":2,"opacity":8,"speed":3},"repulse":{"distance":200,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true}
|
9
static/pkg/particles/particles.min.js
vendored
Normal file
9
static/pkg/particles/particles.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user