hexo-theme-ayer/source-src/css/_extend.styl

86 lines
1.5 KiB
Stylus
Raw Normal View History

2019-12-03 11:37:44 +00:00
$block-caption
text-decoration none
color sea-lighter
&:hover
color sea-lighter
$block
border-radius 4px
$base-style
h1, h2, h3, h4, h5, h6
2020-01-25 04:42:48 +00:00
margin 2.5rem 0 1.5rem
2019-12-03 11:37:44 +00:00
hr
height border-width
background-color border-color
border none
padding 0
margin 1.5rem 0
strong
font-weight bold
em, cite
font-style italic
sup, sub
font-size 75%
line-height 0
position relative
vertical-align baseline
sup
top -.5rem
sub
bottom -.25rem
small
font-size 85%
acronym, abbr
border-bottom border-width border-color dotted
ul, ol, dl
2020-01-06 05:19:29 +00:00
margin 1.5rem 0 1.5rem 2rem
2019-12-03 11:37:44 +00:00
p, table, blockquote
margin 1.5rem 0
img, video
max-width 100%
height auto
display block
margin auto
iframe
border none
table
width 100%
2020-02-10 08:55:51 +00:00
max-width 70rem
border 1px solid #dedede
margin 15px auto
2019-12-03 11:37:44 +00:00
border-collapse collapse
empty-cells show
2020-02-10 08:55:51 +00:00
th,td
border 1px solid #dedede
2020-02-11 05:05:04 +00:00
padding 5px 10px
2020-02-10 08:55:51 +00:00
th
font-weight bold
text-align center !important
background rgba(158, 188, 226, .2)
white-space nowrap
td:nth-child(1)
white-space nowrap
2019-12-03 11:37:44 +00:00
blockquote
display block
padding 0 1.5rem
width 100%
overflow auto
border-left .3rem water solid
color sea-lighter
> :first-child
margin-top 0;
> :last-child
margin-bottom 0;
footer
cite
&:before
content ""
padding 0 .5rem