Created
August 6, 2014 19:10
-
-
Save marsp0/5017a9909dcdae830fda to your computer and use it in GitHub Desktop.
crack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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