aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-02-01 21:31:05 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-02-01 21:31:05 +0800
commit57c8a3adeaa00a603bb9059cdef0349bb61c1df1 (patch)
treebfda5107a4112d566f85e28e1679fe76c04714b7 /src/css/_partial
parent5a5d0fe0d9d144af434f8d6277a7bdc85eda2db4 (diff)
feat: support 'right' and 'left' class value for the built-in `figure`
Diffstat (limited to 'src/css/_partial')
-rw-r--r--src/css/_partial/_post/_content.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/css/_partial/_post/_content.scss b/src/css/_partial/_post/_content.scss
index ddc809e..ceed8a3 100644
--- a/src/css/_partial/_post/_content.scss
+++ b/src/css/_partial/_post/_content.scss
@@ -105,6 +105,14 @@
text-align: center;
}
+ &.right {
+ text-align: right;
+ }
+
+ &.left {
+ text-align: left;
+ }
+
figcaption h4 {
color: #b5b5b5;
font-size: 0.9rem;