changeset 287:422270e94adc

New flag attached to `time' has low visibility. Attached to `td'.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 15 Aug 2016 13:45:59 +0859
parents 1c4f13f0813e
children d50996dc2664
files examples/common/default/default.css s4-blog.sh
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/examples/common/default/default.css	Mon Aug 15 11:15:20 2016 +0859
+++ b/examples/common/default/default.css	Mon Aug 15 13:45:59 2016 +0859
@@ -87,8 +87,8 @@
     width: 400px; height: 300px; max-width: 50em; max-height: 20em;
     padding: 0; border: 0;
 }
-.blog_replies span.new {	/* New Article from last visit */
-    background: white; color: red;
+.blog_replies td.new {	/* New Article from last visit */
+    background: white
 }
 p.profimg {float: left; max-width: 400px; max-height: 400px;
 	   overflow: hidden; margin-right: 1em;
--- a/s4-blog.sh	Mon Aug 15 11:15:20 2016 +0859
+++ b/s4-blog.sh	Mon Aug 15 13:45:59 2016 +0859
@@ -186,9 +186,9 @@
 	 name=\"notifyto\" value=\"$uid\">返信通知送信</label>"
     cat<<EOF |
 <tr id="$id">
-<td>${edit:+<a href="$elink+$edit">編集</a> }#$aid
+<td${new:+ class="new"}>${edit:+<a href="$elink+$edit">編集</a> }#$aid
 <a href="$hlink+$uid">$uname</a>
-<span${new:+ class="new"}>$tm</span>
+$tm
 ${notify:+$nt}</td><td id="$aid">`echo "$hte"|unhexize|htmlescape`
 EOF
     hreflink

yatex.org