[opt] css
This commit is contained in:
parent
540f93eaed
commit
12d8e0f66b
|
@ -31,19 +31,20 @@ h1.article-title
|
||||||
h1,h2,h3,h4,h5,h6
|
h1,h2,h3,h4,h5,h6
|
||||||
text-align: center
|
text-align: center
|
||||||
>h2:not([class])
|
>h2:not([class])
|
||||||
align-self: center
|
border-bottom: none
|
||||||
border-bottom-style: dashed
|
|
||||||
border-bottom-color: $color-accent
|
|
||||||
>:first-child:not(h1)
|
>:first-child:not(h1)
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
h1:not(:first-child)
|
h1:not(:first-child)
|
||||||
margin-top: 2em
|
margin-top: 2em
|
||||||
h2:first-child
|
h2:first-child
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
h2
|
||||||
|
margin-bottom: 1rem
|
||||||
|
h3,h4,h5,h6
|
||||||
|
margin-bottom: .5rem
|
||||||
h2,h3,h4,h5,h6
|
h2,h3,h4,h5,h6
|
||||||
color: var(--text-p0)
|
color: var(--text-p0)
|
||||||
padding-top: 1rem
|
padding-top: 1rem
|
||||||
margin-bottom: .5rem
|
|
||||||
line-height: 1.8
|
line-height: 1.8
|
||||||
&:hover
|
&:hover
|
||||||
a.headerlink:before
|
a.headerlink:before
|
||||||
|
|
|
@ -9,13 +9,11 @@
|
||||||
align-items: center
|
align-items: center
|
||||||
border-bottom: none
|
border-bottom: none
|
||||||
font-weight: 700
|
font-weight: 700
|
||||||
&:first-child
|
padding: 16px 24px
|
||||||
margin-top: 1.5rem
|
|
||||||
a.headerlink:before
|
a.headerlink:before
|
||||||
content: ''
|
content: ''
|
||||||
padding: 16px 24px 8px 24px
|
|
||||||
@media screen and (max-width: $device-mobile)
|
@media screen and (max-width: $device-mobile)
|
||||||
padding: 16px 20px 8px
|
padding: 12px 20px
|
||||||
line-height: 1.2
|
line-height: 1.2
|
||||||
|
|
||||||
.md-text .tag-plugin.quot .content
|
.md-text .tag-plugin.quot .content
|
||||||
|
@ -50,7 +48,7 @@
|
||||||
border-left: 6px solid $color-accent
|
border-left: 6px solid $color-accent
|
||||||
&:after
|
&:after
|
||||||
right: 0
|
right: 0
|
||||||
bottom: 0
|
bottom: 8px
|
||||||
border-right: 6px solid $color-accent
|
border-right: 6px solid $color-accent
|
||||||
border-bottom: 6px solid $color-accent
|
border-bottom: 6px solid $color-accent
|
||||||
h1.content[type=text]
|
h1.content[type=text]
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
padding: 0.5rem
|
padding: 0.5rem
|
||||||
line-height: 1
|
line-height: 1
|
||||||
box-sizing: border-box
|
box-sizing: border-box
|
||||||
|
font-family: $ff-body
|
||||||
border-radius: $border-block
|
border-radius: $border-block
|
||||||
background-color: var(--card)
|
background-color: var(--card)
|
||||||
color: var(--text-p0)
|
color: var(--text-p0)
|
||||||
|
|
Loading…
Reference in New Issue