hexo-theme-amane/source/css/_extend.styl

65 lines
1.2 KiB
Stylus
Raw Normal View History

2015-05-28 01:36:20 +00:00
$link-dark
2016-02-02 16:19:44 +00:00
&,
&:visited
color: color-default
transition: 0.2s ease
&:hover,
&:visited:hover
color: color-link
2015-05-28 01:36:20 +00:00
2015-03-19 14:25:53 +00:00
$block-caption
2016-02-02 16:19:44 +00:00
text-decoration: none
text-transform: uppercase
color: color-grey
line-height: 1em
2015-03-19 14:25:53 +00:00
$block
2016-02-02 16:19:44 +00:00
background: #fff
box-shadow: 0 1px 2px rgba(0,0,0,0.05)
2015-03-19 14:25:53 +00:00
$base-style
2016-02-02 16:19:44 +00:00
h1
font-size: 2em
h2
font-size: 1.5em
h3
font-size: 1.3em
h4
font-size: 1.2em
h5
font-size: 1em
h6
font-size: 1em
color: color-grey
hr
border: 1px dashed color-border
strong
font-weight: bold
em, cite
font-style: italic
sup, sub
font-size: 0.75em
line-height: 0
position: relative
vertical-align: baseline
sup
top: -0.5em
sub
bottom: -0.2em
small
font-size: 0.85em
acronym, abbr
border-bottom: 1px dotted
ul, ol, dl
margin: 0 20px
line-height: line-height
2015-03-19 14:25:53 +00:00
ul, ol
2016-02-02 16:19:44 +00:00
ul, ol
margin-top: 0
margin-bottom: 0
ul
list-style: disc
ol
list-style: decimal
dt
font-weight: bold