Update
This commit is contained in:
parent
15262c9cc6
commit
9dda1a4336
|
@ -28,7 +28,9 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm" id="description">
|
<div class="col-sm" id="description">
|
||||||
Beskrivelse
|
<b>Beskrivelse</b><br />
|
||||||
|
Yoooooooo my name is gert,
|
||||||
|
I love flowers.... HA what?
|
||||||
<br />
|
<br />
|
||||||
<button id="isWebBased">Play game online</button>
|
<button id="isWebBased">Play game online</button>
|
||||||
<button id="gameFil">Download game</button>
|
<button id="gameFil">Download game</button>
|
||||||
|
@ -38,19 +40,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="suggestions">
|
<hr class="GradientDivider" />
|
||||||
<p>Hej dkjhhnsd hid hgndnf ghnd df</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<p>Måske vil du prøve...</p>
|
||||||
<div class="jcarousel-wrapper">
|
<div class="jcarousel-wrapper">
|
||||||
<div class="jcarousel" data-jcarousel="true">
|
<div class="jcarousel" data-jcarousel="true">
|
||||||
<ul style="left: 0px; top: 0px;">
|
<ul style="left: 0px; top: 0px;">
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 1"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 1"></a></li>
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 2"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 2"></a></li>
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 3"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 3"></a></li>
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 4"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 4"></a></li>
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 5"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 5"></a></li>
|
||||||
<li style="width: 200px;"><img src="../Images/spil.jpg" alt="Image 6"></li>
|
<li style="width: 200px;"><a href="#link"><img src="../Images/spil.jpg" alt="Image 6"></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ const renderCalendar = () => {
|
||||||
"December",
|
"December",
|
||||||
];
|
];
|
||||||
|
|
||||||
document.querySelector(".date h1").innerHTML = months[date.getMonth()];
|
document.querySelector(".date h1").innerHTML = months[date.getMonth()] + " " + date.getFullYear();
|
||||||
|
|
||||||
document.querySelector(".date p").innerHTML = new Date().toLocaleDateString('da-DK', {
|
document.querySelector(".date p").innerHTML = new Date().toLocaleDateString('da-DK', {
|
||||||
weekday: 'long',
|
weekday: 'long',
|
||||||
|
@ -58,10 +58,7 @@ const renderCalendar = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 1; i <= lastDay; i++) {
|
for (let i = 1; i <= lastDay; i++) {
|
||||||
if (
|
if (i === new Date().getDate() && date.getMonth() === new Date().getMonth() && date.getFullYear() === new Date().getFullYear()) {
|
||||||
i === new Date().getDate() &&
|
|
||||||
date.getMonth() === new Date().getMonth()
|
|
||||||
) {
|
|
||||||
|
|
||||||
days += `<div class="today" onClick="clickdate()">${i}</div>`;
|
days += `<div class="today" onClick="clickdate()">${i}</div>`;
|
||||||
|
|
||||||
|
|
|
@ -16,35 +16,51 @@ html {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#suggestions {
|
|
||||||
justify-content: center;
|
|
||||||
background-color: blue;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#isWebBased {
|
#isWebBased {
|
||||||
border-radius: 15px;
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
display: block;
|
||||||
|
margin: 20px auto;
|
||||||
|
text-align: center;
|
||||||
|
border: 2px solid rgb(52, 152, 219);
|
||||||
|
padding: 10px 10px;
|
||||||
|
outline: none;
|
||||||
color: rgba(255, 255, 255, .55);
|
color: rgba(255, 255, 255, .55);
|
||||||
background-color: rgb(18, 18, 18);
|
border-radius: 24px;
|
||||||
border: double;
|
transition: 0.25s;
|
||||||
height: 30px;
|
position: static;
|
||||||
font-weight: bold;
|
bottom: 45vh;
|
||||||
margin: 8px;
|
display: inline;
|
||||||
|
left: 27vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
#gameFil {
|
#gameFil {
|
||||||
border-radius: 15px;
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
display: block;
|
||||||
|
margin: 20px auto;
|
||||||
|
text-align: center;
|
||||||
|
border: 2px solid rgb(52, 152, 219);
|
||||||
|
padding: 10px 10px;
|
||||||
|
outline: none;
|
||||||
color: rgba(255, 255, 255, .55);
|
color: rgba(255, 255, 255, .55);
|
||||||
background-color: rgb(18, 18, 18);
|
border-radius: 24px;
|
||||||
border: double;
|
transition: 0.25s;
|
||||||
height: 30px;
|
position: static;
|
||||||
font-weight: bold;
|
bottom: 45vh;
|
||||||
margin: 8px;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#thumbnailFile {
|
#thumbnailFile {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#thumbnailFile img{
|
||||||
|
width: 100%;
|
||||||
|
height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#description {
|
#description {
|
||||||
|
@ -60,114 +76,12 @@ html {
|
||||||
margin: 20px !important;
|
margin: 20px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jcarousel-wrapper {
|
.GradientDivider {
|
||||||
margin: 20px auto;
|
margin: 16px 0 16px 0;
|
||||||
position: relative;
|
|
||||||
/*border: 10px solid #fff;*/
|
|
||||||
-webkit-border-radius: 5px;
|
|
||||||
-moz-border-radius: 5px;
|
|
||||||
border-radius: 5px;
|
|
||||||
-webkit-box-shadow: 0 0 2px #999;
|
|
||||||
-moz-box-shadow: 0 0 2px #999;
|
|
||||||
box-shadow: 0 0 2px #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Carousel **/
|
|
||||||
|
|
||||||
.jcarousel {
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel ul {
|
|
||||||
width: 10000em;
|
|
||||||
position: relative;
|
|
||||||
list-style: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel li {
|
|
||||||
width: 100%;
|
|
||||||
float: left;
|
|
||||||
border: 1px solid #fff;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel img {
|
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
border: none;
|
||||||
height: auto !important;
|
height: 3px !important;
|
||||||
}
|
background: rgb(0, 113, 185) !important;
|
||||||
|
background: linear-gradient(to right, rgb(18, 18, 18), rgb(0, 113, 185), rgb(38, 171, 255), rgb(0, 113, 185), rgb(18, 18, 18)) !important;
|
||||||
/** Carousel Controls **/
|
|
||||||
|
|
||||||
.jcarousel-control-prev,
|
|
||||||
.jcarousel-control-next {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
margin-top: -15px;
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
text-align: center;
|
|
||||||
background: #4E443C;
|
|
||||||
color: #fff;
|
|
||||||
text-decoration: none;
|
|
||||||
text-shadow: 0 0 1px #000;
|
|
||||||
font: 24px/27px Arial, sans-serif;
|
|
||||||
-webkit-border-radius: 30px;
|
|
||||||
-moz-border-radius: 30px;
|
|
||||||
border-radius: 30px;
|
|
||||||
-webkit-box-shadow: 0 0 4px #F0EFE7;
|
|
||||||
-moz-box-shadow: 0 0 4px #F0EFE7;
|
|
||||||
box-shadow: 0 0 4px #F0EFE7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel-control-prev {
|
|
||||||
left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel-control-next {
|
|
||||||
right: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Carousel Pagination **/
|
|
||||||
|
|
||||||
.jcarousel-pagination {
|
|
||||||
position: absolute;
|
|
||||||
bottom: -40px;
|
|
||||||
left: 50%;
|
|
||||||
-webkit-transform: translate(-50%, 0);
|
|
||||||
-ms-transform: translate(-50%, 0);
|
|
||||||
transform: translate(-50%, 0);
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel-pagination a {
|
|
||||||
text-decoration: none;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 11px;
|
|
||||||
height: 10px;
|
|
||||||
width: 10px;
|
|
||||||
line-height: 10px;
|
|
||||||
background: #fff;
|
|
||||||
color: #4E443C;
|
|
||||||
border-radius: 10px;
|
|
||||||
text-indent: -9999px;
|
|
||||||
margin-right: 7px;
|
|
||||||
-webkit-box-shadow: 0 0 2px #4E443C;
|
|
||||||
-moz-box-shadow: 0 0 2px #4E443C;
|
|
||||||
box-shadow: 0 0 2px #4E443C;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jcarousel-pagination a.active {
|
|
||||||
background: #4E443C;
|
|
||||||
color: #fff;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
-webkit-box-shadow: 0 0 2px #F0EFE7;
|
|
||||||
-moz-box-shadow: 0 0 2px #F0EFE7;
|
|
||||||
box-shadow: 0 0 2px #F0EFE7;
|
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-box-shadow: 0 0 2px #999;
|
-webkit-box-shadow: 0 0 2px #999;
|
||||||
-moz-box-shadow: 0 0 2px #999;
|
-moz-box-shadow: 0 0 2px #999;
|
||||||
box-shadow: 0 0 2px #999;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Carousel **/
|
/** Carousel **/
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
.jcarousel li {
|
.jcarousel li {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
float: left;
|
float: left;
|
||||||
border: 1px solid #fff;
|
/* border: 1px solid #fff;*/
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
Loading…
Reference in New Issue