Skip to content

Commit 53e3609

Browse files
important fixes
1 parent 356b51b commit 53e3609

File tree

8 files changed

+30
-23
lines changed

8 files changed

+30
-23
lines changed

.DS_Store

6 KB
Binary file not shown.

_layouts/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</head>
2727
<body>
2828
<section class="page-header">
29-
<img id="bloc-logo" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
29+
<img id="bloc-logo" class="hang-loose delay" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
3030
<div class="page-header-content">
3131
<h1 class="project-name">Bouldering Reimagined</h1>
3232
<h2 class="project-tagline">&mdash;<br><span id="tagline"></h2>
@@ -71,7 +71,7 @@ <h2 class="project-tagline">&mdash;<br><span id="tagline"></h2>
7171
<!--End mc_embed_signup-->
7272

7373
<footer class="site-footer">
74-
<span class="site-footer-credits"><span class="blink">🤙 </span>Bloc Bouldering AS, 2017.</span>
74+
<span class="site-footer-credits"><span class="hang-loose">🤙</span> Bloc Bouldering AS, 2017.</span>
7575
</footer>
7676
</section>
7777

@@ -97,7 +97,7 @@ <h2 class="project-tagline">&mdash;<br><span id="tagline"></h2>
9797
setInterval(function() {
9898
if (window.pageYOffset > 0.7 * window.innerHeight)
9999
document.getElementById("bloc-logo").classList.add("inverted")
100-
else
100+
else
101101
document.getElementById("bloc-logo").classList.remove("inverted")
102102
}, 100);
103103
</script>

_sass/jekyll-theme-cayman.scss

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,21 @@ a {
548548
}
549549
}
550550

551-
@keyframes blink {
552-
50% { opacity: 0.0; }
551+
@keyframes hangLoose {
552+
50% { transform: rotate(-17deg); }
553553
}
554-
@-webkit-keyframes blink {
555-
50% { opacity: 0.0; }
554+
@-webkit-keyframes hangLoose {
555+
50% { -webkit-transform: rotate(-17deg); }
556556
}
557-
.blink {
558-
animation: blink 1.5s step-start 0s infinite;
559-
-webkit-animation: blink 1.5s step-start 0s infinite;
560-
}
561-
557+
.hang-loose {
558+
display: inline-block;
559+
animation: hangLoose .5s step-start 0s infinite;
560+
-webkit-animation: hangLoose .5s step-start 0s infinite;
562561

562+
&.delay {
563+
animation-delay: 10s;
564+
-webkit-animation-delay: 10s;
565+
animation-iteration-count: 2;
566+
-webkit-animation-iteration-count: 2;
567+
}
568+
}

_site/another-page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
<meta name="description" content="Bouldering Reimagined"/>
3535
<meta name="viewport" content="width=device-width, initial-scale=1">
3636
<meta name="theme-color" content="#00087f">
37-
<link rel="stylesheet" href="/assets/css/style.css?v=029007382265da9421108e2893bd22b39f0e998e">
37+
<link rel="stylesheet" href="/assets/css/style.css?v=356b51b7bb931bb7731a849f1af888b5291e49be">
3838
</head>
3939
<body>
4040
<section class="page-header">
41-
<img id="bloc-logo" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
41+
<img id="bloc-logo" class="hang-loose delay" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
4242
<div class="page-header-content">
4343
<h1 class="project-name">Bouldering Reimagined</h1>
4444
<h2 class="project-tagline">&mdash;<br><span id="tagline"></h2>
@@ -88,7 +88,7 @@ <h2 id="welcome-to-another-page">Welcome to another page</h2>
8888
<!--End mc_embed_signup-->
8989

9090
<footer class="site-footer">
91-
<span class="site-footer-credits"><span class="blink">🤙 </span>Bloc Bouldering AS, 2017.</span>
91+
<span class="site-footer-credits"><span class="hang-loose">🤙</span> Bloc Bouldering AS, 2017.</span>
9292
</footer>
9393
</section>
9494

@@ -114,7 +114,7 @@ <h2 id="welcome-to-another-page">Welcome to another page</h2>
114114
setInterval(function() {
115115
if (window.pageYOffset > 0.7 * window.innerHeight)
116116
document.getElementById("bloc-logo").classList.add("inverted")
117-
else
117+
else
118118
document.getElementById("bloc-logo").classList.remove("inverted")
119119
}, 100);
120120
</script>

_site/assets/.DS_Store

6 KB
Binary file not shown.

_site/assets/css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ a:hover { text-decoration: underline; }
364364
#signup #mc-embedded-subscribe-form #mc-embedded-subscribe:hover { background: #f8e500; border-color: #f8e500; color: #242426; }
365365
#signup #mc-embedded-subscribe-form #mc-embedded-subscribe:focus, #signup #mc-embedded-subscribe-form #mc-embedded-subscribe:active { outline: none; background: #00087f !important; border-color: #00087f !important; color: white; }
366366

367-
@keyframes blink { 50% { opacity: 0.0; } }
368-
@-webkit-keyframes blink { 50% { opacity: 0.0; } }
369-
.blink { animation: blink 1.5s step-start 0s infinite; -webkit-animation: blink 1.5s step-start 0s infinite; }
367+
@keyframes hangLoose { 50% { transform: rotate(-17deg); } }
368+
@-webkit-keyframes hangLoose { 50% { -webkit-transform: rotate(-17deg); } }
369+
.hang-loose { display: inline-block; animation: hangLoose .5s step-start 0s infinite; -webkit-animation: hangLoose .5s step-start 0s infinite; }
370+
.hang-loose.delay { animation-delay: 10s; -webkit-animation-delay: 10s; animation-iteration-count: 2; -webkit-animation-iteration-count: 2; }

_site/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
<meta name="description" content="Bouldering Reimagined"/>
3535
<meta name="viewport" content="width=device-width, initial-scale=1">
3636
<meta name="theme-color" content="#00087f">
37-
<link rel="stylesheet" href="/assets/css/style.css?v=029007382265da9421108e2893bd22b39f0e998e">
37+
<link rel="stylesheet" href="/assets/css/style.css?v=356b51b7bb931bb7731a849f1af888b5291e49be">
3838
</head>
3939
<body>
4040
<section class="page-header">
41-
<img id="bloc-logo" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
41+
<img id="bloc-logo" class="hang-loose delay" src="/assets/img/bloc-logoblock.svg" onerror="this.onerror=null; this.src='bloc-logoblock.png'">
4242
<div class="page-header-content">
4343
<h1 class="project-name">Bouldering Reimagined</h1>
4444
<h2 class="project-tagline">&mdash;<br><span id="tagline"></h2>
@@ -117,7 +117,7 @@ <h1 id="preview-bloc-beta">Preview Bloc Beta</h1>
117117
<!--End mc_embed_signup-->
118118

119119
<footer class="site-footer">
120-
<span class="site-footer-credits"><span class="blink">🤙 </span>Bloc Bouldering AS, 2017.</span>
120+
<span class="site-footer-credits"><span class="hang-loose">🤙</span> Bloc Bouldering AS, 2017.</span>
121121
</footer>
122122
</section>
123123

@@ -143,7 +143,7 @@ <h1 id="preview-bloc-beta">Preview Bloc Beta</h1>
143143
setInterval(function() {
144144
if (window.pageYOffset > 0.7 * window.innerHeight)
145145
document.getElementById("bloc-logo").classList.add("inverted")
146-
else
146+
else
147147
document.getElementById("bloc-logo").classList.remove("inverted")
148148
}, 100);
149149
</script>

assets/.DS_Store

6 KB
Binary file not shown.

0 commit comments

Comments
 (0)