This commit is contained in:
2019-09-07 16:28:12 +02:00
parent 1ba5e27263
commit 414d0ec9b7
12 changed files with 48 additions and 24 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+29 -15
View File
@@ -15,6 +15,7 @@ body {
background-size: cover; background-size: cover;
text-align: center; text-align: center;
color: white; color: white;
} }
.container-fluid { .container-fluid {
@@ -26,6 +27,7 @@ body {
padding: 1vw; padding: 1vw;
width: 100vw; width: 100vw;
position: fixed; position: fixed;
overflow: auto;
} }
h1 { h1 {
@@ -47,7 +49,7 @@ h2 {
.outer-div { .outer-div {
padding: 10px; padding: 10px;
display: table; display: table;
max-width: 700px; max-width: max-content;
align-self: center; align-self: center;
max-height: 700px; max-height: 700px;
position: relative; position: relative;
@@ -57,9 +59,9 @@ h2 {
} }
.inner-div { .inner-div {
-webkit-text-fill-color: white; -webkit-text-fill-color: white;
-webkit-text-stroke-width: 2px; -webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: black; -webkit-text-stroke-color: black;
background-color: orange; background-color: dimgray;
opacity: 0.8; opacity: 0.8;
align-content: space-around; align-content: space-around;
left: 40%; left: 40%;
@@ -70,7 +72,7 @@ h2 {
margin: 3vw; margin: 3vw;
size: initial; size: initial;
text-align: center; text-align: center;
max-width: 80%; max-width: max-content;
letter-spacing: 3px; letter-spacing: 3px;
line-height: 1.8; line-height: 1.8;
cursor: pointer; cursor: pointer;
@@ -80,22 +82,31 @@ h2 {
position: fixed; position: fixed;
left: 3vw; left: 3vw;
bottom: 0; bottom: 0;
max-width: 50%; max-width: max-content;
text-align: justify; text-align: justify;
height: 60px; height: 60px;
line-height: 60px; line-height: 60px;
font-size: 10px; font-size: 10px;
} }
@font-face { @font-face {
font-family: "Aldo the Apache"; font-family: "Aldo the Apache",sans-serif;
src: url("font/AldotheApache.woff") format("woff"); src: url("css/font/AldotheApache.ttf");
src: url("font/AldotheApache.ttf") format("ttf"); src: url("css/font/AldotheApache.eot") format("eot"),
url("css/font/AldotheApache.otf") format("otf"),
url("css/font/AldotheApache.woff") format("woff");
} }
@font-face { @font-face {
font-family: "eyelevation6"; font-family: "eyelevation6",sans-serif;
src: url("font/eyelevation6.woff") format("woff"); src: url("css/font/eyelevation6.eot");
src: url("font/eyelevation6.ttf") format("ttf"); src: url("css/font/eyelevation6.ttf") format("ttf"),
url("css/font/eyelevation6.otf") format("otf"),
url("css/font/eyelevation6.woff") format("woff");
} }
/* The Overlay (background) */ /* The Overlay (background) */
@@ -127,9 +138,9 @@ h2 {
.overlay a { .overlay a {
padding: 8px; padding: 8px;
text-decoration: none; text-decoration: none;
font-size: 36px; font-size: 3vmax;
color: #818181; color: #818181;
display: block; /* Display block instead of inline */ display: inline-flex; /* Display block instead of inline */
transition: 0.3s; /* Transition effects on hover (color) */ transition: 0.3s; /* Transition effects on hover (color) */
} }
@@ -148,7 +159,7 @@ h2 {
} }
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */ /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-width: 600px) { @media screen and (max-height: 450px) {
.overlay a { .overlay a {
font-size: 20px; font-size: 20px;
} }
@@ -173,14 +184,17 @@ h2 {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
} }
i { .contactDetails > i {
font-size: 3vw; font-size: 3vw;
color: white; color: white;
} }
ul { ul {
list-style: none; list-style: none;
text-align: left; text-align: left;
width: min-content;
} }
#mapContainer { #mapContainer {
+2 -2
View File
@@ -20,11 +20,11 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-md-4 outer-div"> <div class="col-sm-4 outer-div" style="font-family: 'Aldo the Apache'">
<h1 style="font-family: 'Aldo the Apache'">Welcome</h1> <h1 style="font-family: 'Aldo the Apache'">Welcome</h1>
<h2 style="font-family: 'Aldo the Apache'">to the fun side</h2> <h2 style="font-family: 'Aldo the Apache'">to the fun side</h2>
</div> </div>
<div class="col-md-8 outer-div"> <div class="col-sm-8 outer-div">
<div onclick="openNav1(TheSquare)" class="row inner-div" style="font-family: 'Aldo the Apache'"> <div onclick="openNav1(TheSquare)" class="row inner-div" style="font-family: 'Aldo the Apache'">
The Square The Square
</div> </div>
+13 -3
View File
@@ -15,7 +15,13 @@ function clamp(e, a, t) { return Math.min(Math.max(e, a), t) }
function isInArray(e, a) { return a.indexOf(e) > -1 } var pJS = function (e, a) { function isInArray(e, a) { return a.indexOf(e) > -1 } var pJS = function (e, a) {
var t = document.querySelector("#" + e + " > .particles-js-canvas-el"); var t = document.querySelector("#" + e + " > .particles-js-canvas-el");
this.pJS = { this.pJS = {
canvas: { el: t, w: t.offsetWidth, h: t.offsetHeight }, _canvas: { el: t, w: t.offsetWidth, h: t.offsetHeight },
get canvas() {
return this._canvas;
},
set canvas(value) {
this._canvas = value;
},
particles: { particles: {
number: { value: 400, density: { enable: !0, value_area: 800 } }, color: { value: "#fff" }, shape: { number: { value: 400, density: { enable: !0, value_area: 800 } }, color: { value: "#fff" }, shape: {
type: "circle", type: "circle",
@@ -246,7 +252,7 @@ Object.deepExtend = function (e, a) {
for (var t in a) a[t] && a[t].constructor && a[t].constructor === Object ? (e[t] = e[t] || {}, arguments.callee(e[t], a[t])) : e[t] = a[t]; for (var t in a) a[t] && a[t].constructor && a[t].constructor === Object ? (e[t] = e[t] || {}, arguments.callee(e[t], a[t])) : e[t] = a[t];
return e return e
}, window.requestAnimFrame = function () { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (e) { window.setTimeout(e, 1e3 / 60) } }(), window.cancelRequestAnimFrame = function () { return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelRequestAnimationFrame || window.oCancelRequestAnimationFrame || window.msCancelRequestAnimationFrame || clearTimeout }(), window.pJSDom = [], window.particlesJS = function (e, a) { }, window.requestAnimFrame = function () { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (e) { window.setTimeout(e, 1e3 / 60) } }(), window.cancelRequestAnimFrame = function () { return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelRequestAnimationFrame || window.oCancelRequestAnimationFrame || window.msCancelRequestAnimationFrame || clearTimeout }(), window.pJSDom = [], window.particlesJS = function (e, a) {
"string" != typeof e && (a = e, e = "particles-js"), e || (e = "particles-js"); "string" != typeof e && (a = e, e = newFunction()), e || (e = "particles-js");
var t = document.getElementById(e), i = "particles-js-canvas-el", s = t.getElementsByClassName(i); var t = document.getElementById(e), i = "particles-js-canvas-el", s = t.getElementsByClassName(i);
if (s.length) for (; s.length > 0;)t.removeChild(s[0]); var n = document.createElement("canvas"); if (s.length) for (; s.length > 0;)t.removeChild(s[0]); var n = document.createElement("canvas");
n.className = i, n.style.width = "100%", n.style.height = "100%"; n.className = i, n.style.width = "100%", n.style.height = "100%";
@@ -260,4 +266,8 @@ Object.deepExtend = function (e, a) {
window.particlesJS(e, s), t && t() window.particlesJS(e, s), t && t()
} else console.log("Error pJS - XMLHttpRequest status: " + i.status), console.log("Error pJS - File config not found") } else console.log("Error pJS - XMLHttpRequest status: " + i.status), console.log("Error pJS - File config not found")
}, i.send() }, i.send()
}; };
function newFunction() {
return "particles-js";
}
+4 -4
View File
@@ -36,7 +36,7 @@ particlesJS('particles-js',
} }
}, },
"color": { "color": {
"value": "#ffffff" "value": "random"
}, },
"shape": { "shape": {
"type": "polygon", "type": "polygon",
@@ -59,7 +59,7 @@ particlesJS('particles-js',
} }
}, },
"size": { "size": {
"value": 10, "value": 20,
"random": true, "random": true,
"anim": { "anim": {
"enable": false, "enable": false,
@@ -81,7 +81,7 @@ particlesJS('particles-js',
"direction": "none", "direction": "none",
"random": false, "random": false,
"straight": false, "straight": false,
"out_mode": "out", "out_mode": "bounce",
"attract": { "attract": {
"enable": false, "enable": false,
"rotateX": 600, "rotateX": 600,
@@ -117,7 +117,7 @@ particlesJS('particles-js',
"speed": 3 "speed": 3
}, },
"repulse": { "repulse": {
"distance": 200 "distance": 100
}, },
"push": { "push": {
"particles_nb": 4 "particles_nb": 4