uv/docs/style.css
Zanie Blue 1ee201da5a
Add structured documentation (#4426)
A ton of work remaining here, pushing so I can preview things rendered.

Here's the [latest rendered
documentation](https://astral-sh.github.io/uv/).
2024-06-26 11:28:42 -05:00

42 lines
933 B
CSS

/* Improve the font rendering */
html {
font-family: -apple-system, BlinkMacSystemFont, Inter, Segoe UI, Helvetica Neue, sans-serif;
}
.heading, a, code, kbd, li, p, span, td {
-webkit-font-smoothing: antialiased;
}
/* Improve padding and display of the navbar */
.chapter {
padding-inline-start: 1.2rem;
}
.chapter li.chapter-item {
margin-left: 1em;
margin-block-start: 0.3em;
font-weight: 300;
margin-block-end: 0.5em
}
.chapter li.chapter-item a:hover {
text-decoration: underline;
}
.chapter li.part-title {
margin: 10px 0 0px 0;
font-weight: 500;
font-size: 1.3em;
}
/* Special case the landing page in the navbar */
.chapter li.chapter-item:first-child {
margin-left: 0;
font-size: 16px
}
/* Hide the global title, it doesn't look good */
.menu-title {
visibility: hidden;
}
/* Reduce spacing between sections in content */
h2, h3 {
margin-block-start: 1.2em;
}