mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1,240 @@
|
||||
#sidebar
|
||||
background var(--efu-maskbg)
|
||||
|
||||
#menu-mask
|
||||
position fixed
|
||||
z-index 1001
|
||||
display none
|
||||
width 100%
|
||||
height 100%
|
||||
background var(--efu-maskbg)
|
||||
-webkit-backdrop-filter saturate(180%) blur(20px)
|
||||
backdrop-filter saturate(180%) blur(20px)
|
||||
transform translateZ(0)
|
||||
animation .6s ease 0s 1 normal none running to_show
|
||||
|
||||
#sidebar-menus
|
||||
position fixed
|
||||
top 0
|
||||
right -300px
|
||||
overflow hidden auto
|
||||
width 300px
|
||||
height 100%
|
||||
background var(--efu-maskbgdeep)
|
||||
transition all .5s ease 0s
|
||||
z-index 1001
|
||||
border-left var(--style-border-always)
|
||||
|
||||
+minWidth768()
|
||||
display none
|
||||
|
||||
+maxWidth768()
|
||||
.back-menu-list-groups .back-menu-list .back-menu-item
|
||||
width calc(50% - 16px)
|
||||
|
||||
&:hover
|
||||
background var(--efu-lighttext)
|
||||
|
||||
.menus_items
|
||||
li
|
||||
.site-page
|
||||
font-weight 400
|
||||
|
||||
.site-page:hover
|
||||
background var(--efu-main) !important
|
||||
color var(--efu-white)
|
||||
|
||||
.site-page span:hover
|
||||
color var(--efu-white)
|
||||
|
||||
/ .site-data
|
||||
display flex
|
||||
width 100%
|
||||
justify-content flex-start
|
||||
margin 12px 0 0 0
|
||||
padding .6rem 16px
|
||||
|
||||
.data-item
|
||||
display flex
|
||||
justify-content flex-start
|
||||
margin-right 36px
|
||||
|
||||
.data-item-link > a
|
||||
display flex
|
||||
flex-direction column
|
||||
align-items flex-start
|
||||
|
||||
.data-item-link .length-num
|
||||
color var(--efu-fontcolor)
|
||||
font-size 20px
|
||||
font-weight 700
|
||||
line-height 1
|
||||
|
||||
.data-item-link .headline
|
||||
font-size 12px
|
||||
color var(--efu-secondtext)
|
||||
|
||||
.menus_items
|
||||
padding 0 16px
|
||||
|
||||
.site-page
|
||||
position relative
|
||||
display block
|
||||
padding 0
|
||||
color var(--efu-fontcolor)
|
||||
cursor pointer
|
||||
font-size 14px
|
||||
font-weight 700
|
||||
|
||||
.menus_item > .site-page
|
||||
display flex
|
||||
font-size 12px
|
||||
color var(--efu-secondtext)
|
||||
|
||||
.expand
|
||||
position absolute
|
||||
top .78em
|
||||
right .4rem
|
||||
transition transform .3s ease 0s
|
||||
|
||||
&.hide
|
||||
transform rotate(90deg) !important
|
||||
|
||||
.menus_item_child
|
||||
margin 0 -4px
|
||||
list-style none
|
||||
display flex
|
||||
flex-direction row
|
||||
flex-wrap wrap
|
||||
|
||||
.site-page.child
|
||||
display flex
|
||||
flex-direction column
|
||||
align-items center
|
||||
padding 8px
|
||||
border-radius 8px
|
||||
border var(--style-border-always)
|
||||
background var(--efu-card-bg)
|
||||
|
||||
li
|
||||
width calc(50% - 8px)
|
||||
margin 4px
|
||||
|
||||
.site-page.child span
|
||||
line-height 1
|
||||
margin-top 8px
|
||||
|
||||
> hr
|
||||
display none
|
||||
|
||||
&.open
|
||||
transform translate3d(-100%, 0, 0)
|
||||
|
||||
.back-menu-list-groups
|
||||
padding 0 16px
|
||||
|
||||
.back-menu-list-title
|
||||
font-size 12px
|
||||
color var(--efu-secondtext)
|
||||
|
||||
.back-menu-list
|
||||
width calc(100% + 16px)
|
||||
justify-content flex-start
|
||||
margin 0 -8px
|
||||
|
||||
.back-menu-item
|
||||
background var(--efu-card-bg)
|
||||
border var(--style-border-always)
|
||||
border-radius 8px
|
||||
|
||||
.back-home-button
|
||||
display none
|
||||
|
||||
> .author-avatar
|
||||
padding 1.3rem 1.5rem 0
|
||||
text-align center
|
||||
|
||||
img
|
||||
width 110px
|
||||
height 110px
|
||||
border-radius 70px
|
||||
transition all .5s ease 0s
|
||||
|
||||
&:hover
|
||||
transform rotate(360deg)
|
||||
|
||||
hr
|
||||
margin 1rem auto
|
||||
|
||||
.card-tag-cloud
|
||||
padding 0 16px
|
||||
display flex
|
||||
white-space nowrap
|
||||
flex-direction row
|
||||
gap .5rem
|
||||
flex-wrap wrap
|
||||
margin-bottom 60px
|
||||
|
||||
a
|
||||
color var(--efu-fontcolor) !important
|
||||
padding 2px 8px 2px 12px
|
||||
border-radius 8px
|
||||
border var(--style-border-always)
|
||||
background var(--efu-card-bg)
|
||||
font-size 14px !important
|
||||
|
||||
sup
|
||||
opacity .6
|
||||
margin-left 4px
|
||||
|
||||
span.sidebar-menu-item-title
|
||||
font-size 12px
|
||||
color var(--efu-secondtext)
|
||||
margin-left 16px
|
||||
|
||||
.sidebar-menu-item
|
||||
display flex
|
||||
flex-direction column
|
||||
padding 0 16px
|
||||
margin-bottom 6px
|
||||
|
||||
span.darkmode_switchbutton
|
||||
padding 4px 8px
|
||||
|
||||
[data-theme="dark"] &
|
||||
background var(--efu-orange)
|
||||
color var(--efu-white)
|
||||
|
||||
span.menu-child
|
||||
width 100%
|
||||
background var(--efu-card-bg)
|
||||
border-radius 8px
|
||||
border var(--style-border-always)
|
||||
display flex
|
||||
align-items center
|
||||
font-size 14px
|
||||
|
||||
i
|
||||
width 24px
|
||||
height 24px
|
||||
display flex
|
||||
align-items center
|
||||
justify-content center
|
||||
|
||||
span.menu-child span
|
||||
margin-left 10px
|
||||
|
||||
.webinfo
|
||||
padding 0 16px
|
||||
display flex
|
||||
white-space nowrap
|
||||
flex-direction column
|
||||
|
||||
.webinfo-item
|
||||
justify-content space-between
|
||||
|
||||
.menus_items .site-page span:hover
|
||||
color var(--efu-fontcolor)
|
||||
|
||||
#toggle-sidebar
|
||||
bottom 80px
|
||||
Reference in New Issue
Block a user