aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-07-23 03:39:32 +0700
committerGravatar Ugnich Anton2013-07-23 03:39:32 +0700
commitc449c1fe8b43f41714fe0cd87bdacf03a68587fe (patch)
tree59feeb6c4c8c5e4f9cc2697f0bd27d06c05e6514 /web
parentc37d78969da40f4238573bbee2c533c878ea3844 (diff)
remove "related tags"
/dev/
Diffstat (limited to 'web')
-rw-r--r--web/scripts4.js17
-rw-r--r--web/style3.css2
-rw-r--r--web/style4.css7
3 files changed, 25 insertions, 1 deletions
diff --git a/web/scripts4.js b/web/scripts4.js
new file mode 100644
index 00000000..f417dfc4
--- /dev/null
+++ b/web/scripts4.js
@@ -0,0 +1,17 @@
+function blogsLoadPM(uname) {
+ $.getJSON('http://api.juick.com/pm?hash='+hash+'&uname='+uname+'&callback=?').done(function(data) {
+ var ul=$('#content>ul');
+ ul.empty();
+ $("p.page").hide();
+ $.each(data,function(i,item) {
+ var li=$("<li/>");
+ if(item.user) {
+ li.attr("class","pm-in");
+ } else {
+ li.attr("class","pm-out");
+ }
+ li.text(item.body);
+ li.appendTo(ul);
+ });
+ });
+}
diff --git a/web/style3.css b/web/style3.css
index db4efd7f..e240160a 100644
--- a/web/style3.css
+++ b/web/style3.css
@@ -106,7 +106,7 @@ blockquote { border-left: 1px dashed #CCC; margin: 10px 0 10px 10px; padding-lef
#rcol { width: 190px; top: 0; margin: 10px 0 0 810px; padding-top: 10px; overflow: hidden; font-size: smaller; }
#rcol h3 { margin: 8px 0; }
-#reltags li { font-size: larger; margin: 2px 0 2px 10px; }
+#rcol p { font-size: small; line-height: 140%; }
/********/
diff --git a/web/style4.css b/web/style4.css
new file mode 100644
index 00000000..91a219d0
--- /dev/null
+++ b/web/style4.css
@@ -0,0 +1,7 @@
+.pm-in,.pm-out { background: #FFF; border: 1px solid #E0E0E0; margin: 10px 0; padding: 10px; }
+.pm-in { width: 85%; }
+.pm-out { margin-left: 15%; }
+
+#pmulist li { overflow: hidden; }
+#pmulist img { width: 32px; height: 32px; margin-right: 5px; vertical-align: middle; }
+#pmulist .unreadcnt { float: right; margin-top: 4px; background: #CCC; padding: 1px 3px; }