Skip to content

Instantly share code, notes, and snippets.

@ninty9notout
Created December 26, 2013 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninty9notout/8128743 to your computer and use it in GitHub Desktop.
Save ninty9notout/8128743 to your computer and use it in GitHub Desktop.
Hangar 18 Website
/**
* Hangar 18 Website
*/
/* html5doctor.com Reset v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/) - http://cssreset.com */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
body {
background: url(http://static.tumblr.com/dbek3sy/zEWmbuhbn/light_noise_diagonal.png) left top repeat;
font-family: "Fenix", serif;
}
header, #body, footer {
position: relative;
text-align: center;
}
header .wrapper,
#body .wrapper,
footer .wrapper {
margin: 0 auto;
text-align: left;
width: 960px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
header {
background: #fff;
border-top: 10px solid #3498db;
box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
-webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
-moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
}
header .wrapper {
height: 200px;
margin-bottom: 50px;
}
nav {
border-top: 2px solid #f3f3f3;
bottom: 0;
height: 75px;
left: 0;
position: absolute;
right: 0;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
nav ul {
display: table;
font-family: "Lato", sans-serif;
font-size: 16px;
table-layout: fixed;
margin: 11.5px auto 0;
text-align: left;
width: 960px;
}
nav li {
display: table-cell;
text-align: center;
}
nav a {
border-right: 1px solid #f3f3f3;
color: #2d2d2d;
display: block;
line-height: 50px;
position: relative;
text-decoration: none;
width: 100%;
}
nav li:first-child a { border-left: 1px solid #f3f3f3; }
nav a:hover { color: #3498db; }
nav .current a:after,
nav a:hover:after {
bottom: 0;
color: #eaeaea;
content: "\f078";
font-family: FontAwesome;
font-size: 12px;
left: 0;
line-height: 1;
position: absolute;
width: 100%;
}
nav .current a { color: #3498db; }
#section-group {
margin-left: -15px;
width: 990px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
#slider { height: 300px; overflow: hidden; }
.flex-control-nav {
bottom: 20px;;
list-style: none;
margin: 0;
padding: 0;
position: absolute;
right: 20px;
}
.flex-control-nav li {
float: left;
margin-left: 2px;
text-indent: -9999px;
}
.flex-control-nav li:first-child { margin-left: 0px; }
.flex-control-nav a {
border: 2px solid #2d2d2d;
float: left;
height: 10px;
width: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.flex-control-nav .flex-active {
background: #3498db;
border-color: #3498db;
}
.shadow-box {
background: #fff;
border-bottom: 3px solid #3498db;
padding: 15px 15px 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
-webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
-moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, .08);
}
<link href="http://fonts.googleapis.com/css?family=Fenix|Lato:400,700,400italic" rel="stylesheet" type="text/css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<header>
<div class="wrapper">
<nav>
<ul>
<li class="current"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="#playground">Playground</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<div id="body">
<div class="wrapper">
<div id="section-group" class="group shadow-box">
<section id="slider">
<article><img src="//placehold.it/960x300/2c3e50/34495e"></article>
<article><img src="//placehold.it/960x300/c0392b/e74c3c"></article>
<article><img src="//placehold.it/960x300/27ae60/2ecc71"></article>
</section>
</div>
</div>
</div>
<script src="//static.tumblr.com/cu6t4kt/TGjmyf4e5/jquery.flexslider-min.js"></script>
<script>
$(function() {
$('#slider').flexslider({
animation: "slide"
});
});
</script>
{"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment