Skip to content

Instantly share code, notes, and snippets.

@knomepasi
Last active August 26, 2015 12:48
Show Gist options
  • Save knomepasi/a1fd746f45627f271e70 to your computer and use it in GitHub Desktop.
Save knomepasi/a1fd746f45627f271e70 to your computer and use it in GitHub Desktop.
A compact layout for the jQuery API documentation
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("api.jquery.com") {
/* Header */
#logo-events {
padding: 0 0 1.5em 0;
}
#logo-events .logo a {
height: 1.8em;
background-size: auto 100%;
margin: 0;
}
#logo-events aside {
display: none;
}
/* Navigation */
nav#main #menu-top {
padding: 0.2em 0 0.4em 0;
}
nav#main #menu-top a {
font-size: 90%;
}
nav#main .searchform {
margin: 0.6em 0 0.4em 0;
}
/* Sidebar */
#sidebar {
font-size: 95%;
}
#sidebar li {
line-height: 1.2em;
}
#sidebar li ul {
margin-top: 0.3em;
margin-bottom: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment