fix(docs): rehaul styling (#893)

* fix: adapt styling to marketing, console

* side icon margin
This commit is contained in:
Max Peintner
2020-10-22 17:09:08 +02:00
committed by GitHub
parent 457bfb4768
commit d71eb25dbc
5 changed files with 52 additions and 35 deletions

View File

@@ -31,18 +31,19 @@
/* theme vars */
.theme-default {
--back: #212224;
--back: #1a1f36;
--back-light: transparent;
--back-api: #212224;
--back-api: #1a1f36;
--prime: #5282c1;
--second: #e91e63;
--second: #ff2069;
--flash: #72a2e0;
--nav-back: #212224;
--side-nav-back: #212224;
--nav-back: #1a1f36;
--side-nav-back: #1a1f36;
--heading: #e8eaed;
--text: #eff8ff;
--heading: #f7fafc;
--text: #c1c9d2;
--grey-text: #a3acb9;
--dark-text: #8795a1;
--sidebar-text: #eff8ff;
--border-w: .3rem; /* border-width */
@@ -52,13 +53,13 @@
/* typo vars */
.typo-default {
--code-fs: 1.3rem;
--h6: 1.4rem;
--h6: 1.3rem;
--h5: 1.6rem;
--h4: 1.8rem; /* default font-size */
--h3: 2.6rem;
--h4: 1.6rem; /* default font-size */
--h3: 2.5rem;
--h2: 3rem;
--h1: 3.2rem;
--linemax: 42em; /* max line-length */
--h1: 3rem;
--linemax: 50em; /* max line-length */
--lh: 1.5; /* base line-height */
}
@@ -135,7 +136,7 @@ h6,
blockquote {
position: relative;
margin: 0;
color: var(--heading);
color: var(--heading);
}
/* h1, h2, h3, h4, h5, h6 { font-weight: 600 } */
@@ -354,7 +355,7 @@ a.no-underline {
.listify ul > li:before {
content: '';
position: absolute;
margin-top: 1.1rem;
margin-top: .9rem;
margin-left: -1.8rem;
background-color: var(--second);
width: .6rem;