hexo-theme-stellar/source/css/_common/title.styl

40 lines
617 B
Stylus

h1,.h1
font-size: $fs-h1
font-weight: 700
@media screen and (max-width: $device-mobile)
font-size: $fs-h1
h2,.h2
font-size: $fs-h2
h3,.h3
font-size: $fs-h3
h4,.h4
font-size: $fs-h4
h5
font-size: $fs-h5
h6
font-size: $fs-h6
//
.fs14
--fs-p: $fs-14
font-size: var(--fs-p)
.footnote
--fs-p: $fs-13
font-size: var(--fs-p)
.widgets
.post-title
margin: 0.75rem 0
line-height: 1.2
display: block
txt-ellipsis()
.cap
margin-bottom: 2px
opacity: 0.5
a
color: inherit
font-weight: 500
&:hover
color: $color-hover