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

37 lines
908 B
Stylus
Raw Normal View History

2022-11-23 21:54:21 +08:00
.widget-wrapper.ghrepo
2022-10-20 22:57:40 +08:00
.widget-body
a.repo
display: block
2022-10-26 22:44:50 +08:00
padding: 0.75rem 0.5rem
2022-10-20 22:57:40 +08:00
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
2022-10-26 22:44:50 +08:00
box-shadow: $boxshadow-card
trans2 box-shadow transform
>div+div
margin-top: 0.5rem
2022-10-20 22:57:40 +08:00
span
color: var(--text-p2)
&:hover
2022-10-26 22:44:50 +08:00
box-shadow: $boxshadow-card-float
transform: translateY(-1px)
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-26 22:44:50 +08:00
color: var(--text-p1)
2022-10-20 22:57:40 +08:00
.repo-desc
font-size: $fs-13
2022-10-26 22:44:50 +08:00
margin-left: 2px
margin-right: 2px
2022-10-20 22:57:40 +08:00
.grid
font-size: $fs-13
display: grid
grid-gap: 2px
grid-template-columns: repeat(auto-fill, "calc((100% - 2 * %s) / 3)" % 2px)