.js/lobste.rs.js

changeset 397
466b95c31b1e
parent 375
195bf106146f
child 510
809d4a3da079
equal deleted inserted replaced
396:2f02fa724f42 397:466b95c31b1e
1 // If story previews are enabled, set regular spacing and place byline below 1 // If story previews are enabled, set regular spacing and place byline below
2 // title. 2 // title.
3 if (document.querySelector('div.story_content')) { 3 if (document.querySelector('div.story_content')) {
4 var sheet = document.createElement('style') 4 var sheet = document.createElement('style')
5 sheet.innerHTML = "\ 5 sheet.innerHTML = "\
6 li.story { height: 7.5em; } \ 6 ol.list li.story { height: 7.5em; } \
7 li.story div.byline { color: #777; } \ 7 li.story div.byline { color: #777; } \
8 li.story div.byline a { color: #777; } \ 8 li.story div.byline a { color: #777; } \
9 li.story div.story_content { color: #999; font-size: 95%; }" 9 li.story div.story_content { color: #999; font-size: 95%; }"
10 document.body.appendChild(sheet) 10 document.body.appendChild(sheet)
11 11

mercurial