changed background to something better

This commit is contained in:
Paoda 2016-09-24 17:29:14 -05:00
parent 105d065db7
commit 8c0966b445
4 changed files with 124 additions and 120 deletions

View File

@ -2,21 +2,26 @@
* Globals * Globals
*/ */
/* Links */ /* Links */
a, a,
a:focus, a:focus,
a:hover { a:hover {
color: #fff; color: #fff;
} }
/* Custom default button */ /* Custom default button */
.btn-secondary, .btn-secondary,
.btn-secondary:hover, .btn-secondary:hover,
.btn-secondary:focus { .btn-secondary:focus {
color: #333; color: #333;
text-shadow: none; /* Prevent inheritance from `body` */ text-shadow: none;
background-color: #fff; /* Prevent inheritance from `body` */
border: .05rem solid #fff; background-color: #fff;
border: .05rem solid #fff;
} }
@ -26,36 +31,48 @@ a:hover {
html, html,
body { body {
height: 100%; height: 100%;
background-color: #333; background-image: url("https://my.mixtape.moe/zobucp.jpg");
background-position: center;
background-attachment: fixed;
background-size: cover;
} }
body { body {
color: #fff; color: #fff;
text-align: center; text-align: center;
text-shadow: 0 .05rem .1rem rgba(0,0,0,.5); text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
} }
/* Extra markup and styles for table-esque vertical and horizontal centering */ /* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper { .site-wrapper {
display: table; display: table;
width: 100%; width: 100%;
height: 100%; /* For at least Firefox */ height: 100%;
min-height: 100%; /* For at least Firefox */
-webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5); min-height: 100%;
box-shadow: inset 0 0 5rem rgba(0,0,0,.5); -webkit-box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
} box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
.site-wrapper-inner {
display: table-cell;
vertical-align: top;
}
.cover-container {
margin-right: auto;
margin-left: auto;
} }
.site-wrapper-inner {
display: table-cell;
vertical-align: top;
}
.cover-container {
margin-right: auto;
margin-left: auto;
}
/* Padding for spacing */ /* Padding for spacing */
.inner { .inner {
padding: 2rem; padding: 2rem;
} }
@ -64,42 +81,42 @@ body {
*/ */
.masthead { .masthead {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
.masthead-brand { .masthead-brand {
margin-bottom: 0; margin-bottom: 0;
} }
.nav-masthead .nav-link { .nav-masthead .nav-link {
padding: .25rem 0; padding: .25rem 0;
font-weight: bold; font-weight: bold;
color: rgba(255,255,255,.5); color: rgba(255, 255, 255, .5);
background-color: transparent; background-color: transparent;
border-bottom: .25rem solid transparent; border-bottom: .25rem solid transparent;
} }
.nav-masthead .nav-link:hover, .nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus { .nav-masthead .nav-link:focus {
border-bottom-color: rgba(255,255,255,.25); border-bottom-color: rgba(255, 255, 255, .25);
} }
.nav-masthead .nav-link + .nav-link { .nav-masthead .nav-link + .nav-link {
margin-left: 1rem; margin-left: 1rem;
} }
.nav-masthead .active { .nav-masthead .active {
color: #fff; color: #fff;
border-bottom-color: #fff; border-bottom-color: #fff;
} }
@media (min-width: 48em) { @media (min-width: 48em) {
.masthead-brand { .masthead-brand {
float: left; float: left;
} }
.nav-masthead { .nav-masthead {
float: right; float: right;
} }
} }
@ -108,11 +125,12 @@ body {
*/ */
.cover { .cover {
padding: 0 1.5rem; padding: 0 1.5rem;
} }
.cover .btn-lg { .cover .btn-lg {
padding: .75rem 1.25rem; padding: .75rem 1.25rem;
font-weight: bold; font-weight: bold;
} }
@ -121,7 +139,7 @@ body {
*/ */
.mastfoot { .mastfoot {
color: rgba(255,255,255,.5); color: rgba(255, 255, 255, .5);
} }
@ -130,31 +148,32 @@ body {
*/ */
@media (min-width: 40em) { @media (min-width: 40em) {
/* Pull out the header and footer */ /* Pull out the header and footer */
.masthead { .masthead {
position: fixed; position: fixed;
top: 0; top: 0;
} }
.mastfoot { .mastfoot {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
} }
/* Start the vertical centering */ /* Start the vertical centering */
.site-wrapper-inner { .site-wrapper-inner {
vertical-align: middle; vertical-align: middle;
} }
/* Handle the widths */ /* Handle the widths */
.masthead, .masthead,
.mastfoot, .mastfoot,
.cover-container { .cover-container {
width: 100%; /* Must be percentage or pixels for horizontal alignment */ width: 100%;
} /* Must be percentage or pixels for horizontal alignment */
}
} }
@media (min-width: 62em) { @media (min-width: 62em) {
.masthead, .masthead,
.mastfoot, .mastfoot,
.cover-container { .cover-container {
width: 42rem; width: 42rem;
} }
} }

2
Dependencies/credits.txt vendored Normal file
View File

@ -0,0 +1,2 @@
<div>Icons made by <a href="http://www.flaticon.com/authors/madebyoliver" title="Madebyoliver">Madebyoliver</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>

BIN
Dependencies/icons/favicon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -1,71 +1,54 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content=""> <meta name="description" content="Photography">
<meta name="author" content=""> <meta name="author" content="Rekai Musuka, Harrison Deng">
<link rel="icon" href="../../favicon.ico"> <link rel="icon" href="Dependencies/icons/favicon.png">
<title>Digital Photography</title>
<title>Cover Template for Bootstrap</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="Dependencies/CSS/bootstrap.min.css" rel="stylesheet"> <link href="Dependencies/CSS/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template --> <!-- Custom styles for this template -->
<link href="Dependencies/CSS/cover.css" rel="stylesheet"> <link href="Dependencies/CSS/cover.css" rel="stylesheet"> </head>
</head>
<body>
<body>
<div class="site-wrapper"> <div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="site-wrapper-inner"> <div class="cover-container">
<div class="masthead clearfix">
<div class="cover-container"> <div class="inner">
<h3 class="masthead-brand">Photo Atlas</h3>
<div class="masthead clearfix"> <nav class="nav nav-masthead"> <a class="nav-link active" href="#">Home</a> <a class="nav-link" href="#">Rekai</a> <a class="nav-link" href="#">Harrison</a> </nav>
<div class="inner"> </div>
<h3 class="masthead-brand">Cover</h3> </div>
<nav class="nav nav-masthead"> <div class="inner cover">
<a class="nav-link active" href="#">Home</a> <h1 class="cover-heading">Digital Photography</h1>
<a class="nav-link" href="#">Features</a> <p class="lead">Harrison's and Rekai's collection of wonderful moments captured with their expertise and eye for detail.</p>
<a class="nav-link" href="#">Contact</a> <p class="lead"> <a href="#" class="btn btn-lg btn-secondary">Learn more</a> </p>
</nav> </div>
<div class="mastfoot">
<div class="inner">
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
</div>
</div>
</div> </div>
</div>
<div class="inner cover">
<h1 class="cover-heading">Cover your page.</h1>
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
<p class="lead">
<a href="#" class="btn btn-lg btn-secondary">Learn more</a>
</p>
</div>
<div class="mastfoot">
<div class="inner">
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
</div>
</div>
</div> </div>
</div>
</div> </div>
<!-- Bootstrap core JavaScript <!-- Bootstrap core JavaScript
================================================== --> ================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script> <script>
window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="Dependencies/JS/bootstrap.min.js"></script> <script src="Dependencies/JS/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="Dependencies/JS/ie10-viewport-bug-workaround.js"></script> <script src="Dependencies/JS/ie10-viewport-bug-workaround.js"></script>
</body> </body>
</html>
</html>