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,51 @@
|
||||
figure.highlight
|
||||
table::-webkit-scrollbar
|
||||
color var(--efu-secondbg)
|
||||
height 6px
|
||||
background var(--efu-hl-bg)
|
||||
border-radius 6px
|
||||
display initial
|
||||
|
||||
.keyword
|
||||
.attr
|
||||
.variable
|
||||
.literal
|
||||
.property
|
||||
color $highlight-variable-light
|
||||
|
||||
.number
|
||||
color $highlight-number-light
|
||||
|
||||
.string
|
||||
color $highlight-string-light
|
||||
|
||||
.built_in
|
||||
.title
|
||||
.params
|
||||
.name
|
||||
color $highlight-title-light
|
||||
|
||||
.emphasis
|
||||
color $highlight-emphasis-light
|
||||
|
||||
[data-theme=dark] &
|
||||
.keyword
|
||||
.attr
|
||||
.variable
|
||||
.property
|
||||
color $highlight-variable-dark
|
||||
|
||||
.number
|
||||
color $highlight-number-dark
|
||||
|
||||
.string
|
||||
color $highlight-string-dark
|
||||
|
||||
.built_in
|
||||
.built_in
|
||||
.title
|
||||
.params
|
||||
color $highlight-title-dark
|
||||
|
||||
.emphasis
|
||||
color $highlight-emphasis-dark
|
||||
@@ -0,0 +1,46 @@
|
||||
@import "diff"
|
||||
figure
|
||||
pre
|
||||
margin 0
|
||||
padding 8px 0
|
||||
border none
|
||||
table
|
||||
display block
|
||||
border none
|
||||
overflow-y hidden
|
||||
overflow-x auto
|
||||
|
||||
td
|
||||
padding 0
|
||||
border none
|
||||
height 100%
|
||||
|
||||
&.gutter
|
||||
opacity .6
|
||||
user-select none
|
||||
min-width initial
|
||||
|
||||
pre
|
||||
overflow auto
|
||||
line-height 1.6
|
||||
margin 0
|
||||
padding 8px .5rem
|
||||
border none
|
||||
color var(--efu-secondtext)
|
||||
background var(--efu-secondbg)
|
||||
border-right var(--style-border-always)
|
||||
text-align center
|
||||
|
||||
&.code
|
||||
width 100%
|
||||
display flex
|
||||
position relative
|
||||
|
||||
pre
|
||||
padding-right .5rem
|
||||
padding-left .5rem
|
||||
width 100%
|
||||
|
||||
.line
|
||||
&.marked
|
||||
background-color: rgba(97, 97, 97, .314)
|
||||
Reference in New Issue
Block a user