From a006bd3d463ae714306b167aa446e7f727423a20 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 3 Jan 2021 00:09:32 -0700 Subject: [PATCH] fix docs styling --- docs/docs/getting-started.mdx | 4 ---- docs/docs/styles.module.css | 8 ++++++-- docs/src/css/custom.css | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index 28f8408..f786add 100755 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -115,10 +115,6 @@ $ sudo yum -y install gcc-c++ make nodejs yarn redis -:::note From the Developer -I've attempted to abstract away most of the Javascript-related configuration and operational steps, because I think I might be the only network engineer on the planet who actually doesn't mind JS 😂. If you run into any issues with the NodeJS/Yarn installation processes, don't hesitate to [raise an issue](https://github.com/checktheroads/hyperglass/issues) on Github, and I'll do my best to help out. -::: - ### Application ```shell-session diff --git a/docs/docs/styles.module.css b/docs/docs/styles.module.css index 26bced1..359aa5e 100644 --- a/docs/docs/styles.module.css +++ b/docs/docs/styles.module.css @@ -1,7 +1,11 @@ .getStarted[class][class]:not(.button--active):not(:hover) { - color: var(--ifm-color-secondary); + color: var(--ifm-color-secondary); +} + +.getStarted[class][class]:not(.button--active):hover { + color: var(--ifm-color-white); } .year { - color: var(--ifm-color-primary); + color: var(--ifm-color-primary); } diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 77420c1..e766868 100755 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -31,6 +31,7 @@ "Segoe UI Symbol"; --ifm-font-family-monospace: "Fira Code", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + --ifm-code-padding-vertical: 0.05rem; } :root {