Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperMarcus committed Oct 28, 2016
0 parents commit 93e84e7
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 0 deletions.
72 changes: 72 additions & 0 deletions assets/css/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
body{
background: #000000;
background-size: cover;
margin: 0 auto;
text-align: center;
align-content: center;
}

#container{
margin: 0 auto;
text-align: center;
align-content: center;
font-family: Helvetica, sans-serif;
color: #ffffff;
}

#title-container{
margin: 20% auto 0;
width: 80%;
max-width: 500px;
display: none;
}

#bk-mask{
z-index: -1;
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
opacity: 0.6;
display: none;
background: #000000;
padding-top: 20%;
}

footer{
bottom: 10px;
width: 100%;
text-align: center;
position: fixed;
display: none;
}

hr{
width: 80%;
border: 0;
height: 1px;
background: #ffffff linear-gradient(to right, #c7c7c7, #ffffff, #C7C7C7);
}

a{color: #ffffff;}
a:link {color: #ffffff; text-decoration:none;}
a:active {
color: #cfcfcf;
text-decoration:none;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
}
a:visited {color: #ffffff; text-decoration:none;}
a:hover {
color: #cfcfcf;
text-decoration:none;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
}
Binary file added assets/images/gds_media_center_outside.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions assets/script/global.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
(function($){
$(document).ready(function(){
var background = new Image();
var bkMask = $("#bk-mask");
var titleContainer = $("#title-container");
var footer = $("footer");
background.src = "/assets/images/gds_media_center_outside.jpg";
background.onload = function(){
bkMask.css('background', "url('"+background.src+"')");
bkMask.css('background-size', "cover");
bkMask.fadeIn(2000);
};
titleContainer.fadeIn(1000);
footer.fadeIn(3000);
});
})(jQuery);
4 changes: 4 additions & 0 deletions assets/script/jquery.min.js

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Clubs | Greensboro Day School</title>
<meta name="viewport" content="initial-scale=1.0; user-scalable=no; width=320;">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" type="text/css" href="/assets/css/global.css">
<script src="/assets/script/jquery.min.js"></script>
<script src="/assets/script/global.js"></script>
</head>
<body>
<div id="bk-mask"></div>
<div id="container">
<noscript><h5>JavaScript is require on this page</h5></noscript>
<div id="title-container">
<h1>Clubs at Greensboro Day School</h1>
<hr>
<p>Contact Marcus to add your club to this domain</p>
</div>
<footer>
<p><a href="https://github.com/GreensboroDaySchool">Github Repositories</a></p>
</footer>
</div>
</body>
</html>

0 comments on commit 93e84e7

Please sign in to comment.