aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/scripts3.js5
-rw-r--r--web/style3.css6
2 files changed, 9 insertions, 2 deletions
diff --git a/web/scripts3.js b/web/scripts3.js
index 8a33351e..ca1fafa1 100644
--- a/web/scripts3.js
+++ b/web/scripts3.js
@@ -391,14 +391,19 @@ $(document).ready(function() {
$(window).scroll(function() {
var windowTop = $(window).scrollTop();
var column=$('#column');
+ var rcol=$('#rcol');
if (stickyTop < windowTop) {
if(column.hasClass('fix')==false) {
column.removeClass('abs');
column.addClass('fix');
+ rcol.removeClass('abs');
+ rcol.addClass('fix');
}
} else if(column.hasClass('fix')==true) {
column.removeClass('fix');
column.addClass('abs');
+ rcol.removeClass('fix');
+ rcol.addClass('abs');
}
});
}
diff --git a/web/style3.css b/web/style3.css
index 8e8e82e8..6f0b42bf 100644
--- a/web/style3.css
+++ b/web/style3.css
@@ -92,7 +92,7 @@ hr { height: 1px; background: #CCC; }
/********/
-#rcol { float: left; margin-left: -200px; }
+#rcol { width: 190px; top: 0; margin: 10px 0 0 810px; padding-top: 10px; overflow: hidden; font-size: smaller; }
/********/
@@ -134,8 +134,10 @@ hr { height: 1px; background: #CCC; }
.msg-header { margin-bottom: 6px; }
.msg-ts { clear: both; float: none; margin: 0 0 4px 58px; }
.msg-txt { clear: both; margin: 8px 0 0 0; }
+ .msg-media { overflow: scroll; }
.msg-media,.msg-links,.msg-comment,.msg-comments,.msg-recomms { margin-left: 0px; }
.fix,.abs { position: static; }
- #column { clear: both; margin: 0 auto; width: 50%; }
+ #column { clear: both; margin: 0 3%; width: 44%; float: left; }
+ #rcol { float: left; width: 44%; margin: 20px 3% 0 3%; }
} \ No newline at end of file