CSS style V5 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

 

In the face of the extremely XX revision of csdn, XX is complete. Change it.

Csdn adjusted the left and right sides. The left side is the article, and the right side is the navigation. I am X. You have to change the configuration. Can you manually adjust it?
After the left and right changes, document. Ready does not need to be added. Comment out.
Go to the compatible homepage and content page of the announcement.
Remove the style modification from the favorites button
Adjusted the CSS to adapt to the csdn modification.

 

For details, see red letter.

 

# Subscriptionlist {display: none ;}
# Csdnblog_allwrap {width: 1000px ;}
# 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_content Div. gutter {}

. 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> ");
}
If ($ JQ ('# csdnblog_content>. gutter> script'). length! = 0 ){

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 ');
}
}
//});

</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.