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

44 lines
750 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
h1,.h1
2024-02-02 00:36:01 +08:00
font-size: var(--fsh2)
2021-11-20 13:18:52 +08:00
font-weight: 700
@media screen and (max-width: $device-mobile)
2024-02-02 00:36:01 +08:00
font-size: var(--fsh2)
2021-03-05 21:37:28 +08:00
h2,.h2
2024-02-02 00:36:01 +08:00
font-size: var(--fsh2)
margin-top: 1.5em
2021-03-05 21:37:28 +08:00
h3,.h3
2024-02-02 00:36:01 +08:00
font-size: var(--fsh3)
2021-03-05 21:37:28 +08:00
h4,.h4
2024-02-02 00:36:01 +08:00
font-size: var(--fsh4)
2021-03-05 21:37:28 +08:00
h5
2024-02-02 00:36:01 +08:00
font-size: 'calc(%s + 1px)' % var(--fsp)
2021-03-05 21:37:28 +08:00
h6
2024-02-02 00:36:01 +08:00
font-size: 'calc(%s + 0px)' % var(--fsp)
2021-03-05 21:37:28 +08:00
//
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