Skip to content

Instantly share code, notes, and snippets.

@jasondavis
Created April 12, 2012 22:10
Show Gist options
  • Select an option

  • Save jasondavis/2371383 to your computer and use it in GitHub Desktop.

Select an option

Save jasondavis/2371383 to your computer and use it in GitHub Desktop.
Untitled
body{
background: #EDECE8 url("http://www.codedevelopr.com/assets/images/bg.png") repeat;
}
#sidebar {
width: 290px;
margin-left: 40px;
font-size: .85em;
}
#sidebar h3, #sidebar h4 {
margin-top: 1.5em;
}
#sidebar h3 {
font-size: 1.5em;
}
h2, #sidebar h3 {
font-weight: 200;
}
h2, .description, #sidebar h3,{
font-family: "Verlag Condensed","Abadi MT Condensed","Futura Std Light Condensed","Futura Condensed","Gill Sans","Arial Narrow",Calibri,"Trebuchet MS",Georgia,sans-serif;
}
h3 {
font-size: 1.3em;
background: transparent url(http://www.learningjquery.com/wp-content/themes/ljq/images/hr.png) repeat-x 0 100%;
padding-bottom: 3px;
margin-bottom: .5em;
}
#sidebar ul {
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
#sidebar li {
border-bottom: 1px solid #DFDBCE;
}
#sidebar #sidebar-authors .menu li a {
padding: 6px 0;
line-height: 36px;
}
#sidebar-links li,
#sidebar .menu li a:hover,
#sidebar .linkcat li a:hover,
#sidebar a.firehost:hover {
border-bottom-width: 0;
}
#sidebar a:hover {
text-decoration: none;
background-color: #ECE7DB;
border-bottom: 1px solid #F0C193;
}
a img {
border: none;
}
#sidebar li,
#sidebar li a span,
#sidebar .netdna,
small {
color: #86837A;
}
#sidebar-links li,
#sidebar .menu li a:hover,
#sidebar .linkcat li a:hover,
#sidebar a.firehost:hover {
border-bottom-width: 0;
}
a {
color: #3A5875;
text-decoration: none;
}
.menu li a{
display:block
}
#books li {
margin: 1em 0;
padding-bottom: .5em;
overflow: hidden;
}
#sidebar a.cover:hover {
border-bottom-width: 0;
background-color: transparent;
}
#books .cover {
float: left;
}
#books div {
margin-left: 100px;
}
<div id="sidebar">
<div id="books">
<h3>Recommended Book</h3>
<ul>
<li>
<a class="cover" href="http://link.packtpub.com/A6JfFs"><img src="http://www.learningjquery.com/wp-content/themes/ljq/images/ljq3.jpg" alt="Learning jQuery, Third Edition book"></a>
<div><a href="http://link.packtpub.com/A6JfFs">Learning jQuery,<br>Third Edition</a></div><div>By Karl Swedberg &amp; <br>Jonathan Chaffer</div>
</li><li>
<a class="cover" href="http://link.packtpub.com/A6JfFs"><img src="http://www.learningjquery.com/wp-content/themes/ljq/images/ljq3.jpg" alt="Learning jQuery, Third Edition book"></a>
<div><a href="http://link.packtpub.com/A6JfFs">Learning jQuery,<br>Third Edition</a></div><div>By Karl Swedberg &amp; <br>Jonathan Chaffer</div>
</li>
</ul>
</div>
</div>
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment