From 49fff2137a532f889016556e4210d36b2110e9a5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 17 Dec 2017 15:15:54 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AC=E3=82=B9=E3=83=9D=E3=83=B3=E3=82=B7?= =?UTF-8?q?=E3=83=96=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/docs/style.styl | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/src/web/docs/style.styl b/src/web/docs/style.styl index 414be5c53..d2f91fb7c 100644 --- a/src/web/docs/style.styl +++ b/src/web/docs/style.styl @@ -4,6 +4,7 @@ body margin 0 color #34495e + word-break break-word main margin 0 0 0 256px @@ -49,16 +50,37 @@ main nav display block position fixed + z-index 10000 top 0 left 0 width 256px height 100% overflow auto padding 32px + background #fff border-right solid 2px #eee +@media (max-width 1025px) + main + margin 0 + max-width 100% + + nav + position relative + width 100% + max-height 128px + background #f9f9f9 + border-right none + +@media (max-width 512px) + main + padding 16px + table + display block width 100% + max-width 100% + overflow auto border-spacing 0 border-collapse collapse @@ -68,12 +90,7 @@ table tr th - position sticky - top 0 - z-index 1 text-align left - box-shadow 0 1px 0 0 #eee - background #fff tbody tr @@ -82,3 +99,4 @@ table th, td padding 8px 16px + min-width 128px