CSS V4 of the csdn blog

Source: Internet
Author: User

Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan

-Ma yongzhan, myz, mayongzhan

 

A V4 is generated one day after another.
In the future, let's make a summary and try again.
This is mainly to deal with the advertisement bar added at the top of the content of csdn. It turned out to be an imitation of our company's style. Kill ~

For details, see red letter.

 

# Subscriptionlist {display: none ;}
# Csdnblog_sidebar {width: 200px ;}
# Csdnblog_sidebar Div. gutter {width: 100%; margin: 0px ;}
. Aboutauthor {padding: 0px; border-left: 0px; border-bottom: 0px; border-top: 0px; border-Right: 1px dotted # AAA ;}
# Csdnblog_content {width: 800px ;}
# Csdnblog_allwrap {Min-width: 1000px ;}
. Publiclist_sidebar ul Li {margin: 0px; padding: 0px ;}
. Publiclist_sidebar ul Li a {margin: 0px; padding: 0px ;}
. User_article H1 IMG {display: none ;}
. User_article P {text-indent: 0em ;}
. Blogstory P {text-indent: 0em ;}
. Aboutauthor {width: 200px ;}

 

<Script language = "JavaScript" type = "text/JavaScript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js">
</SCRIPT>
<SCRIPT type = "text/JavaScript" src = "/syntaxhighlighter/jquery. highlighter. js"> </SCRIPT>
<Script language = "JavaScript" type = "text/JavaScript">
$ JQ = jquery;
$ JQ ("DD: Contains ('Access times, ranking'): First" Login .html ("");
$ JQ ("DT: Contains ('Id: '): First span" ).html ("");
$ JQ ("DT: Contains ('Article '): First" ).html ("");
$ JQ ("DD: Contains ('original'): First" ).html ("");
$ JQ ("DD: Contains ('translation'): First" ).html ("");
$ JQ ("DD: Contains ('reprinted '): First" ).html ("");
$ JQ ("DD: Contains ('comments'): First" ).html ("");
$ JQ ("# search_ddlsearchscope> Option [value! = 'All'] "). ATTR (" selected "," true ");
$ JQ (document). Ready (function (){
VaR blogtitle = $ JQ ('. user_article> H1 ');
VaR blognextprev = $ JQ ("# post //. ascx_viewpost_previusandnextentriesdown ");
If (blognextprev.html ()! = NULL ){
Blogtitle.html(blogtitle.html () + "<div> & nbsp; </div> <div>" + blognextprev.html () + "</div> ");
}
VaR csdntempscriptsrc = $ JQ ('# csdnblog_content>. gutter> script') [0]. SRC;
If (csdntempscriptsrc = 'HTTP: // blog.csdn.net/js/printnotice.js' | csdntempscriptsrc = '/JS/printnotice. js '){
$ JQ ("script ~ . Default_contents: First ").css ('display', 'None ');
}

Using jq('.fav_csdnstylebykimi'apps.css ("color", "#999999 ");
Using jq('.fav_csdnstylebykimi'developer.css ("font-weight", "normal ");
});
</SCRIPT>

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.