You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.6 KiB

1 year ago
// markdown使css
.markdown-container
display: flex
flex-direction: row
justify-content: space-between
gap: 16px
1 year ago
flex: 1
overflow: auto
width: 97%
.article-container
background-color: rgb(231, 225, 199)
height: fit-content
padding: 1em 40px
display: flex
flex-direction: column
width: 100%
overflow-x: hidden
justify-content: space-between
font-size: 18px
.article-header
display: flex
flex-direction: row
margin: 1em 0 1em
1 year ago
gap: 3em
align-items: flex-start
1 year ago
$post-width = 384px
$post-heigth = 216px
1 year ago
.cover-container
width: 50%
img.post-cover
width: 100%
object-fit: cover
transition: all 0.2s linear 0s
border-color: #4a473e91;
border-style: solid;
border-width: 2px;
1 year ago
.article-info
1 year ago
display: flex
flex-direction: column
1 year ago
gap: 1em
1 year ago
width: 100%
1 year ago
.h-line
margin-left: -2%
1 year ago
width: 104%
1 year ago
.article-title
1 year ago
font-size: 2.5em
1 year ago
font-weight: bold
.info-box
line-height: 1.6em
font-family: 'Consolas'
.time-info, .stat-info
font-size: 14px
1 year ago
.big
1 year ago
font-size: 16px
.author
font-size: 16px
font-weight: bold
hr
border: 1.3px solid rgba(0,0,0,0.16)
width: 104%
margin-left: -2%
1 year ago
.side-information
width: 24%
position: sticky
top: 16px
1 year ago
align-self: flex-start
1 year ago
.wl-panel
border-radius: 0