diff options
author | NerdyPepper <[email protected]> | 2019-08-09 16:08:50 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-08-09 16:08:50 +0100 |
commit | 464792b711c55800d62067b9ebaf2f1b0b0929fb (patch) | |
tree | 9f92a254cdcc84218d276bb7b9fced69573aa684 /docs | |
parent | 5b4bae28d4cd5b7df47724881b98a27d3d1c1616 (diff) |
improve styles
Diffstat (limited to 'docs')
-rw-r--r-- | docs/style.css | 23 |
1 files 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 @@ | |||
7 | } | 7 | } |
8 | 8 | ||
9 | :root { | 9 | :root { |
10 | --cyan: #00ffff; | 10 | --cyan: #79ffe1; |
11 | --pink: #ff00ff; | 11 | --pink: #d344e2; |
12 | --black: #212121; | 12 | --black: #212121; |
13 | --light-black: #535353; | 13 | --light-black: #535353; |
14 | --white: #ffffff; | 14 | --white: #ffffff; |
@@ -115,12 +115,27 @@ a:hover, a:active { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | pre, code { | 117 | pre, code { |
118 | background-color: var(--dark-white); | ||
119 | color: var(--black); | 118 | color: var(--black); |
120 | font-family: monospace; | 119 | font-family: monospace; |
121 | } | 120 | } |
122 | 121 | ||
123 | pre { | 122 | pre { |
124 | padding: 1rem; | 123 | background-color: var(--white); |
125 | overflow: auto; | 124 | overflow: auto; |
125 | padding: 0.8rem; | ||
126 | border: 1px solid var(--dark-white); | ||
127 | border-radius: 0.2px; | ||
128 | } | ||
129 | |||
130 | code { | ||
131 | color: var(--pink); | ||
132 | } | ||
133 | |||
134 | pre > code { | ||
135 | border: none; | ||
136 | color: var(--black); | ||
137 | } | ||
138 | |||
139 | ::-moz-selection, ::selection { | ||
140 | background: var(--cyan); | ||
126 | } | 141 | } |