Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @-moz-document domain("en-forum.guildwars2.com") {
- /* main sections */
- /* shrink the space between threads */
- .Item td {
- padding-top: 6px;
- padding-bottom: 6px;
- }
- /* hide the last person to post in a thread column */
- .Section-DiscussionList.UserLoggedIn .DiscussionsTable .BlockColumn-User.LastUser {
- display: none;
- }
- /* hide user avatars */
- .Section-DiscussionList .DiscussionsTable .BlockColumn-User .PhotoWrap {
- display: none;
- }
- /* increase size of the views column to avoid overlapping the number with the gear icon */
- .DataTable td.CountViews {
- min-width: 110px;
- }
- /* increase the size of the thread creator column so the name and timestamp can both fit */
- .Section-DiscussionList .DiscussionsTable .BlockColumn-User.FirstUser {
- width: 250px;
- }
- .Section-DiscussionList .DiscussionsTable .BlockColumn-User.FirstUser .UserLink {
- float: left;
- }
- .Section-DiscussionList .DiscussionsTable .BlockColumn-User .BlockTitle,
- .Section-DiscussionList .DiscussionsTable .BlockColumn-User .Meta {
- float: right;
- }
- /* thread that has been read and contains 1 or more new posts */
- .Section-DiscussionList .DiscussionsTable .DiscussionName .HasNew.HasNew {
- background-color: lightgreen;
- }
- /* new thread that is either completely unread or has not been fully read yet */
- .Section-DiscussionList .DiscussionsTable .DiscussionName .HasNew.JustNew {
- background-color: lightblue;
- }
- /* background and foreground for a thread that has been read */
- .Section-DiscussionList .DiscussionsTable .Read {
- background-color: whitesmoke;
- }
- .Section-DiscussionList .DiscussionsTable .Read a.Title {
- color: lightgrey;
- }
- }
- @-moz-document domain("en-forum.guildwars2.com") {
- /* inside threads */
- /* hide avatar icons */
- .Section-Discussion .Content .Item-Header .AuthorWrap .Author .PhotoWrap {
- display: none;
- }
- /* border with rounded corners around each individual post */
- .Section-Discussion .Content .Item {
- padding: 2px;
- border-radius: 8px;
- margin-bottom: 5px;
- border: 4px solid lightgray;
- }
- .DataList .Item {
- background: none;
- border-bottom: 4px solid lightgrey;
- }
- .Section-Discussion .Content .Item-Header::after {
- background-image: none;
- }
- .CommentHeader, .DiscussionHeader {
- border-bottom: 4px solid lightgray;
- }
- .Section-Discussion .Content .Item .Item-BodyWrap .Item-Body {
- width: 100%;
- display: grid;
- grid-template-columns: 8fr 2fr;
- grid-template-rows: fit-content;
- grid-template-areas:
- "m r"
- "s s"
- }
- /* change the post body and report/quote/etc. buttons to be side by side instead */
- .Section-Discussion .Content .Item .Item-BodyWrap .Item-Body .Message {
- grid-area: m;
- }
- .Section-Discussion .Content .Item .Item-BodyWrap .Item-Body.Signature {
- grid-area: s;
- grid-column: span;
- }
- .Section-Discussion .Content .Item .Item-BodyWrap .Item-Body.Signature p {
- min-width: 1000px;
- }
- .Section-Discussion .Content .Item .Item-BodyWrap .Reactions {
- grid-area: r;
- min-width: 150px;
- }
- .Section-Discussion .Content .Item .Item-BodyWrap .InlineTags {
- grid-area: s;
- float: left;
- clear: both;
- }
- body.Section-Discussion .ReactMenu {
- display: block;
- margin-left: 0;
- }
- .Reactions .ReactButton {
- width: 100% !important;
- }
- /* add a link icon next to the time stamp to make it a bit more obvious that it contains a link to the post */
- .Section-Discussion .Content .Item-Header .Meta time:before {
- content: "🔗";
- font-size: 15px;
- font-weight: 400;
- padding-right: 2px;
- }
- .PollQuestion {
- clear: both;
- }
- /* prevent code blocks from squishing the reaction menu */
- code, pre {
- max-width: 800px;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement