 * Google Web Search - Dark Gray Theme

 *

 * Author      : Bixarro

 * Updated     : December 16th, 2009

 * Description : Modifies the colors, logos, and a few other images on Google Websearch, Images, News, Blogsearch, Books, and Html preview

 * Usage       : Use with the Stylish Firefox extension (http://userstyles.org/) or copy to your Firefox userContent.css file

 * Based on    : Google Web Search and Google Images Search by Valacar (http://www.valacar.com/userstyles/)

 * Fixed by    : Silver the Paladin

 */



@-moz-document url-prefix(http://www.google),

               url-prefix(http://images.google),

               url-prefix(http://news.google),

               url-prefix(http://blogsearch.google),

               url-prefix(http://books.google),

               url-prefix(http://209.85.165.104)

                {



body {

	background: #262626 url("http://nsm02.casimages.com/img/2009/12/03//091203075935902034982580.png") top left repeat-x !important;

	color: #fff !important;

}



/* defaults for all links */

a:link, a:visited, .link { color: #ccc !important; }

a:active, .link:active { color: #fff !important; }



/* disable dashed outline on focused elements */

:focus { outline: none; }



/* Main text color */

div, td, font[color="#000000"] { color: #fff !important; }



/* Text link color */

.a, .g font[color="#008000"] { color: #6e6e6e !important; }



/* Secondary link color */

.flc, a.fl, .fl2, .fl2:visited, .bl a, .f + a, .f .w { color: #7b7b7b !important; }



/* File type (ex: [PDF]) next to link */

.g .w { color: #ff6 !important; }



/* Alt text color */

.f, font[color="#666666"], font[color="#6f6f6f"], font[color="#555555"], font[color="#0000ff"] { color: #ffd !important; }



/* Notification message text color */

font.p:not([size="-1"]) { color: #a4ff53 !important; }



/* fix for google suggest */

.aAutoComplete .cAutoComplete, .google-ac-a .google-ac-c { color: #000 !important; }

.aAutoComplete .dAutoComplete, .google-ac-a .google-ac-d { color: green !important; }

.google-ac-e td { color: blue !important; }



/* make sure web forms (and google suggest) don't get their colors changed */

input *, textarea *, .aAutoComplete {

	background-color: -moz-Field !important;

	color: -moz-fieldtext !important;

}



/* can't seem to modify iframes, so we'll keep them white */

iframe { background-color: #fff !important; }





/* google bar (including popup menu)

------------------------------------*/

#gbi { background: #343434 !important; border-color: #575757 !important; }

#gbar .gb2 a:hover { background: #676767 !important; color: #fff !important; }

#gbh, .gbh { border: none !important; }

.gb2 div { border-color: #575757 !important; }





/* bars

-------*/

.t, table [bgcolor="#e5ecf9"], table [bgcolor="#d5ddf3"], .hd, td.ttb, td.rsb, td.bts, h4, .page-title, td#headerText { background: #3e3e3e url("http://nsm02.casimages.com/img/2009/12/03//091203075935902034982577.png") top left repeat-x !important; }

.t a, table [bgcolor="#e5ecf9"] a, table [bgcolor="#d5ddf3"] a, .ks { color: #fff !important; }

td.k { background-color: transparent !important; }

table.ft.t.bb.bt, #footer { background: #2f2f2f !important; }

.bb, .bt, td#headerText, div#footer { border: none !important; }



/* hide top border on top bar */

td[bgcolor="#3366cc"] { display: none !important; }

.header td, table[style*="border-top: 1px solid rgb(51, 102, 204);"] { border-top: none !important; }

td.tpb, td.btb { background: none !important; }





/* Search results

-----------------*/

/* push results to right */

#res, #results_container { margin-left: .5em !important; }



/* widen search results (34em default) */

#res .j { width: 50em !important; }



/* more line spacing on descriptions */

#res .j font[size="-1"] { line-height: 1.4 !important; }



/* dim visited links */

#res .g a:visited, #navbar td:not(.b) a:visited { opacity: 0.5 !important; }



#res .e font[color="green"] { color: #ccc !important; }



/* link title */

#res .g .l { font-size: 1.1em !important; color: #f0f0f0 !important; }

#red .g .l:active { color: #fff !important; }



/* link description */

#res .std { color: #c9c9c9 !important; }



/* search term highlight */

#res .std b { color: #fff !important; background: #000 !important; }



hr { color: #fff !important; opacity: 0.25 !important; }



/* Change "Gooooooooooogle" to just text */

#navbar img { visibility: hidden !important; }

#navbar div { background: none !important; }

#navbar .i { color: #fff !important; font-size: 1.5em !important; }

#navbar div { height: auto !important; }

#navbar td.b, #navbar td { vertical-align: middle !important; }

#navbar td.b:first-child + td { padding-left: 1.5em !important; }





/* Advertisements

-----------------*/

.ra, .ra [bgcolor] { display: none !important; }

#tads div { background: transparent !important; }

#tads, div[id^="tpa"] { background: url("http://nsm02.casimages.com/img/2009/12/03//091203075935902034982576.png") bottom left repeat-x !important; }

table[style="border: 1px solid rgb(51, 102, 153);"] { border: none !important; }



/* Replacement images

---------------------*/



/* big logo */

img[src*="logos/"], img[src$="logo.gif"], div[style*="logo_plain.png"], img[src$="logo_google_suggest.gif"], img[src^="logos/holiday"] {

	margin-top: 6% !important;

	width: 0 !important;

	height: 103px !important;

	padding-left: 281px !important;

	background-image: url("http://nsm02.casimages.com/img/2009/12/03//091203075935902034982578.png") !important;

}





/* small logo */

#logo span, img[src$="logo_sm.gif"], img[src$="google_sm.gif"], img[src$="logo_google_suggest_sm.gif"] {

	width: 0 !important;

	height: 51px !important;

	padding-left: 135px !important;

	background: url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982586.png") top left no-repeat !important;

}



/* Hide small logo text link */

a#logo { font-size: 0 !important; }



/* Shopping cart "image" */

.tfb td.c, .tb td.c {background:#999 !important;}

.tfb td.b, .tb td.b {background:#ccc !important;}

.tfb td.a, .tb td.a {background:#fff !important;}



/* shared image for [+], [-], and stars */

.csb[style*="background-position: -114px -78px"],

.csb[style*="background-position: -126px -78px"],

table[style*="height: 9px; width: 50px"] img[style*="top: -78px"],

img[src*="/sy-star-"]

{

	background-image: url("http://nsm02.casimages.com/img/2009/12/03//091203075937902034982588.png") !important;

}



/* [-] icon */

.csb[style*="background-position: -114px -78px"],

.csb[style*="background-position: -126px -78px"]

{

	width: 16px !important;

	height: 16px !important;

	background-position: 0 0 !important;

}



/* [+] icon */

.csb[style*="background-position: -114px -78px"] {

	background-position: -16px 0 !important;

}



/* empty star (and shared declaration for other stars) */

table[style*="height: 9px; width: 50px"] img[style*="top: -78px"], img[src*="/sy-star-"] {

	top: 0 !important;

	left: 0 !important;

	width: 0 !important;

	height: 10px !important;

	padding-left: 10px !important;

	background-position: -25px -17px !important;

}



/* full star */

table[style*="height: 9px; width: 50px"] img[style*="top: -78px"][style*="left: -20px"], img[src*="sy-star-on"] {

	background-position: -1px -17px !important;

}



/* half star */

table[style*="height: 9px; width: 50px"] img[style*="top: -78px"][style*="left: -10px"], img[src*="sy-star-half"] {

	background-position: -13px -17px !important;

}



/* powered by */

img[src*="poweredby_FFFFFF.gif"] {

	width: 0 !important;

	height: 19px !important;

	padding-left: 56px !important;

	background: url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982583.png") no-repeat !important;

}





/* Tweaks (remove if you like)

------------------------------*/



/* remove all image borders */

img[border="1"] { border: none !important; }



/* move result description to right slightly */

#res .j { padding-left: .1em !important; }



/* move font page buttons down */

form[name="f"] input[type="submit"] { margin-top: .3em !important; }



}





/* Advanced Search

------------------*/



@-moz-document url-prefix(http://www.google.com/advanced_search) {



tr[bgcolor="#cbdced"] { background: #50668d !important; }

tr[bgcolor="#ffffff"] { background: #405882 !important; }

td[width="15%"] > font > b { color: #ffc !important; }



h3, td.tip span { color: #ffc !important; }

p.tip, #gen-query, #gen-query * { color: #000 !important; }



.comment { color: #fff !important; opacity: 0.5 !important; }



.qbuilder-env, .block {

	border-color: #3f3f3f !important;

	background-color: #3f3f3f !important;

}



#gen-query { background: #fff url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982585.png") repeat-x !important; }



.block { background: #333 url("http://nsm02.casimages.com/img/2009/12/03//091203075935902034982579.png") bottom left repeat-x !important; }



}





/* Search Preferences

---------------------*/



@-moz-document url-prefix(http://www.google.com/preferences) {



td[bgcolor="#cbdced"] { display: none !important; }

table[bgcolor="#ffffff"] { background: transparent !important; }



h1 + font + br + table,

h1 + font + br + table ~ table

{

	border-top: 1px solid #404040 !important;

	border-bottom: 1px solid #0b0b0b !important;

	background: #333 url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982584.png") bottom left repeat-x !important;

}



table td[width="175"] h2 { color: #ffc !important; }



}





/* Language Tools

-----------------*/



@-moz-document url-prefix(http://www.google.com/language_tools) {



table tr[bgcolor="#ffffff"] { background: none !important; }



}



/* Google logo in search result (By Silver the Paladin) */



#sft.ts td { width: 130px !important; }

#sft #logo {

        width: 130px !important;

        height: 51px !important;

}

#sft #logo img {

        margin-top: 24px !important;

        margin-left: 0px !important;

	width: 400px !important;

	height: 51px !important;

        padding-left: 168px;

	background: url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982582.png") no-repeat !important;

}



/* Divers By Silver The Paladin */

div#bsf, table#brs { display:none !important; }

div#ssb { background: #262626 url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982587.png") top left repeat-x !important; }

table.gac_m { background: #262626 url("http://nsm02.casimages.com/img/2009/12/03//091203075936902034982581.png") top left repeat-x !important; }



/* New fade effect Remover by Silver the Paladin */

#fctr, #sbl, span.fade { background-color: #262626 !important; }

#guser { background-color: #000 !important; }



/* Change "Gooooooooooogle" in simple text for web results */

#nav > tbody > tr > td span { background: none !important; }

#nav { font-size: 120% !important; margin-top: -30px !important; }

#nav .cur { font-size: 120% !important; margin-top: -40px !important; }

#nav td { vertical-align: bottom !important; padding: 0.15em !important; }





/* Change "Gooooooooooogle" in simple text for picture results */

#navbar img { visibility: hidden !important; }

#navbar * { background-image: none !important;

vertical-align: bottom !important; padding: 0.10em !important; }