Skip to content

Commit

Permalink
update blockquote styles
Browse files Browse the repository at this point in the history
  • Loading branch information
minoritea committed Jul 13, 2021
1 parent b7e7d51 commit 6a9732b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1 class="article-title">{{ .Title }}</h1>
{{ end }}
</div>
</div>
<div>{{ .Content }}</div>
<div class="article-body">{{ .Content }}</div>
</article>
</div>
<div class="right"></div>
Expand Down
12 changes: 11 additions & 1 deletion static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ code, pre {
font-family: SFMono-Regular, Consolas, 'Courier New', 'BIZ UDGothic', Meiryo, monospace;
}

blockquote {
border-left: 4px solid #b0b0b0;
background: #d0d0d0;
padding: 1em 2em;
margin: 0 1em 2em 1em;
}

blockquote > p {
}

hr {
height:0;
border:0;
Expand Down Expand Up @@ -54,7 +64,7 @@ table tr:nth-child(even) td {
padding: 2em 0;
}

.article p {
.article-body > p {
line-height: 2em;
margin-bottom: 2.5em;
}
Expand Down

0 comments on commit 6a9732b

Please sign in to comment.