summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2017-08-22 13:45:47 +0300
committerRasmus Andersson <rasmus@notion.se>2017-08-22 13:45:47 +0300
commit80ea7a323b48a1e70a112b3461be97ac67ff1585 (patch)
tree6533acf2dd9a96a2e64a171c16d063bd88704c9c /docs
parent29bb6cfb7fa64eff21bbe2003df06c394d194e3f (diff)
downloadinter-80ea7a323b48a1e70a112b3461be97ac67ff1585.tar.xz
website fixes, primarily mobile
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html8
-rwxr-xr-xdocs/serve.sh4
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