ESC Nation Facelift (Dark)

`A more modern take on the ESC Nation message board, voting assistant and some other pages on the website. Now also in dark colors.`

/* ==UserStyle==
@name           ESC Nation Facelift (Dark)
@namespace      https://github.com/a-felix/userstyles/blob/main/esc-nation/dark.user.css
@version        1.1.1
@description    `A more modern take on the ESC Nation message board, voting assistant and some other pages on the website. Now also in dark colors.`
@author         Andrei Felix
@license        CC-BY-NC-SA-4.0
==/UserStyle== */

@-moz-document url-prefix("http://www.escnation.com/mbnews/index.php"), url-prefix("http://escnation.com/mbnews/index.php"), url-prefix("http://www.escnation.com/mbnews/viewmsg.php"), url-prefix("http://escnation.com/mbnews/viewmsg.php"), url-prefix("http://www.escnation.com/mbnews/mbright.php"), url-prefix("http://escnation.com/mbnews/mbright.php"), url-prefix("http://www.escnation.com/mbnews/postmessage.php"), url-prefix("http://escnation.com/mbnews/postmessage.php"), url-prefix("http://www.escnation.com/mbnews/mbrules.php"), url-prefix("http://escnation.com/mbnews/mbrules.php") {
* { font-family: "Segoe UI" !important; line-height: 1.35em; }
body > div[style="background:white"]:first-child {
	background: #333 !important;
}
hr { display: none !important; }
.tit { font-size: 13px; }
ul, .lightbg { background: #292929; color: #EEE; padding: 5px; }
li { display: block; -webkit-margin-collapse: discard; }
ul li ul { margin-left: -5px; margin-right: -5px; padding-top: 0; padding-bottom: 0; }
ul li ul li { padding-left: 6px; border-left: 3px #333 solid; }
ul li ul li > span[title]:before, ul > li > span.tit:before, ul li ul li > a > span.tit:before { display: inline-block; content: "\25B8"; margin-left: -11px; margin-right: -1px; color: #333; font-weight: bold; }
/* ul li:hover > span[title] { text-decoration: underline; text-decoration-color: #AAA !important; } */
ul li:hover { border-left-color: #555; }
ul li ul li:hover > span[title]:before, ul li:hover > span.tit:before, ul li ul li:hover > a > span.tit:before { color: #555; }
span[title][style="background-color: #FEECC7"], span.tit[style="background-color: #FEECC7"] { background-color: #444 !important; }
ul:empty, p:empty, font:empty { display: none; }
div[style="background-color:eeffff"] { background-color: #292929 !important; padding:5px; }
a[href], a[href] div[color], a[href] span { text-decoration: none; color: #BBF !important; }
.lightbg font[color] { color: #BBF !important; }
.lightbg { margin-bottom: 10px; }
body.mbwhite, body.mbblue { background: #222; color: #EEE; }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/viewmsg.php"), url-prefix("http://escnation.com/mbnews/viewmsg.php"), url-prefix("http://www.escnation.com/mbnews/mbright.php"), url-prefix("http://escnation.com/mbnews/mbright.php"), url-prefix("http://www.escnation.com/mbnews/index.php?action=view"), url-prefix("http://escnation.com/mbnews/index.php?action=view"), url-prefix("http://www.escnation.com/mbnews/postmessage.php") {
ul { background: #292929; padding: 5px; margin-left: 5px; margin-right: -5px; }
li div[style="background-color:eeffff"] { background-color: #333 !important; box-shadow:none; margin-bottom:5px; padding: 0; }
li div[style="background-color:eeffff"] font:not(:empty) { display:block; padding: 5px; color: #EEE !important; }
div[style="background-color:eeffff"] { background-color: #292929 !important; }
div[style="background-color:eeffff"] font:not(:empty) { color: #EEE !important; }
input:not([type=submit]), textarea { width: 100%; border: 1px solid #66c; background-color: #292929; color: #EEE; padding: 5px; }
input:not([type=submit]):focus, textarea:focus { background-color: #333; }
td { padding:0 }
input[type=submit] { background-color: #66c !important; color: white !important; border: none; margin-top: -32px; margin-left: 2px; padding: 5px 10px; outline:none; }
input[type=submit]:active { background-color: #77d; }
input:focus, textarea:focus { outline: none !important; box-shadow: 0px 0px 10px rgba(102, 102, 204, 0.6) !important; }
textarea { width: 100% !important; }
table { width: 100% !important; }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/votingassistant/"), url-prefix("http://escnation.com/mbnews/votingassistant/") {
* { font-family: "Segoe UI" !important; cursor: default !important; }
body.mbblue { background: #222; color: #EEE; }
li { color: #EEE; padding: 5px; }
li.score { background: #333; }
li.sortlist { background: #292929; width: calc(100% - 15px); }
div[style="position: absolute; left:30px;"] { left: 35px !important; width: calc(100% - 40px); }
ul { list-style:none; padding-left:0; }
input[type=submit] { background-color: #66c; color: white; border: none; padding: 5px 10px; margin-left: 4px; outline:none; }
input[type=submit]:active { background-color: #77d; }
:focus { outline: none; box-shadow: 0px 0px 10px rgba(102, 102, 204, 0.6); }
}

@-moz-document url-prefix("http://www.escnation.com/startnew.php"), url-prefix("http://escnation.com/startnew.php") {
* { font-family: "Segoe UI" !important; color: #EEE !important; }
body { background-color: black; }
#bg1 { opacity: 0.5; }
.menuhead, h1, h2 { color: white !important; }
hr, td.news br { display: none; }
div.mainc, td.mainc { background: rgba(0, 0, 0, 0.5); border: none !important; }
table#wordletable { border-collapse: collapse; }
td.news { border: none !important; padding: 0; vertical-align: top; }
p.sidetext { background: rgba(49, 49, 49, 0.3); color: #EEE; padding: 5px; -webkit-margin-before: 0 !important; -webkit-margin-after: 5px !important; }
td.news p.sidetext { display: block; background: none; padding: 29px 0 0 0; float: right; }
table#newstable { border-spacing: 0 !important; }
table#newstable tr, table#blogtable, table#wordletable { background: rgba(49, 49, 49, 0.3); margin: 0 0 5px 0; display: block; }
table#newstable td:nth-child(2), table#wordletable td:nth-child(2) { width: 100%; height: 100%; padding: 5px; }
table#newstable td:nth-child(2) a { padding-top: 10px; height: 40px; }
a[href], a[href].alwaysnew, a:link, a:visited { text-decoration: none; color: #BBF !important; }
a[href].newslink { margin: -5px 0; font-size: 15px; }
a[style] { color: inherit !important; }
td.mainc:nth-child(2) p.sidetext:last-child { display: none; }
td.mainc:nth-child(3) a[href].alwaysnew { color:white !important; }
table tr:last-child a[href].alwaysnew { color:white !important; }
table#table1 > tbody > tr:last-child p, table#table1 > tr:last-child p { background: none !important; color:white !important; }
}

@-moz-document url-prefix("http://www.escnation.com/news/"), url-prefix("http://escnation.com/news/"), url-prefix("http://www.escnation.com/navmore.php"), url-prefix("http://escnation.com/navmore.php"), url-prefix("http://www.escnation.com/aboutescn.php"), url-prefix("http://escnation.com/aboutescn.php"), url-prefix("http://www.escnation.com/news/resources/"), url-prefix("http://escnation.com/news/resources/") {
*, h1, h2, h3, h4, h5, h6 { color: #EEE; font-family: "Segoe UI"; }
body, body.whitebg, body.mbwhite { background-color: #222 !important; }
.midbg, .lightbg { background-color: #333; }
.span3 { width: auto; max-width: 160px; }
div.newsimage { padding: 0; }
.well { border-radius: 0; }
a[href] { text-decoration: none; color: #BBF !important; }
}

@-moz-document url-prefix("http://www.escnation.com/menucrips.html"), url-prefix("http://escnation.com/menucrips.html") {
* { font-family: "Segoe UI" !important; }
body { background-image: url(http://www.escnation.com/toolbarimg/bgr3.jpg); }
#topbanner { height: 50px; background: rgba(0, 0, 0, 0.5); }
img[height="45px"] { height: 50px !important; }
div.hltbtn a { color: #EEE; }
div.hltbtn a:hover { color: white; }
div.hltbtn:hover { background-color: #333; opacity: 1; }
}

@-moz-document url("http://www.escnation.com/"), url("http://escnation.com/"), url("http://www.escnation.com/more.php"), url("http://escnation.com/more.php") {
body, frame { background-color: #222; }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/search.php"), url-prefix("http://escnation.com/mbnews/search.php"), url-prefix("http://www.escnation.com/mbnews/messageposted.php"), url-prefix("http://escnation.com/mbnews/messageposted.php") {
* { color: #EEE; font-family: "Segoe UI" !important; }
hr { display: none !important; }
body, body[bgcolor] { background-color: #222; }
input[type=text] { width: 100%; border: 1px solid #66c; background-color: #292929; color: #EEE; margin-top: 5px; padding: 5px; }
input[type=text]:focus { background-color: #333; }
td { padding:0 }
input[type=submit] { background-color: #66c !important; color: white !important; border: none; margin-left: 2px; padding: 5px 10px; outline:none; }
input[type=submit]:active { background-color: #77d; }
input[type=checkbox], input[type=radio] { vertical-align: -2px; }
:focus { outline: none !important; box-shadow: 0px 0px 10px rgba(102, 102, 204, 0.6) !important; }
table { width: 100% !important; }
}

@-moz-document domain("escnation.com"), domain("www.escnation.com") {
/*::-webkit-scrollbar {
	width: 12px !important;  
}
::-webkit-scrollbar-track,*/ ::-webkit-scrollbar-corner {
	background-color: #222 !important;
}  /*
::-webkit-scrollbar-thumb {
	background-color: #333 !important;  
}  
::-webkit-scrollbar-thumb:hover {
	background-color: #444 !important;  
}*/
:root { color-scheme: dark; scrollbar-color: dark; /*background: #000;*/ }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/mb.html"), url-prefix("http://escnation.com/mbnews/mb.html") {
html, frame { background-color: #222; }
frame[name="west"] { border-right: 1px solid #333 !important; }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/index.php?action=view"), url-prefix("http://escnation.com/mbnews/index.php?action=view") {
body > ul { margin-right: 0; }
ul ul { margin-left: -5px; }
ul li > span.tit:before, ul li > b:before { display: inline-block; content: "\25B8"; margin-left: -11px; margin-right: -1px; color: #333; font-weight: bold; }
ul li { padding-left: 6px; border-left: 3px #333 solid; }
ul li:hover { border-left-color: #555; }
ul li ul li:hover > span[title]:before, ul li:hover > span.tit:before, ul li ul li:hover > a > span.tit:before, ul li:hover > b:before, ul li ul li:hover > b:before { color: #555; }
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/postmessage.php"), url-prefix("http://escnation.com/mbnews/postmessage.php") {
body, font[color] {
	color: white !important;
}
input[type=checkbox] {
	display: inline-block;
	width: auto;
	vertical-align: -2px;
}
input[type=submit] {
	margin-left: 0;
	margin-top: -25px;
}
}

@-moz-document url-prefix("http://www.escnation.com/mbnews/mbrules.php"), url-prefix("http://escnation.com/mbnews/mbrules.php") {
body {
	background-image: none !important;
	background-color: #222 !important;
}
*[color=black] { color: #EEE !important; }
}