added bold to unread
This commit is contained in:
parent
34453cff32
commit
0f9834f7a0
2 changed files with 5 additions and 3 deletions
|
@ -172,8 +172,8 @@ canvas {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
#list .unread h2 {
|
||||
font-weight: normal;
|
||||
#list li.unread:after {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#full > article {
|
||||
|
|
|
@ -49,6 +49,7 @@ function App() {
|
|||
window.location.hash = "#";
|
||||
}
|
||||
|
||||
// FIXME move that code somewhere else
|
||||
$(".info.swipe").ontouchend = function(e) {
|
||||
localStorage.info_swipe = true;
|
||||
$(".info.swipe").addClass("hidden");
|
||||
|
@ -219,8 +220,9 @@ App.prototype.showFull = function(article, slide_back) {
|
|||
|
||||
$(page_id + " .feed_title").innerHTML = article.feed_title;
|
||||
|
||||
$(page_id + " .author").innerHTML = "";
|
||||
if(article.author && article.author.length > 0)
|
||||
$(page_id + " .author").innerHTML = "– " + article.author;
|
||||
$(page_id + " .author").innerHTML = "– " + article.author;
|
||||
|
||||
$(page_id + " .article").innerHTML = article.content;
|
||||
|
||||
|
|
Reference in a new issue