on master help sign in
Expanded
3a5d267Devine Lu Linvega
links/main.css+1−2
@@ -19,10 +19,9 @@ body #hallway #sidebar > * li { text-transform: lowercase; }
19body #hallway #sidebar > * li span.right { color:#555; float:right; }
19body #hallway #sidebar > * li span.right { color:#555; float:right; }
20body #hallway #sidebar > * li span.right:after { content: " msgs"; }
20body #hallway #sidebar > * li span.right:after { content: " msgs"; }
21
21
22−body #hallway .entry { line-height: 16px; display: block; position: relative; padding-left:140px; }
22+body #hallway .entry { line-height: 16px; display: block; position: relative; padding-left:100px; }
23body #hallway .entry .date { color: #555;display: block;float:right; margin-left:20px; padding-bottom: 16px;}
23body #hallway .entry .date { color: #555;display: block;float:right; margin-left:20px; padding-bottom: 16px;}
24body #hallway .entry .author { font-family: 'input_mono_medium'; position: absolute;left: 0px; }
24body #hallway .entry .author { font-family: 'input_mono_medium'; position: absolute;left: 0px; }
25−body #hallway .entry .author:after { content:":"; }
26body #hallway .entry .body { display: block;border-bottom: 1px solid #333;padding-bottom: 10px;margin-bottom: 10px; }
25body #hallway .entry .body { display: block;border-bottom: 1px solid #333;padding-bottom: 10px;margin-bottom: 10px; }
27body #hallway .entry .body a { text-decoration: underline; }
26body #hallway .entry .body a { text-decoration: underline; }
28body #hallway .entry .body .channel { display: inline-block;border-radius: 1px;font-family: 'input_mono_medium';color: #777; }
27body #hallway .entry .body .channel { display: inline-block;border-radius: 1px;font-family: 'input_mono_medium';color: #777; }
scripts/hallway.js+2−1
@@ -92,8 +92,9 @@ function Hallway (sites) {
92
92
93 const filter = window.location.hash.substr(1).replace(/\+/g, ' ').toLowerCase()
93 const filter = window.location.hash.substr(1).replace(/\+/g, ' ').toLowerCase()
94 const highlight = filter === entry.author.toLowerCase()
94 const highlight = filter === entry.author.toLowerCase()
95+ const origin = feeds[entry.author].path
95
96
96− return `<li class='entry ${highlight ? 'highlight' : ''}'><span class='date'>${timeAgo(Date.parse(entry.date))}</span> <a class='author' href=''>${entry.author}</a> <span class='body'>${entry.body}</span></li>`
97+ return `<li class='entry ${highlight ? 'highlight' : ''}'><span class='date'>${timeAgo(Date.parse(entry.date))}</span> <a class='author' href='${origin}' target='_blank'>${entry.author}</a> <span class='body'>${entry.body}</span></li>`
97 }
98 }
98
99
99 // Feeds
100 // Feeds