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

32 lines
715 B
Stylus
Raw Normal View History

2022-11-23 21:54:21 +08:00
.widget-wrapper.ghrepo
2022-11-23 23:17:24 +08:00
.repo
display: block
padding: 0.75rem 0.5rem
color: var(--text-p2)
background: var(--card)
border-radius: $border-block
box-shadow: $boxshadow-card
2024-01-03 13:28:04 +08:00
hover-float()
2022-11-23 23:17:24 +08:00
>div+div
margin-top: 0.5rem
span
2022-10-20 22:57:40 +08:00
color: var(--text-p2)
2022-11-23 23:17:24 +08:00
svg
margin-right: 4px
.flex-row
display: flex
align-items: center
.repo-name
font-size: $fs-14
font-weight: 700
color: var(--text-p1)
.repo-desc
font-size: $fs-13
margin-left: 2px
margin-right: 2px
.grid
font-size: $fs-13
display: grid
grid-gap: 2px
grid-template-columns: repeat(auto-fill, "calc((100% - 2 * %s) / 3)" % 2px)