tag:danbooru.me,2005:/forum_topics/9588 Darkbooru CSS style 2018-12-13T11:41:59-05:00 tag:danbooru.me,2005:ForumPost/153077 2018-12-13T11:41:59-05:00 2018-12-13T11:41:59-05:00 @楓黒澤: I like this! Thank you~! <3 <p>I like this! Thank you~! &lt;3</p> 楓黒澤 /users/541602 tag:danbooru.me,2005:ForumPost/150902 2018-09-28T15:36:06-04:00 2018-09-28T15:36:06-04:00 @AyayaAyaya: Thanks so much for creating and maintaining... <p>Thanks so much for creating and maintaining great style! It's made browsing Danbooru much easier on the eyes since I've had it installed.</p><p>I have two modifications I'd like to suggest.</p><p>The first is an insertion of a single character: changing that Imgur link to use HTTPS. When it's hardcoded as plain HTTP, it causes an issue with mixed content loading in an otherwise secure webpage.</p><p>The second is a bit broader: making the table headers lighter. On places like the <a class="dtext-link" href="/tags">tag search</a> and <a class="dtext-link" href="/reports/upload_tags?user_id=214837">upload tag changes report</a> pages, the table header text is so dark (#333, which is unmodified from vanilla Danbooru) that it's quite difficult to read against the #1B1B1B background. I targeted it very naïvely with this snippet, making it a tad darker than the #777 used elsewhere (e.g. the "Upload tag changes report for [username]" on the aforementioned page):</p><pre>table.striped thead th { color: #666 } </pre><p>This did the trick in those two locations where I noticed the problem, but a more general approach might be more appropriate; I don't know the first thing about CSS, and I'm not too sure where else this issue of dark text may appear.</p><p>Thank you for your consideration!</p> AyayaAyaya /users/461060 tag:danbooru.me,2005:ForumPost/149818 2018-08-24T00:40:15-04:00 2018-08-24T00:40:15-04:00 @紫希貴: Oh well. I'll just leave it as it is. Thanks... <p>Oh well. I'll just leave it as it is.<br>Thanks for your hard work~</p> 紫希貴 /users/510740 tag:danbooru.me,2005:ForumPost/149813 2018-08-23T22:59:19-04:00 2018-08-23T22:59:19-04:00 @Gollgagh: > 紫希貴 said: > > Table colors are broken. I... <blockquote> <p>紫希貴 said:</p> <p>Table colors are broken. I used this code to bring it back</p> </blockquote><p>Thanks, I hadn't had time to look at it yet. Fixed.</p><blockquote><p>Edit: I also want to restore the taglist gradient I mentioned before in <a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/131889">forum #131889</a>, is it still possible?</p></blockquote><p>I'm about 95% certain that fixing that is going to require some kind of Javascript solution. The gradient numbers are generated entirely server-side and afaik (I would welcome being wrong) there is no way of obtaining that value in CSS and also dynamically creating a gradient with it in CSS.</p> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/149787 2018-08-23T08:03:45-04:00 2018-08-23T08:54:41-04:00 @紫希貴: Table colors are broken. I used this code to... <p>Table colors are broken. I used this code to bring it back </p><blockquote><pre>table.striped tr:nth-child(2n) {background-color: #2c2c2c;} table.striped tr:hover {background-color: #2b2b2b;} table.striped tr:nth-child(2n):hover {background-color: #3c3c3c;}</pre></blockquote><p>I dunno if you can optimize it further, I believe this is just a bandaid solution to the problem...<br>Also I think I have the colors wrong</p><p>Edit: I also want to restore the taglist gradient I mentioned before in <a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/131889">forum #131889</a>, is it still possible?<br>Edit2: Apparently the user feedback tables are also affected. Now that I see it the tables no longer use even and odd, instead even is replaced by nth-child(2n)</p> 紫希貴 /users/510740 tag:danbooru.me,2005:ForumPost/135250 2017-09-01T17:35:47-04:00 2017-09-01T18:49:54-04:00 @Gollgagh: Yeahhh, lemme get on that. I've been taking a... <p>Yeahhh, lemme get on that.</p><p>I've been taking a break from Danbooru, but I'd also been meaning to fix that up for a while now.</p><p>edit: done</p> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/135222 2017-09-01T06:30:19-04:00 2017-09-01T06:30:19-04:00 @紫希貴: Is there a way to... * Fix the in-page... <p>Is there a way to...</p><ul> <li>Fix the in-page windows' font colors (when adding to a pool, adding commentary, flagging, etc...)?</li> <li>Restore/add background colors to the user feedbacks?</li> </ul> 紫希貴 /users/510740 tag:danbooru.me,2005:ForumPost/128706 2017-03-23T07:23:07-04:00 2017-03-23T07:23:07-04:00 @Gollgagh: > sweetpeɐ said: > > o on the mod queue there... <blockquote> <p>sweetpeɐ said:</p> <p>o on the mod queue there are these spaces that are colored different and brighter:</p> <ul><li> <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://files.catbox.moe/rpirok.png">https://files.catbox.moe/rpirok.png</a><br> </li></ul> </blockquote><p>I don't have access to the modqueue, so you're going to have to try this for me:<br>Pop this onto the bottom of your CSS:</p><pre>.post-pos-score {background: rgb(27, 40, 27);} .post-neg-score {background: rgb(40, 27, 27);}</pre><blockquote><p>Also if you have colored usernames turned on the coloring is often incorrect.</p></blockquote><p>I changed those more or less arbitrarily because I didn't like how at least three user classes were similar shades of blue, so I picked colors that were largely identifiable at a glance. If you want the standard colors, take out the two sections near the bottom named "Username Alternate Colors" and "Hover Color".</p> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/128702 2017-03-23T03:27:47-04:00 2017-03-23T03:27:47-04:00 @chilled_sake: @Gollgagh So on the mod queue there are these... <p><a href="/users?name=Gollgagh">@Gollgagh</a> So on the mod queue there are these spaces that are colored different and brighter:</p><ul><li><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://files.catbox.moe/rpirok.png">https://files.catbox.moe/rpirok.png</a></li></ul><p>Also if you have colored usernames turned on the coloring is often incorrect.</p> chilled_sake /users/463832 tag:danbooru.me,2005:ForumPost/126461 2017-02-05T15:56:18-05:00 2017-02-05T15:56:18-05:00 @user_460797: Ah ok. Thanks for the quick answer :3. <p>Ah ok. Thanks for the quick answer :3.</p> user_460797 /users/460797 tag:danbooru.me,2005:ForumPost/126460 2017-02-05T15:54:32-05:00 2017-02-05T15:54:32-05:00 @Gollgagh: That's an optional behavior. Remove the last... <p>That's an optional behavior. Remove the last two lines which say</p><pre>#remove-from-favorites {display:none !important;}</pre> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/126459 2017-02-05T15:51:17-05:00 2017-02-05T15:51:17-05:00 @user_460797: @Gollgagh It seems that there is a bug when... <p><a href="/users?name=Gollgagh">@Gollgagh</a> <br>It seems that there is a bug when favoriting a post: You see on the left bar, that there is the option to "Favorite" a post. But when you have done it, then this option should change to "Unfavorite". But if using the Dark CSS, then this option will be hidden and I can't click "Unfavorite". Is this known or is that only for me the case?</p> user_460797 /users/460797 tag:danbooru.me,2005:ForumPost/126302 2017-02-01T08:56:48-05:00 2017-02-01T08:56:48-05:00 @user_460797: The Dark style looks great, I can only repeat... <p>The Dark style looks great, I can only repeat myself :3. </p> user_460797 /users/460797 tag:danbooru.me,2005:ForumPost/126298 2017-02-01T01:43:26-05:00 2017-02-01T01:43:26-05:00 @Jarlath: I love this dark theme, especially when I... <p>I love this dark theme, especially when I browse the site late at night and without a lot of light. </p><p>About the only thing I'd like to change is how some of the text in popup boxes like the artist commentary blends in with the background due to being dark grey on darker grey. </p> Jarlath /users/56947 tag:danbooru.me,2005:ForumPost/99098 2014-07-26T16:45:20-04:00 2014-07-26T16:46:32-04:00 @Gollgagh: Alright, I've refined this quite a bit since... <p>Alright, I've refined this quite a bit since last year; I think I've got almost everything covered now. The updated CSS is in the first post, and nearly everything is commented, so anyone can use this as a base and tweak it as needed.</p><p>Things I still haven't figured out: post previews with multiple statuses (i.e. Parent and Pending), the fancy gradient in the tag-count cell for the tag list, the p in a comment preview.</p> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/89918 2013-07-07T06:25:54-04:00 2013-07-07T06:25:54-04:00 @Gollgagh: Ooh neat, I'll give yours a try then, since I... <p>Ooh neat, I'll give yours a try then, since I know jack about this stuff.</p> Gollgagh /users/214837 tag:danbooru.me,2005:ForumPost/89882 2013-07-05T23:16:14-04:00 2013-07-05T23:16:14-04:00 @kounishin: There's a similar style as part of my Small... <p>There's a similar style as part of my Small Modo style set in <a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/9037">topic #9037</a>; you can use it on its own or with the other components. (You may have missed it because the threads here tend to refer to them as "styles" rather than "themes".)</p><p>I hadn't updated it in some time, though; your post caused me to check and discover that it needed tweaking for the current Danbooru CSS, so thanks. There was also a separate "Darkbooru" style, which I could have sworn was updated for Danbooru 2 - but I may be delusional, since I can no longer find any trace of the style or its author.</p> kounishin /users/320064 tag:danbooru.me,2005:ForumPost/89828 2013-07-04T15:58:34-04:00 2013-07-04T15:59:08-04:00 @Toks: > Fred1515 said: > > Really? The Misc Tweaks... <blockquote> <p>Fred1515 said:</p> <p>Really? The <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://userscripts.org/scripts/show/27776">Misc Tweaks script</a> and a whole bunch of other scripts for sites from Danbooru to 4chan are still hosted there.</p> </blockquote><p>That site is user<strong>scripts</strong>.org. He's referring to <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://userstyles.org/">http://userstyles.org/</a>, which is not related as far as I know.</p> Toks /users/356497 tag:danbooru.me,2005:ForumPost/89827 2013-07-04T15:43:26-04:00 2013-07-04T16:05:02-04:00 @Fred1515: > Gollgagh said: > Posting this here since... <blockquote><p>Gollgagh said:<br>Posting this here since userstyles.org doesn't like "adult" sites any more.</p></blockquote><p>Really? The <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://userscripts.org/scripts/show/27776">Misc Tweaks script</a> and a whole bunch of other scripts for sites from Danbooru to 4chan are still hosted there.</p><p>Edit: derp, never mind, it seems the heat is getting to me.</p> Fred1515 /users/97403 tag:danbooru.me,2005:ForumPost/89823 2013-07-04T13:33:39-04:00 2018-08-23T22:53:11-04:00 @Gollgagh: I know there were some people that used a dark... <p>I know there were some people that used a dark theme back on Danbooru 1; I kind of liked having it that way. This thing also reduces the font size to the old one. Posting this here since userstyles.org doesn't like "adult" sites any more. Here is the result of my efforts:</p><div class="expandable"> <div class="expandable-header"><input type="button" value="Show" class="expandable-button"></div> <div class="expandable-content"><pre>/* Main content darkening */ header, .main { color: #333 !important; background-color: #1b1b1b !important; } body, section, #page, .new-comment p, .related-tags, .row.notices { color: #777 !important; background-color: #1b1b1b !important; } /* "mobile" paginator */ @media screen and (max-width: 660px) { .paginator, .paginator a, .paginator menu { background-color: #2b2b2b !important; border-color: #2b2b2b !important; } .forum-post .author { background-color: #111 !important; border: none; border-radius: 6px 6px 0px 0px; } } blockquote, #dmail-notice { color: #888 !important; background: #222 !important; border-style: none !important; border-radius: 3px; } /* Nested quote coloring */ blockquote{ border-left: solid medium #0073ff !important; } blockquote &gt; blockquote { border-left: solid medium #FA0 !important; background-color: #1e1e1e !important; } blockquote &gt; blockquote &gt; blockquote{ border-left: solid medium #0F5 !important; background-color: #191919 !important; } .current a, .paginator a { border-style: none !important; background: #272727 !important; } footer, nav menu, .expandable, .nav-notice, .prose pre, .ui-dialog, /* pop-out dialogs */ .ui-dialog-content, .ui-dialog-buttonpane, #edit-dialog { color: #777; border-style: none !important; background: #272727 !important; } .ui-widget-header{ color: #777; border-style: none !important; background: #777 url("http://i.imgur.com/32BVwYb.png"); } #news-updates { color: #888 !important; background: #272727 !important; } .note-body { color: black; } article:target { background-color: #30301b !important; color: #aaa !important; } /* Buttons, textboxes */ button, input, select, textarea { border-style: none !important; background:#111111 !important; color:#eee !important; padding: 0.2em; } /* FORUM POST BACKGROUND */ .comment, div.list-of-forum-posts article { background-color: #151515; border: none; border-radius: 6px; box-shadow: none; max-width: 800px; } /* Text sizing */ header h1 { font-size: 200% !important; } h1, h2, h3 { font-size: 120% !important; } body, #page menu, .new-comment p, .row.notices { font-size: 83% !important; } /* Stickied Comment Styling */ article.comment[data-is-sticky="true"] { background:#600 !important; color:#ccc !important; width: 780px; border-radius: 5px; } /* Post Modes */ .mode-edit { background-color: #1b5b1b !important; } .mode-tag-script { background-color: #6b1b5b !important; } .mode-add-fav, .mode-remove-fav { background-color: #772 !important; } .mode-rating-s { background-color: #1b8b1b !important; } .mode-rating-q { background-color: #444 !important; } .mode-rating-e { background-color: #8b1b1b !important; } .mode-vote-up { background-color: #2b5b2b !important; } .mode-vote-down { background-color: #5b2b2b !important; } .mode-approve { background-color: #0A9 !important; } /* Styles forum and other lists with alternating colors */ .striped tr:nth-child(even), .feedback-category-neutral td:nth-child(even) { background: #282828 !important; } .striped, .feedback-category-neutral td { background: #1b1b1b !important; } .striped tr:hover { background: #444 !important; } .feedback-category-positive td { background: #003300 !important; } .feedback-category-positive td:nth-child(even) { background: #003800 !important; } .feedback-category-negative td { background: #330000 !important; } .feedback-category-negative td:nth-child(even) { background: #380000 !important; } table { border-collapse: separate; } /* Hover spoilers */ .spoiler:hover { background: #121212 !important; color: #777 !important; } /* Artist Commentary Bubble */ #artist-commentary, #artist-commentary menu, #notice, #original-artist-commentary, #translated-artist-commentary { background-color: #222 !important; border-style: none !important; max-width: 780px; color: #777 !important; } /* Terms of Service Bubble */ #tos-notice, #tos-notice a, #tos-notice h1 { background-color: #443 !important; border-style: none !important; color: #07F !important; } /* General Navigation Bars */ #nav-links, #nav-links li:hover { background-color: #222 !important; border-color: #333 !important; } /* Post Status Notices */ .notice-parent { background-color: #242 !important; color: #272; border-style: none !important; display: inline-block; min-width: 335px; } .notice-child { background-color: #585020 !important; color: #872; border-style: none !important; display: inline-block; min-width: 335px; } .notice-resized, .notice-pending { background-color: #224 !important; border-style: none !important; max-width: 335px; color: #44C !important; } .notice-appealed { background-color: #446 !important; border-style: none !important; max-width: 335px; color: #88F !important; } .notice-flagged, .notice-deleted { background-color: #622 !important; border-style: none !important; color: #F00; display: inline-block; min-width: 335px; max-width: 600px; } /* Limit Comment width */ /* Remove if you want full width stuff */ blockquote, pre, .comment .content { max-width: 600px; } .expandable { width: 620px; } /* Username Alternate Colors */ a.user-gold.with-style, /* Gold users are gold */ a.user-gold { color:gold } a.user-platinum.with-style, a.user-platinum { color:#D0D0F5 } a.user-builder.with-style, a.user-builder { color:#00D000 } a.user-moderator.with-style, a.user-moderator { color:#CC005B } a.user-admin.with-style, a.user-admin { color:#F00 } /* Hover Color */ a.user-gold.with-style:hover, a.user-gold:hover { color:#FFF09E } a.user-platinum.with-style:hover, a.user-platinum:hover { color:#EEEEFF } a.user-builder.with-style:hover, a.user-builder:hover { color:#49FF49 } a.user-moderator.with-style:hover, a.user-moderator:hover { color:#F92D88 } a.user-admin.with-style:hover, a.user-admin:hover { color:#F77 }</pre></div> </div><p>I don't hardly know what I'm doing, so things are broken, I'm sure. Feel free to do whatever with it, I'm mostly posting this since I couldn't find anyone else doing it. Suggestions are welcomed and encouraged enthusiastically.</p><p>2016 edit: took out some useless sections and simplified a couple other lines<br>2017 edit: further style maturation: </p><ul> <li>more notices styled</li> <ul><li>parent/child notices now grow to fit number of siblings</li></ul> <li>hover-highlighting on usernames</li> <li>buttons and input boxes</li> <li>borders removed from most everything <span class="tn">(I like the way that it looks, but I can provide a version that restores them if people want)</span> </li> <li>pop-out dialogs<br>May-2017:</li> <li>added nested quote-box colorization: blue -&gt; yellow -&gt; green</li> <li>bg image for widget header now points to imgur image instead of embedded (which doesn't work for on-site CSS)</li> <li>removed Janitor type and changed Builder to green</li> <li>overwrote tag count gradient background color<br>September-2017:</li> <li>Completed ui-dialog boxes so that text would actually be legible</li> <li>Re-added color for user-feedback</li> <li>Cleaned up trailing whitespace and stray tab characters<br>7-27-2018:</li> <li>Forum and comment borders tweaked<br>8-23-2018:</li> <li>Tables fixed</li> </ul><p>Apparently <code>!important</code> declarations are redundant when using the built in styler, but I'm going to leave them in for userstyles users.</p> Gollgagh /users/214837