From 236a3b8ba97d7e4de5fe8e3628a7fef92a8afa4d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 28 Sep 2016 22:44:14 -0700 Subject: [PATCH] Be slightly more specific when overriding 4chan CSS. --- src/css/style.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index 8b53fba18..8c4d27511 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -74,7 +74,8 @@ body.hasDropDownNav{ } /* 4chan style fixes */ -div.opContainer, div.op { +/* overrides 4chan CSS on div.opContainer, div.op */ +.opContainer.opContainer, .op.op { display: block; overflow: visible; } @@ -721,7 +722,8 @@ div[data-checked="false"] > .suboption-list { vertical-align: top; position: relative; } -div.catalog-thread { +/* overrides 4chan CSS on div.thread */ +.catalog-thread.catalog-thread { margin: 4px; } .catalog-small > .catalog-thread { @@ -754,7 +756,8 @@ div.catalog-thread { border: 1px solid transparent; padding-top: 20px; } -div.catalog-post { +/* overrides 4chan CSS on div.post */ +.catalog-post.catalog-post { margin: -21px -1px -1px; } .catalog-thread.noFile > * > .catalog-post { @@ -858,7 +861,8 @@ div.catalog-post { .catalog-post > * > .fileText:hover { z-index: 2; } -div.catalog-post > div.postInfo { +/* overrides 4chan CSS on div.post div.postInfo */ +.catalog-post > .postInfo.postInfo { width: auto; } .catalog-post > * > .subject {