/*
 * Yahoo News - Dark Clean (also for eeepc)
 *
 * Author      : boism
 * Updated     : May 4rd, 2008
 * Description : Modifies the colors and fonts on Yahoo News sites, and removes a few ads
 * Usage       : * Use with Stylish Firefox extension (https://addons.mozilla.org/firefox/2108/)
 *                 or copy to your Firefox userContent.css file
 *               * If you're using it on a EEEPC or a small screen, uncomment the EEEPC section below
 *               * If you're not happy with colors choice or with what I've removed, you can change
 *                 or  comment out in the code below.  I've described the ids and class that I modify.
 * Updates     : * 2008May04 : Removed upper right advert on main page
 * 
 * To improve  : 
 *                * This style was developped on fr.news.yahoo.com,
 *                  I've added other news sites, but some are not fully correct
 *                * I'm sure the list of news sites is not comprehensive, please feel free to report other ones
 *                * For hidden parts, I don't know how to hide the above h3 item, help is welcome
 *                * Certainly other things are bad
 *                * Descriptions may be poor and some items are redundant, maybe the style may have been a
 *                  little shorter by removing redundant items
 *
 * Hints       :  * I use "Flashblock" to load on demand Flash animations
 *                  https://addons.mozilla.org/firefox/433/
 *                * "View formatted source (format source extension)" helped me a lot during the creation of
 *                  this userstyle, it saved me a lot of time when using 'Enable inline mode'.
 *                  https://addons.mozilla.org/firefox/697/
 *                * CSS Selectors http://www.w3.org/TR/REC-CSS2/selector.html
 */

@namespace url(http://www.w3.org/1999/xhtml);

/*
 *
 * |------------------------------------|
 * | DESCRIPTION OF IDS OR CLASSES USED |
 * |------------------------------------|
 *
 * X means that this stylesheet hides the item
 * 0 means that this item is untouched by the stylesheet, only mentioned for reference
 *
 *X yumh               : header login
 *X yg-nav             : header navigation
 *  label              : Text before Search box
 *  input              : Search box text to input
 *  select             : Search box sources choice
 *  h1                 : Title of main news
 *X yeug-ticker        : Featured News / A la Une
 *  ynw-mrsthdr        : More Stories Header / Autres dÃ©pÃªches
 *  ynw-mrst           : Contents of More Stories Header / Autres dÃ©pÃªches
 *  ynw-othstr         : Other Stories : all news sections
 *  ynw-sect           : Header of each section
 *  moreLnks           : Contents of each section
 *  ynw-story          : Contents of each section
 *X sectMore           : SubSections at the end of each section
 *  bul                : several contents
 *  clr                : several contents
 *  div                : several boxes
 *  ft                 : footer
 *
 *0 #ynw-sb            : Side bar
 *  ynw-mTab-item1     : title of most popular emailed / EnvoyÃ©s par mail
 *  ynw-mTab-item2     : title of most popular viewed / Vus
 *X video-module       : Video/Audio / Audio/VidÃ©o
 *X hp-photo-highlight : Photo highliht / Photo A La Une
 *X message_board_list : Message board / Forums de discussion
 *0 alsoY              : Also in Yahoo! News
 *X elseY              : Elsewhere on Yahoo! / Ailleurs sur Yahoo!
 *
 *  p                  : text of a news
 *  cnt                : text of a news
 *  first              : text of a news
 *  cite               : sources
 *  span               : dates, sub-titles
 *X related-photo span : "Enlarge Photo" / "Agrandir la photo"
 *  related-photo p    : text under the left photo inside a news
 *X story_related_module : Message board / Forums de discussion
 *X ul.my              : "Add to my Yahoo/RSS" / "Ajouter &agrave; mon Yahoo/RSS"
 *X sponsoredLinks     : sponsored links
 *X ad_slug_table      : ad
 *X an_lrec_ad         : ad
 *X phAd               : ad
 */

@-moz-document domain("fr.news.yahoo.com"),
domain("au.news.yahoo.com"),
domain("br.news.yahoo.com"),
domain("ca.news.yahoo.com"),
domain("cf.news.yahoo.com"),
domain("de.news.yahoo.com"),
domain("es.noticias.yahoo.com"),
domain("in.news.yahoo.com"),
domain("it.notizie.yahoo.com"),
domain("news.yahoo.com"),
domain("news.cn.yahoo.com"),
domain("qc.news.yahoo.com"),
domain("uk.news.yahoo.com") {
body,
#ynw-mrst,
.ynw-othstr,
.moreLnks,
.ynw-story,
.bul,
p,
.cnt,
.clr,
.first,
span,
cite,
#related-photo p,
#ynw-mTab-item1,
#ynw-mTab-item2,
h1
{ color: #FFFFaa !important; background-color: #000000 !important; }

ul.bul
{ font-family: sans-serif !important; color: #FFFFaa !important; background-color: #000000 !important; }

div.pane,
a.tab,
#ynw-s1 { background-color:#222222 !important }

div { color: #FFFFaa !important; background-color: #000000 !important; }

/* Search the news form */
input[type="text"] {
	background-color: #000000 !important;
	border: 1px solid #5555ff !important;
	color: #ffffff !important;
}

input[type="submit"],
input[type="button"] {
	background-color: #222222 !important;
	border: 1px solid #555555 !important;
	color: #aaffaa !important;
	cursor:pointer !important;
}

select {
        font-family: sans-serif !important;
	background-color: #222222 !important;
	border: 1px solid #555555 !important;
	color: #aaffaa !important;
}

label {
	color: #aaffaa !important;
}
/* End of Search the news form */

/* Headers of each section */
h2#ynw-mrsthdr,
h3.ynw-sect,
h3.ynw-sect a {
        color: #aaffaa !important;
        background-color: #222222 !important;
        text-transform: uppercase !important;
        font-family: serif !important;
        font-size: small !important;
        padding-left: 1em !important;
        padding-top: 0.2em !important;
        padding-bottom: 0.2em !important;
        text-decoration: none !important;
}

h2#ynw-mrsthdr,
h3.ynw-sect {
        border: 1px solid #555555 !important;
        padding-top: 0.4em !important;
        padding-bottom: 0.4em !important;
}
/* End of Headers of each section */

a:link,
a:active
{ color: #aaffff !important; }

a:visited
{ color: #9999dd !important; }

:focus
{ outline: none !important; }

/* Elements to hide */
#yumh,
#yg-nav,
#yeug-ticker,
#ft,
#video-module,
#hp-photo-highlight,
#message_board_list,
#elseY,
.sectMore,
#related-photo span,
.ad_slug_table,
#an_lrec_ad,
#sponsoredLinks,
.story_related_module,
ul.my,
#phAd,
div#ynw-sb > div:first-child
{ display: none !important; }
/* End of Elements to hide */

/* EEEPC */
/* EEEPC USERS REMOVE THIS LINE AND THE OTHER BELOW
#hd,#bd { width: 780px !important; }
#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{max-width: 790px !important;}
   EEEPC USERS REMOVE THIS LINE AND THE OTHER ABOVE */
/* End of EEEPC */

}