Skip to content

Commit ca16534

Browse files
committed
Style image and blockquoutes within post
1 parent 3f2981c commit ca16534

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

frontend/styles/index.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,13 @@ hr {
8282
border-top: 2px dotted #bbb;
8383
margin: 3rem 0;
8484
}
85+
86+
87+
article blockquote p {
88+
text-align: center;
89+
}
90+
91+
article img {
92+
width: 100%;
93+
border: 0.125rem dashed black;
94+
}

src/_layouts/post.liquid

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ layout: default
44

55
<h1>{{ page.title }}</h1>
66

7-
{{ content }}
7+
<article>
8+
{{ content }}
9+
</article>
810

911
<!-- buy me a coffee -->
1012
<style>.bmc-button img{width: 27px !important;margin-bottom: 1px !important;box-shadow: none !important;border: none !important;vertical-align: middle !important;}.bmc-button{line-height: 36px !important;height:37px !important;text-decoration: none !important;display:inline-flex !important;color:#ffffff !important;background-color:#BB5794 !important;border-radius: 3px !important;border: 1px solid transparent !important;padding: 1px 9px !important;font-size: 22px !important;letter-spacing:0.6px !important;box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;margin: 0 auto !important;font-family:'Cookie', cursive !important;-webkit-box-sizing: border-box !important;box-sizing: border-box !important;-o-transition: 0.3s all linear !important;-webkit-transition: 0.3s all linear !important;-moz-transition: 0.3s all linear !important;-ms-transition: 0.3s all linear !important;transition: 0.3s all linear !important;}.bmc-button:hover, .bmc-button:active, .bmc-button:focus {-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;text-decoration: none !important;box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;opacity: 0.85 !important;color:#ffffff !important;}</style><link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet">

0 commit comments

Comments
 (0)