making shit consistent

This commit is contained in:
Set Hallstrom 2019-05-19 00:44:23 +02:00
parent 56b157bf89
commit 8f367d868e
3 changed files with 7 additions and 41 deletions

View file

@ -1,10 +1,11 @@
<!-- BEGIN hero.html --> <!-- BEGIN hero.html -->
<div id="banner"> <div id="banner" style="{% if page.url == "/" %}height:100%"{% else %}height:30%" {% endif %}">
<canvas style="display:none" id="canvas" width="285" height="285"></canvas> <canvas style="display:none" id="canvas" width="285" height="285"></canvas>
<canvas style="display:none" id="canvas3" width="570" height="570"></canvas> <canvas style="display:none" id="canvas3" width="570" height="570"></canvas>
<canvas id="canvas2" width="570" height="570">*** THIS BROWSER DOES NOT SUPPORT THE CANVAS ELEMENT ***</canvas> <canvas id="canvas2" width="570" height="570">*** THIS BROWSER DOES NOT SUPPORT THE CANVAS ELEMENT ***</canvas>
<div class="hero"> <div class="hero">
<img src="/assets/img/logo%20galleri%20momangen.svg" alt="{{ site.title }}" /> <a href="{{ site.baseurl }}/"><img src="/assets/img/logo%20galleri%20momangen.svg" alt="{{ site.title }}" /></a>
{% if page.url == "/" %}
<div id="poster" class="column"> <div id="poster" class="column">
{% for event in site.events limit: 1 %} {% for event in site.events limit: 1 %}
@ -15,11 +16,11 @@
<h2><a href="{{ event.url }}">{{ event.title }}</a></h2> <h2><a href="{{ event.url }}">{{ event.title }}</a></h2>
<h3>{{ event.description | truncatewords: 7 }} <a href="{{ event.url }}">Läs mer</a></h3> <h3>{{ event.description | truncatewords: 7 }} <a href="{{ event.url }}">Läs mer</a></h3>
Typ av konst: {{ event.category }} <br /> Typ av konst: {{ event.category }} <br />
<br /><br />
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% else %}{% endif %}
</div> </div>
</div> </div>
<!-- END hero.html --> <!-- END hero.html -->

View file

@ -6,11 +6,9 @@
<body> <body>
{% if page.url == "/" %}
{% include hero.html %} {% include hero.html %}
{% else %}
{% include header.html %}
{% endif %}
<!-- <div id="navigation"> </div> --> <!-- <div id="navigation"> </div> -->

View file

@ -109,40 +109,7 @@ a:active {
/* /*
* Layout * Layout
*/ */
#header {
overflow: hidden;
display: flex;
width: 100%;
height: 30vh;
background-size: 800% 800%;
div {
align-self: flex-end ;
flex: 1 1 auto;
margin-left:5px;
margin-right: 5px;
margin-bottom: 0;
padding: 0;
}
h1 {
position: relative;
margin-bottom: 0;
font-size: 3em;
// text-shadow: .05em .05em rgba(31, 31, 31, 0.5), -.05em -.05em rgba(224, 224, 224, 0.5);
-moz-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
-webkit-animation: fontmovement 10s linear infinite; /* Safari 4.0 - 8.0 */
animation: fontmovement 10s linear infinite;
}
h1,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
text-shadow: none;
}
}
#navigation { #navigation {
position: relative; position: relative;