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

 

Recently we found that csdn has killed the direct subscription address. Currently, we can only subscribe through feedsky. The goal is obvious. 1 is that feedsky subscriptions can be divided into rich ones, and 2 is the ranking of csdnblog.
If feedsky is used, you cannot only display official csdn subscriptions. Can you be more aggressive with csdn?
# Subscriptionlist {display: none ;}

 

 

By the way, the post is displayed. Remove this section->. spacecommment {display: none ;}

 

 

Added the user information shielded from getjson (csdn uses the extremely evil replacewith, and I also use ...)
$ ('# Userinfo '). replacewith ('<DT style = "text-align: left; "> User Information </DT> <dd class =" Middle "> <a href =" http://blog.csdn.net/mayongzhan "> </> </DD> <span style = "display: none; "> <span id =" userinfo "> </span> ');

 

 

Synchronize the corner book of the previous article in document. Ready. (csdn adjusted the template sequence, which is not required in the first place ...)
$ JQ (document). Ready (function () {/* to do */});

 

 

The complete style is as follows:

 

# 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 ("# search_ddlsearchscope> Option [value! = 'All'] "). ATTR (" selected "," true ");
$ ('# Userinfo '). replacewith ('<DT style = "text-align: left; "> User Information </DT> <dd class =" Middle "> <a href =" http://blog.csdn.net/mayongzhan "> </> </DD> <span style = "display: none; "> <span id =" userinfo "> </span> ');
$ 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/javascript/printnotice.js' | csdntempscriptsrc = '/JavaScript/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.