srs bsns
This commit is contained in:
parent
25ec57824f
commit
ad7cd5eea9
3 changed files with 156 additions and 109 deletions
|
@ -1,26 +1,91 @@
|
|||
<header class="pure-g">
|
||||
<img id="logo" src="http://i.imgur.com/W5d4B8E.png" alt="" />
|
||||
<div class="pure-u-3-4">
|
||||
</div>
|
||||
<div id="top-coder" class="pure-u-1-4">
|
||||
<span id="top-coder-name"></span> is awesome!
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="pure-g">
|
||||
<div id="events" class="pure-u-3-4">
|
||||
<div class="pure-g">
|
||||
<div id="event-main" class="pure-u-1">
|
||||
<img class="event-bg" src="https://scontent-ams3-1.xx.fbcdn.net/v/t1.0-9/10387247_891288404215534_5554674183923619970_n.jpg?oh=a13a417d22c931b2cbac1c3f17cc6a30&oe=57DD7FB4" />
|
||||
<span class="event-title">Geeks, Attack!</span>
|
||||
</div>
|
||||
<div class="event pure-u-1-4">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quasi hic id a enim natus, doloribus explicabo quis. Nostrum, odit. Aperiam.</div>
|
||||
<div class="event pure-u-1-4">Similique molestiae, repudiandae sequi tempora modi beatae, doloremque est fugit totam veniam ad impedit dolore excepturi dolorum officia adipisci reprehenderit.</div>
|
||||
<div class="event pure-u-1-4">Quaerat a quos recusandae voluptates provident dolore tenetur possimus, mollitia sapiente accusamus veritatis natus deleniti quibusdam odit, explicabo! Non, earum.</div>
|
||||
<div class="pure-u-xl-1-5 pure-u-lg-1-6 pure-u-md-1-8 pure-u-sm-1-12 pure-u-1-24"></div>
|
||||
<div id="container" class="pure-u-xl-3-5 pure-u-lg-2-3 pure-u-md-3-4 pure-u-sm-5-6 pure-u-11-12">
|
||||
<header>
|
||||
<div class="header-top">
|
||||
<img id="logo" src="https://zeus.ugent.be/wp-content/uploads/2009/05/logo-new.png" alt="" />
|
||||
<div id="logos">
|
||||
<i class="logo-link fa fa-github fa-3x"></i>
|
||||
<i class="logo-link fa fa-facebook fa-3x"></i>
|
||||
<i class="logo-link fa fa-rss fa-3x"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<nav id="navbar">
|
||||
<span class="navlink">About</span>
|
||||
<span class="navlink">All posts</span>
|
||||
<span class="navlink">Contact</span>
|
||||
<span class="navlink">Cammie</span>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<div class="main-event">
|
||||
Main event
|
||||
</div>
|
||||
<div id="all-events">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-3">
|
||||
<div class="event">
|
||||
Lorem ipsum dolor sit amet.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="github-feed" class="pure-u-1-4 l-box">
|
||||
<ul></ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer>hey</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,95 +1,76 @@
|
|||
$zeus_orange: rgb(255, 109, 0);
|
||||
$zeus_orange: #FF7F00;
|
||||
$event-padding: 10px;
|
||||
$navbar-border-color: #CCC;
|
||||
|
||||
header {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 75px;
|
||||
line-height: 75px;
|
||||
|
||||
background-color: $zeus_orange;
|
||||
color: white;
|
||||
|
||||
width: 100%;
|
||||
#container {
|
||||
height: 700px;
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
header #logo {
|
||||
position: absolute;
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
height: 45px;
|
||||
#logo {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 15px;
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
/* header-height, footer-height, padding-top, padding-bottom */
|
||||
height: calc(100% - 75px - 30px - 15px - 15px);
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
background-color: red;
|
||||
}
|
||||
#events {
|
||||
padding-right: 15px;
|
||||
}
|
||||
#event-main {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
color: white;
|
||||
padding: 20px;
|
||||
height: 200px;
|
||||
#logos {
|
||||
display: inline-block;
|
||||
color: black;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
border: 1px solid rgb(100, 100, 100);
|
||||
.logo-link {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.logo-link:hover {
|
||||
color: $zeus_orange;
|
||||
}
|
||||
}
|
||||
|
||||
.header-top {
|
||||
display: flex;
|
||||
justify-content: space-between;;
|
||||
align-items: flex-end;
|
||||
|
||||
}
|
||||
|
||||
#navbar {
|
||||
border-top: 1px solid $navbar-border-color;
|
||||
border-bottom: 1px solid $navbar-border-color;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
|
||||
color: black;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
margin-bottom: $event-padding * 2;
|
||||
margin-top: $event-padding * 2;
|
||||
|
||||
.navlink:hover {
|
||||
color: $zeus_orange;
|
||||
}
|
||||
}
|
||||
|
||||
.main-event {
|
||||
background: #8e9eab; /* fallback for old browsers */
|
||||
background: -webkit-linear-gradient(to left, #8e9eab , #eef2f3); /* Chrome 10-25, Safari 5.1-6 */
|
||||
background: linear-gradient(to left, #8e9eab , #eef2f3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
|
||||
height: 250px;
|
||||
padding: 10px;
|
||||
margin-bottom: $event-padding;
|
||||
}
|
||||
|
||||
#all-events {
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
|
||||
.event {
|
||||
background: black;
|
||||
color: white;
|
||||
background: #8e9eab; /* fallback for old browsers */
|
||||
background: -webkit-linear-gradient(to left, #8e9eab , #eef2f3); /* Chrome 10-25, Safari 5.1-6 */
|
||||
background: linear-gradient(to left, #8e9eab , #eef2f3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
|
||||
padding: 20px;
|
||||
}
|
||||
padding: 10px;
|
||||
|
||||
.event-bg {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 200px;
|
||||
margin: $event-padding;
|
||||
}
|
||||
.event-title {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
right: 20px;
|
||||
font-size: 35px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding: 15px;
|
||||
z-index: 1;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
|
||||
}
|
||||
|
||||
#github-feed ul {
|
||||
height: 100%;
|
||||
}
|
||||
#github-feed {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Fixes adding borders and padding, but breaks IE7 */
|
||||
.pure-g > div {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.l-box {
|
||||
border: 2px solid black;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="stylesheet.css">
|
||||
|
||||
<link rel="icon" href="favicon32.png" type="image/x-icon" />
|
||||
|
|
Loading…
Reference in a new issue