diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-30 21:37:44 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-30 21:37:44 -0400 |
| commit | 528ccde8915cd1ed7a39e137dd4d98869797956a (patch) | |
| tree | 0e491254eb7d4e9a4d5c8379e26240f585562b83 | |
| parent | 1fb650f48213117fb3ad3eedc6c041d7269adf05 (diff) | |
| download | thoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.tar.gz thoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.tar.bz2 thoughts-528ccde8915cd1ed7a39e137dd4d98869797956a.zip | |
Styled figures in blog posts
| -rw-r--r-- | app/assets/stylesheets/main/entries.scss | 19 |
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 | } |
