about summary refs log tree commit diff stats
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-30 21:37:44 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-30 21:37:44 -0400
commit528ccde8915cd1ed7a39e137dd4d98869797956a (patch)
tree0e491254eb7d4e9a4d5c8379e26240f585562b83 /app/assets/stylesheets
parent1fb650f48213117fb3ad3eedc6c041d7269adf05 (diff)
downloadthoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.tar.gz
thoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.tar.bz2
thoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.zip
Styled figures in blog posts
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/main/entries.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index 038273d..bd0b5ba 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss
@@ -55,6 +55,25 @@
55 55
56 img { 56 img {
57 max-width: 100%; 57 max-width: 100%;
58 box-sizing: border-box;
59 }
60
61 figure {
62 background-color: #eee;
63 border: 1px solid #bbb;
64 padding: 0.25em 0.25em 0 0.25em;
65 font-size: 0.75em;
66
67 img {
68 display: block;
69 border: 1px solid #bbb;
70 }
71
72 figcaption {
73 font-style: italic;
74 text-align: center;
75 margin: 0.25em;
76 }
58 } 77 }
59 } 78 }
60} 79}