Skip to content

Instantly share code, notes, and snippets.

@marsp0
Created August 6, 2014 19:10
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 marsp0/5017a9909dcdae830fda to your computer and use it in GitHub Desktop.
Save marsp0/5017a9909dcdae830fda to your computer and use it in GitHub Desktop.
crack
/* crack */
.right {
float: right;
}
.main {
width: 80%;
margin: 0 auto;
font-family: Futura;
background: #f06;
background: linear-gradient(50deg, #f06, orange);
min-height: 900px;
}
.banner {
height: 200px;
}
.navigation {
height: 50px;
background: #f05;
background: linear-gradient(50deg, #f06, yellow);
}
a {
text-decoration: none;
color: white
}
ul {
list-style: none;
}
.navigation ul {
display: inline-block;
}
.navigation ul li {
float: left;
}
.navigation ul li a {
padding: 16px 30px 14px 30px;
}
.navigation ul li a:hover {
color: #f95;
}
.content {
background-color: #f06;
margin: 2%;
padding: 20px;
}
.first-row {
display: inline-block;
width: 100%;
}
.featured {
background-color: green;
width: 70%;
display: inline-block;
}
.sidebar {
background-color: green;
width: 28%;
float: right;
display: inline-block;
}
.new {
background-color: green;
margin-top: 2%;
width: 70%;
}
.artists {
margin-top: 2%;
}
<!-- content to be placed inside <body>…</body> -->
<div class='main'>
<div class='banner'>
</div>
<div class='navigation'>
<ul class='menu'>
<li><a href='/'>Home</a></li>
<li><a href='/'>Contact</a></li>
<li><a href='/'>About</a></li>
<li><a href='/'>Shop</a></li>
</div>
<div class='content'>
<div class='first-row'>
<div class='featured'>
Here are featured
</div>
<div class='sidebar'>
<div class='genres'>
this is the sidebar
</div>
<div class='artists'>
here is another a
</div>
</div>
<div class='new'>
here are new ones
</div>
</div>
</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment