paricafe/src/web/docs/style.styl

85 lines
1,017 B
Stylus
Raw Normal View History

2017-12-14 01:24:41 -06:00
@import "../style"
2017-12-16 23:35:30 -06:00
@import "./ui"
2017-12-14 01:24:41 -06:00
body
margin 0
color #34495e
main
2017-12-14 15:41:57 -06:00
margin 0 0 0 256px
2017-12-14 01:24:41 -06:00
padding 32px
width 100%
max-width 700px
2017-12-14 15:41:57 -06: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-16 13:02:30 -06:00
footer
margin 32px 0 0 0
border-top solid 2px #eee
2017-12-16 13:31:24 -06:00
> small
2017-12-16 13:02:30 -06:00
margin 16px 0 0 0
color #aaa
2017-12-14 15:41:57 -06:00
nav
display block
position fixed
top 0
left 0
width 256px
height 100%
overflow auto
padding 32px
border-right solid 2px #eee
2017-12-14 01:24:41 -06:00
table
width 100%
border-spacing 0
border-collapse collapse
thead
font-weight bold
border-bottom solid 2px #eee
tr
th
2017-12-14 13:43:48 -06:00
position sticky
top 0
z-index 1
2017-12-14 01:24:41 -06:00
text-align left
2017-12-14 13:43:48 -06:00
box-shadow 0 1px 0 0 #eee
background #fff
2017-12-14 01:24:41 -06:00
tbody
tr
2017-12-14 07:50:41 -06:00
&:nth-child(odd)
background #fbfbfb
2017-12-14 01:24:41 -06:00
th, td
padding 8px 16px