Skip to content

Commit

Permalink
ui: optimize markdown style
Browse files Browse the repository at this point in the history
  • Loading branch information
XPoet committed Nov 24, 2023
1 parent 88985c2 commit 3540d32
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions source/css/common/markdown.styl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
justify-content flex-start
box-sizing border-box
margin 1.4rem 0
padding 0.8rem
color var(--text-color-3)
background var(--background-color-2)
border-left 0.4rem solid var(--text-color-4)
Expand All @@ -21,7 +22,6 @@
footer {
position relative
box-sizing border-box
padding 0.4rem 0.4rem 0.4rem 0.8rem !important
}

footer {
Expand Down Expand Up @@ -265,7 +265,6 @@
display block
box-sizing border-box
max-width 100%
margin var(--post-img-align)
box-shadow 0 0 0.2rem var(--shadow-color)
cursor zoom-in
opacity 1
Expand All @@ -280,6 +279,11 @@
}


& > img {
margin var(--post-img-align)
}


& > .table-container {
box-sizing border-box
width 100%
Expand All @@ -298,26 +302,31 @@
}
}


td
th {
padding 0
}


td {
color var(--text-color-3)
}


th {
color var(--text-color-2)
font-weight 600
}


td
th {
padding 0.5rem 1rem
border 0.1rem solid var(--border-color)
}


tr {
background-color var(--background-color-1)
border 0.1rem solid var(--border-color)
Expand Down

0 comments on commit 3540d32

Please sign in to comment.