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

43 lines
659 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
h1,.h1
font-size: $fs-h1
2021-11-20 13:18:52 +08:00
font-weight: 700
@media screen and (max-width: $device-mobile)
font-size: $fs-h1
2021-03-05 21:37:28 +08:00
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
//
2024-01-31 22:45:07 +08:00
.fs15
--fsp: $fs-15
font-size: var(--fsp)
2021-03-05 21:37:28 +08:00
.fs14
2024-01-31 22:45:07 +08:00
--fsp: $fs-14
font-size: var(--fsp)
2024-01-30 23:48:00 +08:00
.footnote
2024-01-31 22:45:07 +08:00
--fsp: $fs-13
font-size: var(--fsp)
2021-03-05 21:37:28 +08:00
.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