From ccb7f48c3bd156c547acb3c3d8222ee6c6576e43 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sat, 14 Dec 2019 15:35:56 +0000 Subject: [PATCH] Tweak docs site styling --- docs/_config.yml | 7 ++++--- docs/_sass/custom/custom.scss | 12 ++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 47131fc..eb5058b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -27,14 +27,15 @@ url: "https://graham.cool" # the base hostname & protocol for your site, e.g. ht # Build settings remote_theme: pmarsceill/just-the-docs +markdown: CommonMarkGhPages aux_links: 'Schemars on GitHub': - "https://github.com/GREsau/schemars" - 'Schemars on crates.io': - - "https://crates.io/crates/schemars" - 'Schemars API docs': + 'Schemars API docs': - "https://docs.rs/schemars" + 'Schemars on crates.io': + - "https://crates.io/crates/schemars" # Exclude from processing. # The following items will not be processed, by default. diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index fa0b5ff..987f930 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -130,4 +130,16 @@ xl: 1400px .aux-nav a:not([class]), .aux-nav a:not([class]):hover { 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; } \ No newline at end of file