hexo-theme-stellar/source/css/_layout/partial/bread-nav.styl

52 lines
1015 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
//
.bread-nav
2022-11-19 17:42:35 +08:00
padding: 0.25rem 1rem 0
2021-03-05 21:37:28 +08:00
color: var(--text-p3)
font-weight: 500
2023-12-06 13:22:07 +08:00
display: flex
justify-content: space-between
2021-03-05 21:37:28 +08:00
div#breadcrumb
display: flex
align-items: center
flex-direction: row
&:not([style]) a
2022-11-04 23:13:01 +08:00
color: var(--theme-link)
2021-03-05 21:37:28 +08:00
&[style] a
color: inherit
span.sep
color: var(--text-p3)
a.cap:hover
color: $color-hover
div#post-meta
margin-top: 2px
2023-12-06 13:22:29 +08:00
span+span
margin-left: 8px
visibility: hidden
&:hover
div#post-meta
span+span
visibility: visible
2023-12-06 13:22:07 +08:00
.bread-nav .ghrepo
font-size: $fs-13
display: flex
flex-direction: column
align-items: flex-start
border-left: 1px solid var(--text-meta)
padding-left: 8px
a
display: flex
align-items: center
color: var(--text-p2)
svg
margin-right: 4px
&.bold
font-weight: 600
color: var(--text-p1)
span
margin-left: 4px
&:hover
color: var(--theme-link)
a+a
margin-top: 8px