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

55 lines
901 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
font-size: $fs-14
p
font-size: $fs-14 !important
li
font-size: $fs-14 !important
//
.fs12
font-size: $fs-12
.post-list
.post-title
font-weight: 500
margin: .75rem 0
line-height: 1.2
font-size: $fs-h3
border-bottom: none
color: var(--text-p0)
trans1 color
.wiki .post-title
margin-top: 0.5rem
font-weight: 700
.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