Merge branch 'post-branch'

This commit is contained in:
Set Hallstrom 2019-06-28 11:45:49 +02:00
commit 938d7cdea1
2 changed files with 26 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<div id="rightnow">
<div id="rightnow"{% if site.data.open.open == true %} class="blink"{% else %} style="background: rgba(255, 255, 255, 0.5) url('/assets/img/bg.png');" {% endif %}>
{% if site.data.open.open == true %}
<br /><br />
<p>Just Nu:

View file

@ -241,6 +241,30 @@ canvas {
font-size: 1.6em;
}
}
.blink {
background: linear-gradient(242deg, #f89595, #6ffce0);
background-size: 400% 400%;
-webkit-animation: AnimationName 1s ease infinite;
-moz-animation: AnimationName 1s ease infinite;
animation: AnimationName 1s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 73%}
50%{background-position:100% 28%}
100%{background-position:0% 73%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 73%}
50%{background-position:100% 28%}
100%{background-position:0% 73%}
}
@keyframes AnimationName {
0%{background-position:0% 73%}
50%{background-position:100% 28%}
100%{background-position:0% 73%}
}
}
a.cta{
background: linear-gradient(242deg, #829e99, #93fce7);
background-size: 400% 400%;
@ -298,7 +322,7 @@ a.cta:hover {
text-align: center;
line-height: 18px;
opacity: 1;
background: rgba(255, 255, 255, 0.5) url('/assets/img/bg.png');
}
.flyer {
background-size: cover;