style updates

Fri, 24 Mar 2017 12:50:31 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 24 Mar 2017 12:50:31 -0400
changeset 533
55a8ac65cd18
parent 532
210500a8d0f3
child 534
6a8fc81c470c

style updates

.js/lobste.rs.js file | annotate | diff | comparison | revisions
--- a/.js/lobste.rs.js
+++ b/.js/lobste.rs.js
@@ -3,10 +3,10 @@
 if (document.querySelector('div.story_content')) {
   var sheet = document.createElement('style')
   sheet.innerHTML = "\
-    ol.list li.story { height: 7.5em; } \
+    ol.list li.story { height: 9em; } \
     li.story div.byline { color: #777; } \
     li.story div.byline a { color: #777; } \
-    li.story div.story_content { color: #999; font-size: 95%; }"
+    li.story div.story_content { color: #999; font-size: 95%; max-height: 3em !important; }"
   document.body.appendChild(sheet)
 
   var bylines = document.querySelectorAll('div.story_content + div.byline')

mercurial