This commit is contained in:
parent
1cfa2b66c3
commit
ca9d254390
@ -2,6 +2,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.png" />
|
||||
<link rel="stylesheet" href="/styles/404style.css" type="text/css">
|
||||
<title>404</title>
|
||||
<script
|
||||
async
|
||||
@ -19,8 +21,6 @@
|
||||
</svelte:head>
|
||||
|
||||
<body>
|
||||
<h1>404</h1>
|
||||
<h2>oisann her gikk det noe galt.</h2>
|
||||
<h4><a href<a href="/">gå til hjem siden.</a></h4>
|
||||
<img src="https://herremann.ga/sadbanana.png" alt="sad banana" />
|
||||
<h1><a href="/">gå til hjem siden.</a></h1>
|
||||
<img src="https://http.cat/images/404.jpg" alt="where the cat go?" class="center"/>
|
||||
</body>
|
||||
|
||||
@ -3,36 +3,23 @@
|
||||
<title>Mine fine bilder</title>
|
||||
<script src="/js/portfolio-script.js"></script>
|
||||
<!-- Alltid load CSS'en din etter javascript'en. -->
|
||||
<link rel="stylesheet" href="/styles/portfolio-style.css">
|
||||
<link rel="stylesheet" href="/styles/portfolio.css">
|
||||
</svelte:head>
|
||||
<script>
|
||||
import Gallery from 'svelte-gallery';
|
||||
|
||||
const images = [
|
||||
{ src: '/img/portfolio/image-previews/v1wb362q.jpg', alt: 'Høyspenning livsfare skilt', width: 600, height: 400 },
|
||||
{ src: '/img/portfolio/image-previews/lumwy9w.jpg', alt: 'Image 4', width: 400},
|
||||
{ src: '/img/portfolio/image-previews/y69h9a2d.jpg', alt: 'Image 5', width: 8000},
|
||||
{ src: '/img/portfolio/image-previews/d8g4zbf2.jpg', alt: 'Image 6', width: 300},
|
||||
{ src: '/img/portfolio/image-previews/s0nb4jkf.jpg', alt: 'Image 7', width: 600},
|
||||
{ src: '/img/portfolio/image-previews/0xflutoo.jpg', alt: 'Image 8', width: 400},
|
||||
{ src: '/img/portfolio/image-previews/c8z9ste.jpg', alt: 'Image 9', width: 800},
|
||||
{ src: '/img/portfolio/image-previews/u3g4k04.jpg', alt: 'Image 7', width: 300}
|
||||
];
|
||||
</script>
|
||||
|
||||
<h1>hællæ</h1>
|
||||
<div class="grid-container">
|
||||
<div class="grid-item">
|
||||
<img src="https://cdn.discordapp.com/attachments/615071150317502464/992779974962597958/DSC08260.JPG" alt="Image 1" data-fullsize="https://cdn.discordapp.com/attachments/615071150317502464/992779974962597958/DSC08260.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/v1wb362q.jpg" alt="Image 2" data-fullsize="https://pomf2.lain.la/f/v1wb362q.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/lumwy9w.jpg" alt="Image 4" data-fullsize="https://pomf2.lain.la/f/lumwy9w.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/y69h9a2d.jpg" alt="Image 5" data-fullsize="https://pomf2.lain.la/f/y69h9a2d.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/d8g4zbf2.jpg" alt="Image 6" data-fullsize="https://pomf2.lain.la/f/d8g4zbf2.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/s0nb4jkf.jpg" alt="Image 7" data-fullsize="https://pomf2.lain.la/f/s0nb4jkf.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/0xflutoo.jpg" alt="Image 8" data-fullsize="https://pomf2.lain.la/f/0xflutoo.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/c8z9ste.jpg" alt="Image 9" data-fullsize="https://pomf2.lain.la/f/c8z9ste.JPG">
|
||||
</div>
|
||||
<div class="grid-item">
|
||||
<img src="/img/portfolio/image-previews/u3g4k04.jpg" alt="Image 7" data-fullsize="https://pomf2.lain.la/f/5gwwf8ia.jpg">
|
||||
</div>
|
||||
</div>
|
||||
<Gallery {images} />
|
||||
|
||||
|
||||
73
static/styles/404style.css
Normal file
73
static/styles/404style.css
Normal file
@ -0,0 +1,73 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
background-color: #000000;
|
||||
color: #ffffff;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.lineheight1em {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #000000;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 48px;
|
||||
margin: 50px;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: 'Monstserrat', sans-serif;
|
||||
margin-top: -50px;
|
||||
padding-left: 75px;
|
||||
}
|
||||
|
||||
p a:link {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
p a:visited {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
p a:hover {
|
||||
color: darkgray;
|
||||
}
|
||||
|
||||
p a:active {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
h1 a:link {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
h1 a:visited {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
h1 a:hover {
|
||||
color: darkgray;
|
||||
}
|
||||
|
||||
h1 a:active {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
||||
@ -34,41 +34,3 @@ p a:hover {
|
||||
p a:active {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 20px;
|
||||
grid-auto-flow: dense;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.grid-item img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.enlarged {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.enlarged img {
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
}
|
||||
@ -48,3 +48,19 @@ p a:hover {
|
||||
p a:active {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
h1 a:link {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
h1 a:visited {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
h1 a:hover {
|
||||
color: darkgray;
|
||||
}
|
||||
|
||||
h1 a:active {
|
||||
color: gray;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user