frontpage

This commit is contained in:
Set Hallstrom 2019-05-18 19:17:01 +02:00
parent 3687c55462
commit 36ea2436ea
5 changed files with 20 additions and 36 deletions

View file

@ -1,5 +1,5 @@
--- ---
title: 'Momangens Sociala Presenterar: Mogaiskt' title: 'Momangens Sociala Presenterar: Momagiskt'
description: 'Kom på afterwork inuti Södermalms bäst bevarade hemlighet. Liveande elektronisk mysmusik och billig dryck för medlemmar' description: 'Kom på afterwork inuti Södermalms bäst bevarade hemlighet. Liveande elektronisk mysmusik och billig dryck för medlemmar'
start_datetime: 2019-06-14 17:00:00 +0200 start_datetime: 2019-06-14 17:00:00 +0200
end_datetime: 2019-06-14 23:00:00 +0200 end_datetime: 2019-06-14 23:00:00 +0200

View file

@ -9,12 +9,13 @@
{% for event in site.events limit: 1 %} {% for event in site.events limit: 1 %}
<div> <div>
<img src="{{ event.image }}" /> <a href="{{ event.url }}"><img src="{{ event.image }}" /></a>
</div> </div>
<div> <div>
<h2>{{ event.title }}</h2> <h2>{{ event.title }}</h2>
<h3>{{ event.start_date }} till {{ event.end_date }}</h3> <h3>{{ event.start_datetime }} till {{ event.end_datetime }}</h3>
<p>{{ event.description }}</p> <p>{{ event.description }}</p>
<a href="{{ event.url }}">Läs mer</a>
<p>{{ event.category }}</p> <p>{{ event.category }}</p>
</div> </div>
{% endfor %} {% endfor %}

View file

@ -1,32 +1,17 @@
@-webkit-keyframes AnimationName {
0%{background-position:92% 0%}
50%{background-position:9% 100%}
100%{background-position:92% 0%}
}
@-moz-keyframes AnimationName {
0%{background-position:92% 0%}
50%{background-position:9% 100%}
100%{background-position:92% 0%}
}
@keyframes AnimationName {
0%{background-position:92% 0%}
50%{background-position:9% 100%}
100%{background-position:92% 0%}
}
@-webkit-keyframes example { @-webkit-keyframes fontmovement {
0% {left:0px; bottom:0px;} 0% {left:0px; bottom:0px;}
50% {left:50px; bottom:0px;} 50% {left:50px; bottom:0px;}
100% {left:0px; bottom:0px;} 100% {left:0px; bottom:0px;}
} }
@-moz-keyframes example { @-moz-keyframes fontmovement {
0% {left:0px; bottom:0px;} 0% {left:0px; bottom:0px;}
50% {left:50px; bottom:0px;} 50% {left:50px; bottom:0px;}
100% {left:0px; bottom:0px;} 100% {left:0px; bottom:0px;}
} }
@keyframes example { @keyframes fontmovement {
0% {left:0px; bottom:0px;} 0% {left:0px; bottom:0px;}
50% {left:50px; bottom:0px;} 50% {left:50px; bottom:0px;}
100% {left:0px; bottom:0px;} 100% {left:0px; bottom:0px;}

View file

@ -88,9 +88,6 @@ a:active {
height: 100vh; height: 100vh;
background: transparent; background: transparent;
-webkit-animation: AnimationName 29s ease infinite;
-moz-animation: AnimationName 29s ease infinite;
animation: AnimationName 29s ease infinite;
div { div {
align-self: flex-end ; align-self: flex-end ;
flex: 1 1 auto; flex: 1 1 auto;
@ -108,9 +105,9 @@ a:active {
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
font-size: 3em; font-size: 3em;
// text-shadow: .05em .05em rgba(31, 31, 31, 0.5), -.05em -.05em rgba(224, 224, 224, 0.5); // text-shadow: .05em .05em rgba(31, 31, 31, 0.5), -.05em -.05em rgba(224, 224, 224, 0.5);
-moz-animation: example 20s linear infinite; /* Safari 4.0 - 8.0 */ -moz-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
-webkit-animation: example 20s linear infinite; /* Safari 4.0 - 8.0 */ -webkit-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
animation: example 20s linear infinite; animation: fontmovement 10s linear infinite;
} }
@ -128,11 +125,6 @@ a:active {
background: linear-gradient(223deg, rgba(31, 31, 31, 0.5), rgba(224, 224, 224, 0.5)); background: linear-gradient(223deg, rgba(31, 31, 31, 0.5), rgba(224, 224, 224, 0.5));
background-size: 800% 800%; background-size: 800% 800%;
-webkit-animation: AnimationName 29s ease infinite;
-moz-animation: AnimationName 29s ease infinite;
animation: AnimationName 29s ease infinite;
div { div {
align-self: flex-end ; align-self: flex-end ;
flex: 1 1 auto; flex: 1 1 auto;
@ -150,9 +142,9 @@ a:active {
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
font-size: 3em; font-size: 3em;
// text-shadow: .05em .05em rgba(31, 31, 31, 0.5), -.05em -.05em rgba(224, 224, 224, 0.5); // text-shadow: .05em .05em rgba(31, 31, 31, 0.5), -.05em -.05em rgba(224, 224, 224, 0.5);
-moz-animation: example 20s linear infinite; /* Safari 4.0 - 8.0 */ -moz-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
-webkit-animation: example 20s linear infinite; /* Safari 4.0 - 8.0 */ -webkit-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
animation: example 20s linear infinite; animation: fontmovement 10s linear infinite;
} }
h1, h1,
a:link, a:link,

View file

@ -13,6 +13,12 @@
font-family: oldlondon, Helvetica, Arial, sans-serif; font-family: oldlondon, Helvetica, Arial, sans-serif;
text-transform: lowercase; text-transform: lowercase;
} }
h2 {
font-size: 3em;
}
h3 {
font-size: 2.5em;
}
} }
#poster img { #poster img {