logic
This commit is contained in:
parent
444711b40f
commit
ca3ba3b70f
|
@ -9,3 +9,16 @@
|
||||||
<img src="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" width="125px" height="125px" alt="Sakrecoer Logo" />
|
<img src="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" width="125px" height="125px" alt="Sakrecoer Logo" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% if page.collection != 'tracks' %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(window).scroll(function(){
|
||||||
|
$("#navigation").css("opacity", 0 + $(window).scrollTop() / 250);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% else %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(window).scroll(function(){
|
||||||
|
$("#navigation").css("opacity", 1 - $(window).scrollTop() / 250);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
|
@ -8,6 +8,7 @@
|
||||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/touch-icon.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="{{ site.baseurl }}/touch-icon.png" sizes="192x192">
|
||||||
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png" type="image/png" />
|
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png" type="image/png" />
|
||||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style2019-07.css" />
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style2019-07.css" />
|
||||||
|
<script src="/assets/js/jquery-3.4.1.min.js"></script>
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
<style>
|
<style>
|
||||||
body{
|
body{
|
||||||
|
|
|
@ -82,4 +82,9 @@ layout: default
|
||||||
body {
|
body {
|
||||||
background-image:url('{{ page.image }}') ;
|
background-image:url('{{ page.image }}') ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navigation {
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -369,6 +369,7 @@ min-height: 80vh;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
.aboutflex {
|
.aboutflex {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
2
assets/js/jquery-3.4.1.min.js
vendored
Normal file
2
assets/js/jquery-3.4.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue