From 464792b711c55800d62067b9ebaf2f1b0b0929fb Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Fri, 9 Aug 2019 20:38:50 +0530 Subject: improve styles --- docs/style.css | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/style.css b/docs/style.css index 2b4815d..0287de6 100644 --- a/docs/style.css +++ b/docs/style.css @@ -7,8 +7,8 @@ } :root { - --cyan: #00ffff; - --pink: #ff00ff; + --cyan: #79ffe1; + --pink: #d344e2; --black: #212121; --light-black: #535353; --white: #ffffff; @@ -115,12 +115,27 @@ a:hover, a:active { } pre, code { - background-color: var(--dark-white); color: var(--black); font-family: monospace; } pre { - padding: 1rem; + background-color: var(--white); overflow: auto; + padding: 0.8rem; + border: 1px solid var(--dark-white); + border-radius: 0.2px; +} + +code { + color: var(--pink); +} + +pre > code { + border: none; + color: var(--black); +} + +::-moz-selection, ::selection { + background: var(--cyan); } -- cgit v1.2.3