-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Advent of GIS (AoG 2023)</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway"> | ||
<style> | ||
body,h1 {font-family: "Raleway", sans-serif} | ||
body, html {height: 100%} | ||
.bgimg { | ||
background-image: url('./aog2023_santa2.png'); | ||
/*filter: brightness(50%);*/ | ||
min-height: 100%; | ||
background-position: center; | ||
background-size: cover; | ||
} | ||
|
||
.text { | ||
background-color: red; | ||
filter: brightness(150%); | ||
} | ||
|
||
.snow { | ||
background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.3%3Bfill:%23FFFFFF%3B%7D.st3%7Bopacity:0.1%3Bfill:%23FFFFFF%3B%7D%3C/style%3E%3Ccircle class='st1' cx='5' cy='8' r='1'/%3E%3Ccircle class='st1' cx='38' cy='3' r='1'/%3E%3Ccircle class='st1' cx='12' cy='4' r='1'/%3E%3Ccircle class='st1' cx='16' cy='16' r='1'/%3E%3Ccircle class='st1' cx='47' cy='46' r='1'/%3E%3Ccircle class='st1' cx='32' cy='10' r='1'/%3E%3Ccircle class='st1' cx='3' cy='46' r='1'/%3E%3Ccircle class='st1' cx='45' cy='13' r='1'/%3E%3Ccircle class='st1' cx='10' cy='28' r='1'/%3E%3Ccircle class='st1' cx='22' cy='35' r='1'/%3E%3Ccircle class='st1' cx='3' cy='21' r='1'/%3E%3Ccircle class='st1' cx='26' cy='20' r='1'/%3E%3Ccircle class='st1' cx='30' cy='45' r='1'/%3E%3Ccircle class='st1' cx='15' cy='45' r='1'/%3E%3Ccircle class='st1' cx='34' cy='36' r='1'/%3E%3Ccircle class='st1' cx='41' cy='32' r='1'/%3E%3C/svg%3E"); | ||
background-position: 0px 0px; | ||
animation: animatedBackground 10s linear infinite; | ||
} | ||
|
||
.snow div { | ||
width: 100%; | ||
height: 100%; | ||
background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.7%3Bfill:%23FFFFFF%3B%7D.st3%7Bopacity:0.1%3Bfill:%23FFFFFF%3B%7D%3C/style%3E%3Ccircle class='st3' cx='4' cy='14' r='1'/%3E%3Ccircle class='st3' cx='43' cy='3' r='1'/%3E%3Ccircle class='st3' cx='31' cy='30' r='2'/%3E%3Ccircle class='st3' cx='19' cy='23' r='1'/%3E%3Ccircle class='st3' cx='37' cy='22' r='1'/%3E%3Ccircle class='st3' cx='43' cy='16' r='1'/%3E%3Ccircle class='st3' cx='8' cy='45' r='1'/%3E%3Ccircle class='st3' cx='29' cy='39' r='1'/%3E%3Ccircle class='st3' cx='13' cy='37' r='1'/%3E%3Ccircle class='st3' cx='47' cy='32' r='1'/%3E%3Ccircle class='st3' cx='15' cy='4' r='2'/%3E%3Ccircle class='st3' cx='9' cy='27' r='1'/%3E%3Ccircle class='st3' cx='30' cy='9' r='1'/%3E%3Ccircle class='st3' cx='25' cy='15' r='1'/%3E%3Ccircle class='st3' cx='21' cy='45' r='2'/%3E%3Ccircle class='st3' cx='42' cy='45' r='1'/%3E%3C/svg%3E"); | ||
background-position: 0px 0px; | ||
animation: animatedBackground 15s linear infinite; | ||
} | ||
|
||
@keyframes animatedBackground { | ||
0% { | ||
background-position: 0 0; | ||
} | ||
100% { | ||
background-position: 0px 300px; | ||
} | ||
} | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
|
||
<div class="bgimg w3-display-container w3-animate-opacity w3-text-white"> | ||
<div class="w3-display-topleft w3-padding-large w3-xlarge"> | ||
|
||
</div> | ||
<div class="w3-display-middle text snow"> | ||
<h1 class="w3-jumbo w3-animate-top">Advent of GIS 2023</h1> | ||
<hr class="w3-border-grey" style="margin:auto;width:40%"> | ||
<p class="w3-large w3-center" id="luke">Første luke åpnes 1. desember</p> | ||
</div> | ||
<div class="w3-display-bottomleft w3-padding-large"> | ||
Powered by <a href="https://www.norkart.no" target="_blank">Norkart</a> | ||
</div> | ||
</div> | ||
|
||
|
||
<script> | ||
(function() { | ||
let y = new Date().getFullYear(); | ||
let m = new Date().getMonth(); | ||
var d = new Date().getDate(); | ||
d = String(d).padStart(2, '0'); | ||
var txt = "Første luke åpnes 1. desember"; | ||
if(m != 12 || d > 24) { | ||
return; | ||
} | ||
let link = '<a href="https://github.com/Norkart/AdventOfGIS/tree/'+y+'/'+d+'">' | ||
document.getElementById("luke").innerHTML = link + "Luke " + d + " er åpnet!</a>"; | ||
})() | ||
</script> | ||
|
||
|
||
</body> | ||
</html> |
Binary file not shown.