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

62 lines
1.0 KiB
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
h1,.h1
font-size: $fs-h1
font-weight: 500
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
.list-title
color: var(--text-p3)
font-family: $ff-code
font-weight: 700
line-height: 1.2
padding-bottom: 0.5rem
>.list-title
margin: 2rem 1rem 0rem
.post-title
font-weight: 500
2021-04-02 20:24:16 +08:00
margin: 0.5rem 0
2021-03-05 21:37:28 +08:00
line-height: 1.2
font-size: $fs-h3
border-bottom: none
color: var(--text-p1)
trans1 color
.wiki .post-title
margin-top: 0.5rem
font-weight: 500
font-size: 1.75rem
.widgets
.post-title
2021-03-13 13:32:45 +08:00
margin: 0.75rem 0
2021-03-05 21:37:28 +08:00
line-height: 1.2
2021-03-13 13:32:45 +08:00
display: block
txt-ellipsis()
.cap
margin-bottom: 2px
opacity: 0.5
2021-03-05 21:37:28 +08:00
a
color: inherit
2021-03-13 13:32:45 +08:00
font-weight: 500
2021-03-05 21:37:28 +08:00
&:hover
color: $color-hover