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