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

43 lines
659 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
//
.fs15
--fsp: $fs-15
font-size: var(--fsp)
.fs14
--fsp: $fs-14
font-size: var(--fsp)
.footnote
--fsp: $fs-13
font-size: var(--fsp)
.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