feat: add theme color and support mobile devices

This commit is contained in:
Justineo
2021-10-22 12:15:12 +08:00
parent c639dc2028
commit 9411435247
5 changed files with 128 additions and 13 deletions

View File

@@ -35,11 +35,18 @@ input
font inherit
color inherit
a:focus
outline none
a
-webkit-tap-highlight-color transparent
&:focus
outline none
main
line-height 1.5
.DocSearch-Container
backdrop-filter blur(4px)
@media (max-width 480px)
body
margin 0

View File

@@ -141,6 +141,8 @@ margin-y($top, $bottom = $top)
backdrop-filter blur(4px)
th
position relative
&::after
content ""
position absolute
@@ -353,3 +355,33 @@ margin-y($top, $bottom = $top)
12%
80%
background-color #f2f7ff
@media (max-width 480px)
.post
padding 30px
[data-markdown]
h1
h1&
font-size 24px
h2
h2&
font-size 20px
h3
h3&
font-size 18px
h4
h4&
font-size 16px
h5
h5&
font-size 14px
table&
display block
max-width 100%
width fit-content
overflow-x auto