summaryrefslogtreecommitdiff
path: root/src/web/docs
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-17 15:15:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-17 15:15:54 +0900
commit49fff2137a532f889016556e4210d36b2110e9a5 (patch)
tree01fdb0a14bb395e2729c962cc64ad04093e71d6f /src/web/docs
parentv3404 (diff)
downloadmisskey-49fff2137a532f889016556e4210d36b2110e9a5.tar.gz
misskey-49fff2137a532f889016556e4210d36b2110e9a5.tar.bz2
misskey-49fff2137a532f889016556e4210d36b2110e9a5.zip
レスポンシブに
Diffstat (limited to 'src/web/docs')
-rw-r--r--src/web/docs/style.styl28
1 files changed, 23 insertions, 5 deletions
diff --git a/src/web/docs/style.styl b/src/web/docs/style.styl
index 414be5c53d..d2f91fb7c8 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