Skip to content

Instantly share code, notes, and snippets.

@iamsebastian
Created October 6, 2015 12:08
Show Gist options
  • Save iamsebastian/b24b21241d700b1cd2f2 to your computer and use it in GitHub Desktop.
Save iamsebastian/b24b21241d700b1cd2f2 to your computer and use it in GitHub Desktop.
Untitled
body {
background: #fff;
min-height: 100%;
font: 1.2rem/1.4 Source Serif Pro;
}
.side {
float: left;
width: 200px;
margin: 2rem 0 0 20px;
}
.side .img {
max-width: 100px;
}
.side .headline {
border-bottom: 1px solid #ddd;
font: 1.2rem/2.4 Fira Sans;
font-weight: 500;
text-align: center;
}
.side ul {
font: .9rem/1.2 Fira Sans;
list-style: none;
margin: 0 0 0 8px;
padding: 0;
text-align: left;
}
.side ul li {
margin: 1rem 0 0
}
.side ul li:hover {
text-decoration: underline;
opacity: 0.5;
}
.main {
margin: 0 0 0 260px;
}
article {
margin: 0 0;
padding: 1rem 0;
}
h1.title {
font: 1.4rem/2.8 Fira Sans;
font-weight: 500;
border-bottom: 1px solid #ddd;
}
p.text {
font: 1.2rem/1.4 Source Serif Pro;
}
<div class='side'>
<h3 class='headline'>
Crates
</h3>
<ul>
<li>Main
<li>Blog
<li>About
</ul>
</div>
<div class='main'>
<article>
<h1 class='title'>Documentation Set</h1>
<p class='text'>This is, where your documentation get set at.</p>
</article>
<article>
<h1 class='title'>Documentation Set</h1>
<p class='text'>This is, where your documentation get set at.</p>
</article>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment