Updated wireframe & small fixes
parent
2d775d778c
commit
9c40ed2b59
@ -1,77 +1,79 @@
|
|||||||
#headsUp {
|
#headsUp {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
transition: height .3s;
|
transition: height .3s;
|
||||||
background-color: #454752;
|
background-color: #454752;
|
||||||
box-shadow: 0 1px 6px 1px hsla(0, 0%, 0%, 0.4);
|
box-shadow: 0 1px 6px 1px hsla(0, 0%, 0%, 0.4);
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
margin-top: 55px;
|
margin-top: 55px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.welcome {
|
.welcome {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 4.5rem;
|
bottom: 4.5rem;
|
||||||
padding-left: 2.5%;
|
padding-left: 2.5%;
|
||||||
}
|
}
|
||||||
.removeOptions {
|
.removeOptions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
padding-left: 2.5%;
|
padding-left: 2.5%;
|
||||||
}
|
}
|
||||||
.hideHeadsUp {
|
.hideHeadsUp {
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
}
|
|
||||||
.removeHeadsUp {
|
}
|
||||||
cursor: pointer;
|
.removeHeadsUp {
|
||||||
display: inline-block;
|
cursor: pointer;
|
||||||
margin-left: 1rem;
|
display: inline-block;
|
||||||
border-bottom: white 3px dotted;
|
margin-left: 1rem;
|
||||||
}
|
border-bottom: white 3px dotted;
|
||||||
* {
|
}
|
||||||
box-sizing: border-box;
|
* {
|
||||||
}
|
box-sizing: border-box;
|
||||||
body {
|
}
|
||||||
background-color: #212126!important;
|
body {
|
||||||
}
|
background-color: #212126!important;
|
||||||
button {
|
}
|
||||||
border: 0;
|
.rowImg button {
|
||||||
padding: 0;
|
border: 0;
|
||||||
margin-top: 8px!important;
|
padding: 0;
|
||||||
}
|
margin-top: 8px!important;
|
||||||
.gallery {
|
}
|
||||||
margin-top: calc(3rem + 55px);
|
.gallery {
|
||||||
text-align: center;
|
margin-top: calc(3rem + 55px);
|
||||||
font-size: 2vw;
|
text-align: center;
|
||||||
}
|
font-size: 2vw;
|
||||||
.rowImg {
|
}
|
||||||
display: flex;
|
.rowImg {
|
||||||
flex-wrap: wrap;
|
display: flex;
|
||||||
padding: 0 4px;
|
justify-content: center;
|
||||||
margin-top: 3rem;
|
flex-wrap: wrap;
|
||||||
}
|
padding: 0 4px;
|
||||||
.columnImg {
|
margin-top: 3rem;
|
||||||
flex: 33%;
|
}
|
||||||
max-width: 33%;
|
.columnImg {
|
||||||
padding: 0 4px;
|
flex: 33%;
|
||||||
}
|
max-width: 33%;
|
||||||
.columnImg img {
|
padding: 0 4px;
|
||||||
width: 100%;
|
}
|
||||||
}
|
.columnImg img {
|
||||||
@media screen and (min-width:500px) and (max-width:1000px) {
|
width: 100%;
|
||||||
.columnImg {
|
}
|
||||||
flex: 50%;
|
@media screen and (min-width:500px) and (max-width:1000px) {
|
||||||
max-width: 50%;
|
.columnImg {
|
||||||
}
|
flex: 50%;
|
||||||
.gallery {
|
max-width: 50%;
|
||||||
font-size: 3vw;
|
}
|
||||||
}
|
.gallery {
|
||||||
}
|
font-size: 3vw;
|
||||||
@media screen and (min-width:0px) and (max-width:500px) {
|
}
|
||||||
.columnImg {
|
}
|
||||||
flex: 100%;
|
@media screen and (min-width:0px) and (max-width:500px) {
|
||||||
max-width: 100%;
|
.columnImg {
|
||||||
}
|
flex: 100%;
|
||||||
.gallery {
|
max-width: 100%;
|
||||||
font-size: 5vw;
|
}
|
||||||
}
|
.gallery {
|
||||||
}
|
font-size: 5vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,51 +1,51 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>Gallerij</title>
|
<title>Gallerij</title>
|
||||||
<link rel="stylesheet" href="/resources/css/cssall.css">
|
<link rel="stylesheet" href="/resources/css/cssall.css">
|
||||||
<link rel="stylesheet" href="/resources/css/navbar.css">
|
<link rel="stylesheet" href="/resources/css/navbar.css">
|
||||||
<link rel="stylesheet" href="/gallery/css.css">
|
<link rel="stylesheet" href="/gallery/css.css">
|
||||||
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="headsUp">
|
<div id="headsUp">
|
||||||
<div class="welcome">
|
<div class="welcome">
|
||||||
<h5>Welkom bij de Gallerij,</h5>
|
<h5>Welkom bij de Gallerij,</h5>
|
||||||
<h5>Hier staan alle foto's die op deze website gebruikt zijn.</h5>
|
<h5>Hier staan alle foto's die op deze website gebruikt zijn.</h5>
|
||||||
<h5>Er staan ook foto's tussen die ik nog wil gebruiken.</h5>
|
<h5>Er staan ook foto's tussen die ik nog wil gebruiken.</h5>
|
||||||
<h5>Je kan op de foto's klikken om de bron te zien.</h5>
|
<h5>Je kan op de foto's klikken om de bron te zien.</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="removeOptions">
|
<div class="removeOptions">
|
||||||
<button class="hideHeadsUp button" onclick="hideHeadsUp()">Begrepen</button>
|
<button class="hideHeadsUp button" onclick="hideHeadsUp()">Begrepen</button>
|
||||||
<h5 class="removeHeadsUp" onclick="removeHeadsUp()">Laat mij dit niet meer zien</h5>
|
<h5 class="removeHeadsUp" onclick="removeHeadsUp()">Laat mij dit niet meer zien</h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rowImg">
|
<div class="rowImg">
|
||||||
<div class="columnImg">
|
<div class="columnImg">
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/scenic-view-of-rocky-mountain-during-evening-1624438/', '_self')"><img src="/resources/img/mountain.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/scenic-view-of-rocky-mountain-during-evening-1624438/', '_self')"><img src="/resources/img/mountain.jpg" alt="img"></button>
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/close-up-photography-of-leaves-with-droplets-807598/', '_self')"><img src="/resources/img/leaves.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/close-up-photography-of-leaves-with-droplets-807598/', '_self')" class="wide"><img src="/resources/img/leaves.jpg" alt="img"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="columnImg">
|
<div class="columnImg">
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/landscape-photo-of-riverand-pine-trees-2217365/', '_self')"><img src="/resources/img/riverwoods.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/landscape-photo-of-riverand-pine-trees-2217365/', '_self')"><img src="/resources/img/riverwoods.jpg" alt="img"></button>
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/asphalt-dark-dawn-endless-531321/', '_self')"><img src="/resources/img/roadwoods.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/asphalt-dark-dawn-endless-531321/', '_self')" class="wide"><img src="/resources/img/roadwoods.jpg" alt="img"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="columnImg">
|
<div class="columnImg">
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/concrete-road-between-trees-1563356/', '_self')"><img src="/resources/img/roadwoodsred.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/concrete-road-between-trees-1563356/', '_self')" class="wide"><img src="/resources/img/roadwoodsred.jpg" alt="img"></button>
|
||||||
<button onclick="window.open('https://www.pexels.com/photo/silhouette-of-trees-during-sunset-1723637/', '_self')"><img src="/resources/img/sunset.jpg" alt="img"></button>
|
<button onclick="window.open('https://www.pexels.com/photo/silhouette-of-trees-during-sunset-1723637/', '_self')"><img src="/resources/img/sunset.jpg" alt="img"></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/gallery/js.js"></script>
|
<script src="/gallery/js.js"></script>
|
||||||
<script src="/resources/js/navbar.json.js"></script>
|
<script src="/resources/js/navbar.json.js"></script>
|
||||||
<script src="/resources/js/insertNavbar.js"></script>
|
<script src="/resources/js/insertNavbar.js"></script>
|
||||||
<script src="/resources/js/javall.js"></script>
|
<script src="/resources/js/javall.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
var d = document.getElementById.bind(document);
|
var d = document.getElementById.bind(document);
|
||||||
var g = document.querySelector.bind(document);
|
var g = document.querySelector.bind(document);
|
||||||
|
|
||||||
if (localStorage.getItem("showHeadsUpGallery") == undefined) {
|
if (localStorage.getItem("showHeadsUpGallery") == undefined) {
|
||||||
d("headsUp").style.visibility = "visible"
|
d("headsUp").style.visibility = "visible"
|
||||||
d("headsUp").style.height = "13rem"
|
d("headsUp").style.height = "13rem"
|
||||||
}
|
}
|
||||||
function hideHeadsUp() {
|
function hideHeadsUp() {
|
||||||
d("headsUp").style.height = "0"
|
d("headsUp").style.height = "0"
|
||||||
}
|
}
|
||||||
function removeHeadsUp() {
|
function removeHeadsUp() {
|
||||||
hideHeadsUp();
|
hideHeadsUp();
|
||||||
localStorage.setItem("showHeadsUpGallery", "1")
|
localStorage.setItem("showHeadsUpGallery", "1")
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 198 KiB |
@ -1,21 +1,21 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>Wireframe</title>
|
<title>Wireframe</title>
|
||||||
<link rel="stylesheet" href="/resources/css/cssall.css">
|
<link rel="stylesheet" href="/resources/css/cssall.css">
|
||||||
<link rel="stylesheet" href="/resources/css/navbar.css">
|
<link rel="stylesheet" href="/resources/css/navbar.css">
|
||||||
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body style="padding-top:55px;">
|
<body style="padding-top:55px;">
|
||||||
<img src="/resources/img/wireframe.png" alt="wireframe">
|
<img src="/resources/img/wireframe.png" alt="wireframe">
|
||||||
|
|
||||||
<script src="/resources/js/navbar.json.js"></script>
|
<script src="/resources/js/navbar.json.js"></script>
|
||||||
<script src="/resources/js/insertNavbar.js"></script>
|
<script src="/resources/js/insertNavbar.js"></script>
|
||||||
<script src="/resources/js/javall.js"></script>
|
<script src="/resources/js/javall.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in new issue