hexo-theme-stellar/source/css/_layout/sidebar/repo_info.styl

29 lines
682 B
Stylus
Raw Normal View History

2021-07-04 22:53:55 +08:00
.widget-wrap#repo-info
.widget-body
2021-07-26 22:26:46 +08:00
>.items
margin: 4px 0
border: 1px solid var(--block-border)
border-radius: $border-block
background: var(--block)
overflow: hidden
2021-07-14 14:54:06 +08:00
.line
margin: 0
height: 1px
background: var(--block-border)
&+.line,&:first-child,&:last-child
display: none
a.item-link
2021-07-04 22:53:55 +08:00
color: var(--text-p2)
font-weight: 500
2021-07-14 14:54:06 +08:00
display: flex
2021-07-04 22:53:55 +08:00
align-items: center
2021-07-14 14:54:06 +08:00
padding: 0.5rem .5rem
2021-07-07 01:18:13 +08:00
font-size: $fs-13
2021-07-14 14:54:06 +08:00
justify-content: space-between
flex-direction: row-reverse
2021-07-04 22:53:55 +08:00
svg
2021-07-07 01:18:13 +08:00
width: 1em
height: 1em
2021-07-04 22:53:55 +08:00
a:hover
2021-07-29 23:14:04 +08:00
background: var(--block-hover)