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

48 lines
1.2 KiB
Stylus
Raw Normal View History

2022-10-24 23:30:34 +08:00
.l_left>.footer
2022-11-23 23:17:24 +08:00
margin: 0.5rem var(--gap-l) 1rem
2021-03-06 00:01:41 +08:00
.social-wrap
display: grid
grid-gap: 0.25rem 0.25rem
grid-template-columns: repeat(auto-fill, 32px)
a.social
line-height: 0
display: inline-block
padding: 6px
border-radius: 4px
filter: grayscale(100%)
overflow: hidden
background: transparent
trans3: box-shadow background transform
&:hover
color: $color-hover
z-index: 1
2021-06-26 15:02:32 +08:00
filter: unset
2021-03-06 00:01:41 +08:00
transform: translateY(-1px)
background: linear-gradient(145deg, #ddd, #fff)
box-shadow: 2px 4px 8px #ddd, -2px -4px 8px #fff
2021-04-02 20:24:16 +08:00
if hexo-config('style.darkmode') == 'auto'
@media (prefers-color-scheme: dark)
box-shadow: none
2022-10-22 13:59:21 +08:00
if hexo-config('style.darkmode') == 'always'
box-shadow: none
2021-07-04 21:29:06 +08:00
.proj-wrap
display: grid
grid-gap: 0.25rem 0.25rem
a.item
border-radius: 4px
font-size: $fs-13
font-weight: 500
color: var(--text-p2)
background: var(--block)
border: 1px solid var(--block-border)
overflow: hidden
padding: .75em
text-align: center
svg
margin-right: .5em
&:hover
color: $color-hover
background: var(--card)