My Stylish for UDN.com @960605

@namespace url(http://www.w3.org/1999/xhtml);



@-moz-document url("http://udn.com/NEWS/main.html") {

.mbg3,.mbg4,.mbg4_sub,#ad125_450,#ad120_350,#ad_sash,#tabbg,#tabbg2,#tabbg3,#tabbg4,#tabnav2,#tabnav3,#tabnav4,#tabnav_arrow2 ,#tabnav_arrow3,#tabnav_arrow4,#footer {display: none !important;}

#warp {height: 550px !important;}

#main_content {height: 440px !important;}

#index {height: 440px !important;}

}



@-moz-document url("http://udn.com/1024MAIN/inc/main_content_news.shtml") {

#marquee_text {display: none !important;}

}



@-moz-document url-prefix("http://udn.com/NEWS/") {

table.mainbg>tbody>tr>td+td {display: none !important;}

table.mainbg>tbody>tr>td>table+table>tbody>tr>td>table>tbody>tr+tr {display: none !important;}

table.mainbg>tbody>tr>td>table+table {width:987px !important;}

table.mainbg>tbody>tr>td>table+table>tbody>tr>td+td+td {width:843px !important;}



/*Add@960601*/

/*====================================================================*/

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr {display: none !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child {display:table-row !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr {display: none !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr {display:table-row !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr {display: none !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}

/*

因為tr有10個及12個的,所以"其他新聞"會出現在8th tr及10th tr,

但因10個或12個出現地方不一定,所以統一將8th tr之後都顯示出來

另10th or 12th tr可以last-child使其不顯示,另加於後面

10個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+tr+(tr)+(tr),1、2、4、8顯示

12個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+(tr)+tr+(tr)+(tr)+(tr),1、2、4、10顯示

*/



/*Disable@960605*/

/*====================================================================

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display: none !important;}

====================================================================*/



/*Add@960605*/

td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr:last-child {display: none !important;}

}

No comments: