From c3a6cc133fe119707afd144217dada00085045c2 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sun, 22 Dec 2019 23:28:36 +0530 Subject: [PATCH] :sparkles: Introducing API Documentation --- assets/css/styles.scss | 16 ++- pages/doc.vue | 249 ++++++++++++++++++++++++++++++++++++----- 2 files changed, 231 insertions(+), 34 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index ac82b6b4c..79e6c1d4a 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -251,7 +251,10 @@ nav.secondary-nav { h1, h2, -h3 { +h3, +h4 { + display: flex; + align-items: center; margin: 0; font-weight: 700; } @@ -526,7 +529,9 @@ kbd, select, input, textarea, -pre { +pre, +code { + display: inline-flex; margin: 4px; padding: 8px; border-radius: 8px; @@ -560,9 +565,10 @@ pre.ace_editor { z-index: 0; } -code { - height: 336px; - border-radius: 8px; +kbd, +code, +pre { + width: auto; } .select-wrapper { diff --git a/pages/doc.vue b/pages/doc.vue index c91216409..17685daf2 100644 --- a/pages/doc.vue +++ b/pages/doc.vue @@ -1,6 +1,6 @@ - +