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

40 lines
932 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
.l_left
2021-02-19 23:33:19 +08:00
display: flex
flex-direction: column
2021-07-13 23:16:20 +08:00
word-break: break-all
text-align: justify
2022-11-23 23:17:24 +08:00
height: 100vh
2022-10-29 19:21:33 +08:00
.header
margin: var(--gap-l) var(--gap-l) 0
2022-11-19 17:42:35 +08:00
margin-top: "calc(2 * %s)" % var(--gap-l)
2022-10-29 20:04:08 +08:00
@media screen and (min-width: $device-mobile-max)
2022-11-23 21:54:21 +08:00
>.widgets:first-child>.widget-wrapper:first-child
2022-10-29 20:04:08 +08:00
margin-top: "calc(2 * %s)" % var(--gap-l)
2022-10-13 13:57:57 +08:00
@media screen and (max-width: $device-mobile-max)
2022-10-29 20:04:08 +08:00
height: 100vh
2022-10-29 19:21:33 +08:00
2021-02-19 23:33:19 +08:00
2021-07-14 14:54:06 +08:00
.l_left[layout=wiki]
padding-bottom: 0
2022-10-29 19:21:33 +08:00
height: 100vh
2022-10-13 13:57:57 +08:00
@media screen and (max-width: $device-mobile-max)
2022-10-29 20:04:08 +08:00
height: 100vh
2021-07-14 14:54:06 +08:00
.widgets >:last-child
margin-bottom: 6rem
2022-12-16 14:53:08 +08:00
.l_left .widgets .widget-wrapper.logo-wrap.wiki .widget-body
display: flex
2022-11-19 16:48:44 +08:00
margin-bottom: 1.5rem
2021-06-26 15:02:32 +08:00
flex-direction: column
align-items: flex-start
a.wiki-home
2022-11-19 16:48:44 +08:00
margin-bottom: 0.5rem
2021-07-08 23:41:57 +08:00
color: var(--text-p1)
2021-07-03 22:33:52 +08:00
svg
margin-right: 2px
2021-06-26 15:02:32 +08:00
&:hover
color: $color-hover
filter: unset !important
2021-02-19 23:33:19 +08:00