Skip to content

Commit

Permalink
optimized style for <pre> and <code> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Astrian Zheng committed Dec 2, 2019
1 parent 0dc698f commit 6c9cee1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion asset/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,12 @@ a:hover.item{
font-weight: 500;
}
.article.huge .post .body pre{
background-color: #042f39;
background-color: #242424;
color: white;
border-radius: 4px;
padding: 8px;
border: #042f39 1px solid;
box-shadow: inset 0px 1px 5px #000;
}

.pagenavi {
Expand Down Expand Up @@ -366,6 +369,11 @@ span.smallcaps {
font-size: 20px;
line-height: 30px;
}
.article.huge .post h2{
margin-top: 25px;
margin-bottom: 10px;
font-weight: 500;
}

.article.normal {
flex-direction: row-reverse;
Expand Down

0 comments on commit 6c9cee1

Please sign in to comment.