Tweak docs site styling

This commit is contained in:
Graham Esau 2019-12-14 15:35:56 +00:00
parent 43ac3fddb6
commit ccb7f48c3b
2 changed files with 16 additions and 3 deletions

View file

@ -27,14 +27,15 @@ url: "https://graham.cool" # the base hostname & protocol for your site, e.g. ht
# Build settings # Build settings
remote_theme: pmarsceill/just-the-docs remote_theme: pmarsceill/just-the-docs
markdown: CommonMarkGhPages
aux_links: aux_links:
'<img src="https://img.shields.io/badge/GitHub--lightgrey?style=social&amp;logo=github" alt="Schemars on GitHub" title="Schemars on GitHub">': '<img src="https://img.shields.io/badge/GitHub--lightgrey?style=social&amp;logo=github" alt="Schemars on GitHub" title="Schemars on GitHub">':
- "https://github.com/GREsau/schemars" - "https://github.com/GREsau/schemars"
'<img src="https://img.shields.io/crates/v/schemars" alt="Schemars on crates.io" title="Schemars on crates.io">': '<img src="https://img.shields.io/badge/API%20documentation--lightgrey?style=social" alt="Schemars API docs" title="Schemars API docs">':
- "https://crates.io/crates/schemars"
'<img src="https://docs.rs/schemars/badge.svg" alt="Schemars API docs" title="Schemars API docs">':
- "https://docs.rs/schemars" - "https://docs.rs/schemars"
'<img src="https://img.shields.io/crates/v/schemars?style=social" alt="Schemars on crates.io" title="Schemars on crates.io">':
- "https://crates.io/crates/schemars"
# Exclude from processing. # Exclude from processing.
# The following items will not be processed, by default. # The following items will not be processed, by default.

View file

@ -131,3 +131,15 @@ xl: 1400px
.aux-nav a:not([class]), .aux-nav a:not([class]):hover { .aux-nav a:not([class]), .aux-nav a:not([class]):hover {
background: none; background: none;
} }
.aux-nav .mr-2 {
margin-right: 0.1rem !important;
}
pre.highlight, figure.highlight {
line-height: 1.2em;
}
pre.highlight code, figure.highlight code {
font-size: 14px;
}