diff options
-rw-r--r-- | docs/index.html | 8 | ||||
-rwxr-xr-x | docs/serve.sh | 4 |
2 files changed, 8 insertions, 4 deletions
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 { <div class="row white"><div> <h2><a id="sample" href="#sample">Sample</a></h2> <p> - <img src="res/sample.png" width="888"> + <img src="res/sample.png" style="width:100%"> </p> </div></div> 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 |