Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.