From 29281b12a20ab75ea43ad253d30d57746ea327e7 Mon Sep 17 00:00:00 2001 From: readme Date: Tue, 24 Mar 2020 18:45:10 +0100 Subject: [PATCH] update css pre and code --- src/assets/css/styles.css | 11 ++++++----- src/html/docs/dashbox.md | 4 +++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/assets/css/styles.css b/src/assets/css/styles.css index 18f8b6f..cdf5b5a 100644 --- a/src/assets/css/styles.css +++ b/src/assets/css/styles.css @@ -86,11 +86,12 @@ img { pre { /* font-size: 1.05em; */ - padding: 0.2em 0.4em; + padding: 1.08em 0; + padding-left: 1.0em; margin: 1em 0 1.5em 1.5em; background-color: #111833; /* makes code-block border round */ - border-radius: 10px; + border-radius: 7px; overflow: auto; } @@ -109,9 +110,9 @@ pre code { padding: 0; color: #eff5ef; background-color: #111833; - padding-left: 8px; - line-height: 2.9; - font-size: 0.84em; + /* padding-left: 8px; */ + line-height: 1.5; + font-size: 0.88em; font-weight: normal; } diff --git a/src/html/docs/dashbox.md b/src/html/docs/dashbox.md index e962bf1..0394620 100644 --- a/src/html/docs/dashbox.md +++ b/src/html/docs/dashbox.md @@ -41,14 +41,16 @@ For a custom and more advanced Template / Example / Tutorial run following comma ``` $ dashbox load - +``` eg. +``` $ dashbox load dashjs-html-js-example $ dashbox load chrome-extension $ dashbox load chrome-extension-example $ dashbox load chrome-extension-wallet-tutorial (WIP) ``` + View all available boxes on https://github.com/dashdev-box ## Create - Your own box