uv/docs/style.css
Zanie Blue 12e12d066d
Restructure documentation sections to focus on new user experience (#4586)
Moving the preview features to top-level concepts and pushing the
pip-compatible interface down.

e.g.

<img width="291" alt="Screenshot 2024-06-27 at 7 03 48 AM"
src="500ad97d-899d-4051-b59d-e74786b3a45f">
2024-07-02 11:44:45 -05:00

44 lines
976 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.2em;
font-weight: 300;
margin-block-end: 0.4em;
line-height: 1.2em;
font-size: 1.05em;
}
.chapter li.chapter-item a:hover {
text-decoration: underline;
}
.chapter li.part-title {
margin: 0 0 0 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;
}