sharkey/src/docs/style.styl

125 lines
1.5 KiB
Stylus
Raw Normal View History

@import "../client/style"
2017-12-17 14:35:30 +09:00
@import "./ui"
2017-12-14 16:24:41 +09:00
body
margin 0
color #34495e
2017-12-17 15:15:54 +09:00
word-break break-word
2017-12-14 16:24:41 +09:00
main
2018-07-16 06:19:19 +09:00
margin 0 0 0 330px
2017-12-19 13:19:06 +09:00
padding 64px
2017-12-14 16:24:41 +09:00
width 100%
2018-07-06 12:38:07 +09:00
max-width 800px
2017-12-14 16:24:41 +09:00
2017-12-15 06:41:57 +09:00
section
margin 32px 0
h1
margin 0 0 24px 0
padding 16px 0
font-size 1.5em
border-bottom solid 2px #eee
h2
margin 0 0 24px 0
padding 0 0 16px 0
font-size 1.4em
border-bottom solid 1px #eee
h3
margin 0
padding 0
font-size 1.25em
h4
margin 0
p
margin 1em 0
line-height 1.6em
2017-12-17 04:02:30 +09:00
footer
margin 32px 0 0 0
border-top solid 2px #eee
2017-12-17 04:31:24 +09:00
> small
2017-12-17 04:02:30 +09:00
margin 16px 0 0 0
color #aaa
2017-12-15 06:41:57 +09:00
nav
display block
position fixed
2017-12-17 15:15:54 +09:00
z-index 10000
2017-12-15 06:41:57 +09:00
top 0
left 0
2018-07-16 06:19:19 +09:00
width 330px
2017-12-15 06:41:57 +09:00
height 100%
overflow auto
padding 32px
2017-12-17 15:15:54 +09:00
background #fff
2017-12-15 06:41:57 +09:00
border-right solid 2px #eee
2018-07-16 03:53:03 +09:00
ul
padding 0
margin 0
2017-12-17 15:15:54 +09:00
@media (max-width 1025px)
main
margin 0
max-width 100%
nav
position relative
width 100%
max-height 128px
background #f9f9f9
border-right none
2017-12-19 13:19:06 +09:00
@media (max-width 768px)
main
padding 32px
2017-12-17 15:15:54 +09:00
@media (max-width 512px)
main
padding 16px
2017-12-14 16:24:41 +09:00
table
2017-12-17 15:15:54 +09:00
display block
2017-12-14 16:24:41 +09:00
width 100%
2017-12-17 15:15:54 +09:00
max-width 100%
overflow auto
2017-12-14 16:24:41 +09:00
border-spacing 0
border-collapse collapse
thead
font-weight bold
border-bottom solid 2px #eee
tr
th
text-align left
tbody
tr
2017-12-14 22:50:41 +09:00
&:nth-child(odd)
background #fbfbfb
2017-12-14 16:24:41 +09:00
th, td
padding 8px 16px
2017-12-17 15:15:54 +09:00
min-width 128px
2017-12-18 04:17:18 +09:00
code
2017-12-23 07:21:57 +09:00
display inline-block
2017-12-18 04:17:18 +09:00
padding 8px 10px
font-family Consolas, 'Courier New', Courier, Monaco, monospace
color #295c92
background #f2f2f2
border-radius 4px
pre
2018-01-08 01:47:56 +09:00
overflow auto
2017-12-18 04:17:18 +09:00
> code
display block