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

34 lines
815 B
Stylus
Raw Normal View History

2022-10-20 22:57:40 +08:00
.widget-wrap#repo-info
.widget-body
a.repo
display: block
border: 1px solid var(--block-border)
color: var(--text-p2)
2022-10-22 13:03:47 +08:00
background: var(--card)
2022-10-20 22:57:40 +08:00
border-radius: $border-block
>div
2022-10-22 13:03:47 +08:00
margin: 0.5rem
2022-10-20 22:57:40 +08:00
span
color: var(--text-p2)
&:hover
2022-10-22 13:03:47 +08:00
background: var(--block)
2022-10-20 22:57:40 +08:00
a.repo
svg
margin-right: 4px
.flex-row
display: flex
align-items: center
.repo-name
font-size: $fs-14
font-weight: 700
2022-10-22 13:03:47 +08:00
margin: 0.75rem 0.5rem
2022-10-20 22:57:40 +08:00
.repo-desc
font-size: $fs-13
2022-10-22 13:03:47 +08:00
margin: 0.75rem 0.5rem
2022-10-20 22:57:40 +08:00
.grid
font-size: $fs-13
2022-10-23 14:12:44 +08:00
margin: 0.75rem 0.5rem
2022-10-20 22:57:40 +08:00
display: grid
grid-gap: 2px
grid-template-columns: repeat(auto-fill, "calc((100% - 2 * %s) / 3)" % 2px)