csdn博客的css样式 v11

csdn博客的css样式 v11

http://blog.csdn.net/mayongzhan – 马永占,myz,mayongzhan

 

书接上回,上次说到下次更新是很久很久之后的事,果不其然,确实是久了一点,也正说明csdn在稳定中前进。今天发现原来在博客右下的广告框,现在出现了一个变种,是类似于人人网工具条一样的长条广告,很是不爽,决定搞掉它,调试不太方便,因为此广告在点关闭后今天就不会再出现。

 

#_popup_msg_container {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;}
#_popup_msg_container {display:none;}

 

<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(‘img[alt^=”XML”]:first’).replaceWith(“”);
$jQ(“#Search_ddlSearchScope > option[value!=’all’]”).attr(“selected”,”true”);
$(‘#userInfo’).replaceWith(‘<dt style=”text-align: left;”>用户信息</dt><dd class=”middle”><a href=”http://blog.csdn.net/mayongzhan”><img alt=”” src=”http://img./uploadfile/allimg/150809/0F0043438-0.jpg”/></a></dd><span  style=”display:none;”><span id=”userInfo”></span></span>’);
$jQ(document).ready(function(){
var blogTitle = $jQ(‘.user_article > h1’);
var blogNextPrev =$jQ(“#Post//.ascx_ViewPost_PreviousAndNextEntriesDown”);
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>

 

csdn博客的css样式 v11

相关文章:

你感兴趣的文章:

标签云: