Blockland Forum - Dark Theme

Makes Blockland cleaner and dark.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name         Blockland Forum - Dark Theme
@description  Makes Blockland cleaner and dark.
@author       Generic
@version      1.0.7
@license      cc0-1.0
@namespace https://greasyfork.org/users/689412
==/UserStyle== */

@-moz-document url-prefix("https://forum.blockland.us") {

/* Main color, changes the background. */

body, #header, #header div.frame, #content_section, #content_section div.frame, span.upperframe span, span.lowerframe span, #footer_section div.frame, #footer_section, span.lowerframe, blockquote.bbc_standard_quote, td, #message_resizer
{
    background: #1a1a1d;
    color: #eee;
}

/* Secondary color.*/

.catbg, .catbg2, .catbg, .catbg2, .table_list .header td.catbg, div.cat_bar, .windowbg, div.roundframe div.cat_bar .catbg, div.roundframe div.cat_bar, .dropmenu li ul, .windowbg span.topslice span, .windowbg span.topslice, .windowbg span.botslice, .windowbg span.botslice span, .windowbg2 span.botslice span, .windowbg2 span.botslice, .windowbg2 span.topslice span, .windowbg2 span.topslice, .plainbox, tr.titlebg th, tr.titlebg2 th, td.titlebg, td.titlebg2, tr.catbg th, tr.catbg2 th, td.catbg, td.catbg2, tr.catbg .first_th, .last_th, tr.catbg, .buttonlist ul li a, .buttonlist ul li a span, div.title_barIC .titlebg, .roundframe, div.title_barIC, .title_bar, h4.titlebg, #preview_body, .bbc_code, .bbc_table td, blockquote.bbc_alternate_quote, #topic_icons, h3.titlebg
{
    background: #212121 !important;
    color: #eee
}

/* Accent colors, feel free to change these four to your liking. */
a:link, a:visited
{
    color: #45a29e;
}

.button_submit, .button_reset, .dropmenu li a.active, .dropmenu li a.active span.firstlevel, .buttonlist ul li a.active, .buttonlist ul li a.active span, .buttonlist ul li a.active, .activity_stats li div.bar div
{
    background: #45a29e !important;
}

#bbcBox_message div img
{
    background-image: none !important;
    background: #45a29e;
}

/* Hover color. */
.button_submit:hover, .button_reset:hover, .dropmenu li a.firstlevel:hover span.firstlevel, .dropmenu li:hover a.firstlevel span.firstlevel, .dropmenu li a.firstlevel:hover, .dropmenu li:hover a.firstlevel
{
    background: #49bdb8;
}

/* Color for normal threads*/
.windowbg1, .windowbg2
{
    background: #212121;
}

/* Color for stickied threads. */
.stickybg, .stickybg2
{
    background: #303030;
}

/* Color for locked threads. */
.lockedbg, .lockedbg2
{
    background: #181818;
}

/* Hiding borders. */
.roundframe, .dropmenu li li
{
    border-left: hidden;
    border-right: hidden;
}

blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote
{
    border-bottom: hidden;
    border-top: hidden;
}

.plainbox, #main_content_section > center:nth-child(8) > div:nth-child(1), .button_submit:hover, .button_reset:hover, .button_submit
{
    border: hidden !important;
    margin-top: 0px;
}

.dropmenu li ul
{
    border-bottom: 0px;
}

/* Of course, text areas needs a border. */
/* To get rid of the border simply change "solid" below to "hidden". */
input, .editor, textarea, select
{
    border: 1px solid #aaa;
}

#upshrinkHeaderIC .last
{
    border-top: 1px solid #bbb;
}

/* Changes the color of the text. */
.inner, .windowbg2, .buttonlist ul li a.active:hover, h5, .quickbuttons a:hover, ul.quickbuttons a:hover
{
    color: #fff;
}

h4.titlebg a
{
    color: #eee;
}

input, button, select, textarea
{
    color: #fff;
    background: #1a1a1d
}

/* Poster and board name color. */
.poster, h4, .poster h4 a, .table_list tbody.content td.info a.subject
{
    color: #eee;
}

/* Footer color. */
a.new_win:link, a.new_win:visited
{
    color: #aaa;
}

/* Getting rid of unnecessary padding */
#footer_section > div:nth-child(1)
{
    padding: 0px;
}

span.upperframe
{
    padding-left: 0px;
}

/* Hiding unnecessary stuff like forum title and ads. */
smflogo, .forumtitle, #top_section, #category_a, #category_a, .divider:nth-child(9), .table_list > tbody:nth-child(11), div.windowbg:nth-child(3) > div:nth-child(2), div.windowbg:nth-child(3), .clear:nth-child(3)
{
    display: none;
}
}