Add intial site layout, basic css, page structure, etc
This commit is contained in:
parent
bafbd720b0
commit
257e347799
126
css/style.css
Normal file
126
css/style.css
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
html {
|
||||||
|
height: 100%;
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
font-family: Verdana, Helvetica, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: all 0.1s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: 3px 3px 10px #fff, -3px -3px 10px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#background-image {
|
||||||
|
background-image: url("https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg");
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
-webkit-background-size: cover;
|
||||||
|
-moz-background-size: cover;
|
||||||
|
-o-background-size: cover;
|
||||||
|
|
||||||
|
filter: blur(6px);
|
||||||
|
-webkit-filter: blur(6px);
|
||||||
|
|
||||||
|
position: fixed;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: 3px 3px 5px #000, -3px -3px 5px #000;
|
||||||
|
font-weight: bold;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
padding: 1em;
|
||||||
|
|
||||||
|
max-width: 50em;
|
||||||
|
background-color: rgba(255, 255, 255, 0.2);
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: rgba(255, 255, 255, 0);
|
||||||
|
border-radius: 128px;
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logo {
|
||||||
|
margin: auto;
|
||||||
|
margin-top: -10em;
|
||||||
|
max-width: 50%;
|
||||||
|
min-width: 30%;
|
||||||
|
display: block;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: rgba(255, 255, 255, 0);
|
||||||
|
border-radius: 50%;
|
||||||
|
border-width: 5px;
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content p {
|
||||||
|
margin: 2em;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.buttons {
|
||||||
|
list-style: none;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-top: 3em;
|
||||||
|
margin-bottom: 4em;
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.buttons li {
|
||||||
|
display: inline;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 0.5em;
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-youtube:hover {
|
||||||
|
text-shadow: 0px 0px 5px #fff,
|
||||||
|
-3px -3px 7px #ff0000,
|
||||||
|
-3px 3px 7px #ff0000,
|
||||||
|
3px -3px 7px #ff0000,
|
||||||
|
3px 3px 7px #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-instagram:hover {
|
||||||
|
text-shadow: 0px 0px 5px #fff,
|
||||||
|
-3px -3px 7px #5851db,
|
||||||
|
-3px 3px 7px #fd1d1d,
|
||||||
|
3px -3px 7px #c13584,
|
||||||
|
3px 3px 7px #ffdc80;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-twitter:hover {
|
||||||
|
text-shadow: 0px 0px 5px #fff,
|
||||||
|
-3px -3px 7px #1da1f2,
|
||||||
|
-3px 3px 7px #1da1f2,
|
||||||
|
3px -3px 7px #1da1f2,
|
||||||
|
3px 3px 7px #1da1f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
70
index.html
Normal file
70
index.html
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<!-- Web crawler and search indexing meta -->
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<meta name="author" content="admin@allaroundhere.org"/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
<meta name="keywords" content=""/>
|
||||||
|
|
||||||
|
<title>AllAroundHere</title>
|
||||||
|
<link rel="shortcut icon" href="https://cdn.enp.one/img/logos/e-b-sm.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.enp.one/img/logos/e-b-sm.png">
|
||||||
|
<link rel="icon" type="image/png" href="https://cdn.enp.one/img/logos/e-b-sm.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://cdn.enp.one/img/logos/e-b-sm.png" sizes="16x16">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/custom.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="setBackground()">
|
||||||
|
<div id="background-image"></div>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<img id="logo" src="https://cdn.enp.one/img/logos/aah-md.jpg"/>
|
||||||
|
|
||||||
|
<h1>AllAroundHere</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<span class="tape-over">
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
|
||||||
|
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
|
||||||
|
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
|
||||||
|
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
||||||
|
culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul class="buttons">
|
||||||
|
<li>
|
||||||
|
<a class="button-youtube" href="https://www.youtube.com/channel/UCnJum8qCKlz36SzSsSeZy1w">
|
||||||
|
<i class="fab fa-youtube"></i>
|
||||||
|
Youtube
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="button-instagram" href="https://www.instagram.com/allaroundhere/">
|
||||||
|
<i class="fab fa-instagram"></i>
|
||||||
|
Instagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="button-twitter" href="https://twitter.com/AllAroundHere1">
|
||||||
|
<i class="fab fa-twitter"></i>
|
||||||
|
Twitter
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
©2020
|
||||||
|
<a href="https://enpaul.net/" target="_blank">E.N.Paul</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
32
js/custom.js
Normal file
32
js/custom.js
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
// Some quick scripting to select a random background on page load
|
||||||
|
|
||||||
|
const BACKGROUND_IMAGES = [
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-allis.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-boston.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-denver.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-geese.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-hotel.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-lawrencedam.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-letchworth.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-library.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-lighthouse.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-mbta.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-rockyshore.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-rt112.jpg",
|
||||||
|
"https://cdn.enp.one/img/backgrounds/cl-photo-startrek.jpg",
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
function selectBackground() {
|
||||||
|
let max = BACKGROUND_IMAGES.length - 1
|
||||||
|
let min = 0;
|
||||||
|
index = Math.round(Math.random() * (max - min) + min);
|
||||||
|
console.log("Loading background #" + index + ": " + BACKGROUND_IMAGES[index]);
|
||||||
|
return BACKGROUND_IMAGES[index];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function setBackground() {
|
||||||
|
let ref = document.getElementById("background-image");
|
||||||
|
ref.style.backgroundImage = "url(" + selectBackground() + ")";
|
||||||
|
}
|
9
robots.txt
Normal file
9
robots.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Allow all bots
|
||||||
|
User-agent: *
|
||||||
|
|
||||||
|
# Disallow access to non-content directories
|
||||||
|
Disallow: /_error
|
||||||
|
Disallow: /css
|
||||||
|
Disallow: /js
|
||||||
|
|
||||||
|
Sitemap: https://allaroundhere.org/sitemap.xml
|
Loading…
Reference in New Issue
Block a user