Replace promo video with slideshow #30
|
@ -2,8 +2,8 @@ header.landing {
|
|||
display: block;
|
||||
margin: 0;
|
||||
margin-top: 3em;
|
||||
padding: 3vh 10vw;
|
||||
width: 80vw;
|
||||
padding: 3vh 15vw;
|
||||
width: 70vw;
|
||||
background-color: #002244;
|
||||
color: #fff;
|
||||
}
|
||||
|
@ -73,13 +73,13 @@ img.float-right {
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
.calendar-events ul .date {
|
||||
color: rgba(0,0,0,.5);
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
font-size: 0.8em;
|
||||
margin-top: .2em;
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
|
||||
.calendar-events > li > p {
|
||||
border-bottom: .1em dotted rgba(0,0,0,.2);
|
||||
border-bottom: 0.1em dotted rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.calendar-events ul {
|
||||
|
@ -87,24 +87,27 @@ img.float-right {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-events a, #ticker a {
|
||||
.calendar-events a,
|
||||
#ticker a {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.calendar-events a:hover, #ticker a:hover {
|
||||
.calendar-events a:hover,
|
||||
#ticker a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.calendar-events ul .time {
|
||||
color: rgba(0,0,0,.5);
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
float: right;
|
||||
}
|
||||
|
||||
.calendar-events ul .icon, .calendar-events ul .date {
|
||||
.calendar-events ul .icon,
|
||||
.calendar-events ul .date {
|
||||
float: right;
|
||||
margin-right: .5em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
main.contentsplit {
|
||||
|
@ -126,7 +129,7 @@ main.contentsplit {
|
|||
}
|
||||
|
||||
.essentials a {
|
||||
margin: .2em 0;
|
||||
margin: 0.2em 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,29 +40,9 @@ $doorTime = date("H:i", $doorEntry->time);
|
|||
</nav>
|
||||
|
||||
<header class="landing">
|
||||
<!-- HACK INCOMING! -->
|
||||
<style>
|
||||
.iframe-container {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.responsive-iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
}
|
||||
</style>
|
||||
<div class="iframe-container" style="max-width: 100em;">
|
||||
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/Uy6HAvMdeuA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen ></iframe>
|
||||
<div id="imageSlideshow">
|
||||
<?php include("galleri/slideshow.php"); ?>
|
||||
<script src="js/slideshow.js"></script>
|
||||
</div>
|
||||
<div class="info">
|
||||
<h2>Velkommen til Programvare­verkstedet</h2>
|
||||
|
|
Loading…
Reference in New Issue