From 80ea7a323b48a1e70a112b3461be97ac67ff1585 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Tue, 22 Aug 2017 03:45:47 -0700 Subject: website fixes, primarily mobile --- docs/index.html | 8 ++++++-- docs/serve.sh | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 75bf7aed7..b7597bd95 100644 --- a/docs/index.html +++ b/docs/index.html @@ -77,6 +77,7 @@ code { /*background: rgba(0,0,0,0.05);*/ border-radius:1px; padding: 0.5em 0; + overflow: scroll; } h1, h2, h3 { @@ -86,8 +87,10 @@ h1 { color: #333; font-size: 38px; letter-spacing: -1.3px; - line-height: 60px; + line-height: 40px; text-indent: -2px; + margin-bottom: 30px; + margin-top: 10px; } h2 { font-size: 24px; @@ -109,6 +112,7 @@ h1 > a, h2 > a, h3 > a { /*background: white;*/ } .row > * { + width:100%; max-width: 888px; flex: 1 0 100%; /*background: white;*/ @@ -184,7 +188,7 @@ a > img {

Sample

- +

diff --git a/docs/serve.sh b/docs/serve.sh index fd8b94c63..b10c7649f 100755 --- a/docs/serve.sh +++ b/docs/serve.sh @@ -2,8 +2,8 @@ set -e cd "$(dirname "$0")" -if [ ! -s docs/lab/fonts ]; then - ln -s ../../build/dist docs/lab/fonts +if [ ! -s lab/fonts ]; then + ln -s ../../build/dist lab/fonts fi if (which caddy >/dev/null); then -- cgit v1.2.3