aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo DiNardi <angelo@dinardi.name>2017-05-28 11:44:21 -0700
committerAngelo DiNardi <angelo@dinardi.name>2017-06-21 00:16:26 -0700
commite75aae0684addc9819c5b7a6895299c79d999adb (patch)
treeb4250bc1e02b05aaa79c095947bfbf7caea9d377
parentd96c42c6804052c6ea48b6833b6d8b110d3baad8 (diff)
downloadpatchfoo-e75aae0684addc9819c5b7a6895299c79d999adb.tar.gz
patchfoo-e75aae0684addc9819c5b7a6895299c79d999adb.zip
Adjust some styles to improve readability.
- Call out blockquotes - Keep images constrained - Prevent long posts from forcing the page out.
-rw-r--r--static/styles.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/static/styles.css b/static/styles.css
index ff94abf..1bf8b1c 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -12,8 +12,22 @@ section {
font-family: Symbola;
}
-.ssb-post img {
+.ssb-post img,
+.ssb-issue img {
max-width: 100%;
+ max-height: 500px;
+}
+
+.ssb-post blockquote {
+ border-left: 4px #e0e0e0 solid;
+ color: #444;
+ background-color: #f9f9f9;
+ padding: .2rem .2rem .2rem 1rem;
+ margin: .5rem 0;
+}
+
+.ssb-post-text {
+ word-break: break-word;
}
img.ssb-emoji {