Hiem - v1

(c) Philip van Heemstra

HTML

<div id="top">
    <div id="top_left">
        <a href="#">Groepshuis</a>
        <a href="#">Verhuur</a>
    </div>
    <div id="top_mid">
        <span class="logo"><span>Zeilschool</span><img...

CSS

*, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3 {
    font-weight: bold;
    font-family: 'Open Sans Condensed', sans-serif;
    color: #754036;
}

h1 {
    font-size: 40px;
    color: #4DBCE9;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

body {
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    color: #666666;
}

.hide {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

#top {
    position: fixed;
    z-index: 5;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 60px;
    background-color: #fff;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(247,247,247,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(247,247,247,1)));
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(247,247,247,1) 100%);
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(247,247,247,1) 100%);
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(247,247,247,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(247,247,247,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0, 0.3);
}

#top_left {
    width: 50%;
    float: left;
}
#top_left a {
    display: inline-block;
    font-size: 16px;
    color: #aaa;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0px 1px 0px #fff;
    padding: 17px 0px 0px 15px;
}
#top_left a:hover {
    color: #888;
}

#top_mid {
    position: absolute;
    left: 50%;
    width: 300px;
    margin-left: -150px;
}
.logo {
    display: inline-block;
    width: 100%;
    font-size: 20px;
    color: #666666;
    font-weight: bold;
    text-align:...

JavaScript

WebFontConfig = {
    google: { families: [ 'Roboto+Slab:400,700,300,100:latin,latin-ext', 'Yanone+Kaffeesatz:400,200,300,700:latin,latin-ext' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
      '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })();