Blog历次的版面风格(图)

自从CSDN升级博客到3.1a后,blog的CSS效果已经出不来了,不过没时间改,只好临时用着系统自带的版式,下面是历次博客版面效果图:


05年8月前的:


06年9月前的:

 

最近的效果图:

 对应的CSS定义:

body  {
  margin
:0px;
  padding
:0px;
  font-size
:12px;
  font-family
: verdana, 宋体;
  color
: #304101;
  background-color
:#8EC759;
}

a:link, a:visited, a:active 
{
  font-weight
: normal; 
  color
: #0095C8;
  text-decoration
: none;
}

a:hover 
{
  background
: #transparent;
  color
: #0095C8;
  text-decoration
: underline;
}

.pagelayout 
{
  margin
:0px;
  padding
:0px;
  background-color
:#8EC759;
  top
: 0px;
}

.leftcolumn 
{
  float
: left;
  width
: 100%;
  text-align
: left;
  margin-left
: 8px;
  margin-top
: 2px;
  margin-right
: -240px;
  padding-left
: 0px;
  padding-top
: 8px;
  padding-bottom
: 0px;
  background-color
: transparent;
}

.innerleftcolumn 
{
  text-align
: left;
  margin
: 0px;
  margin-right
: 240px;
  padding-left
: 10px;
  padding-top
: 15px;
  padding-right
: 10px;
  padding-bottom
: 0px;
  background
:url("https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_cont_top.gif") #fff repeat-x top left;
  filter
:progid:DXImageTransform.Microsoft.Shadow(color='#6C9149', Direction=180, Strength=2);
}

.centercolumn 
{
  float
: right;
  width
: 191px;
  padding-right
: 0px;
  margin-right
: 8px;
  margin-top
: 20px;
}

.header 
{
 margin
: 0px;
 height
:142px;
 padding-top
: 38px;
 padding-left
: 25px;
 background
:url("https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_blog_hder_bg.png") #8EC759 fixed no-repeat right bottom;
  color
: #E37903;
  font-size
: 16px;
  font-family
: Verdana;
  font-weight
:bold;
}

a.headermaintitle:link, a.headermaintitle:visited, a.headermaintitle:hover 
{
  text-decoration
: none;
  background-color
:transparent;
  color
: #E37903;
  font-size
: 24px;
  font-weight
:bold;
}

.datetitle 
{
  text-align
: left;
  padding-right
: 4px; 
  font-weight
: normal; 
  font-size
: 14px; 
  background-color
: transparent; 
  color
: #0095C8; 
  border-bottom
: #EEEEEE 1px solid;
  display
: none;
}

.posttitle A:link, .posttitle A:visited 
{
  text-decoration
: none;
  color
: #FF1864; 
  font-size
:14px; 
  font-weight
: bold;
}

.posttitle A:hover 
{
  text-decoration
: underline; 
  color
: #FF1864; 
  font-size
:14px;
  font-weight
: bold;
}

.postTitle 
{font-size:14px;}
.footer
{
  width
:100%;
  background-color
: #8EC759;
  color
: #3A3625;
  border-top
: 0px;
  font-size
: 12px;
  text-align
: center;
  padding
: 0px;
  vertical-align
: middle;
  background
:url("https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_bot_bg.gif");
  height
: 64px;
}

.listtitle 
{
  color
: #842F00;
  height
: 49px;
  background
:url("https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_panel_bg.gif") #8EC759 no-repeat;
  padding-left
: 13px;
  padding-top
: 15px;
  font-size
: 20px;
  margin
: 0px;
  padding-bottom
: 0px;
  font-weight
: bold; 
  line-height
: 1em;
  letter-spacing
: 0.1em;
}

.list 
{
  border
: 0px;
  margin-bottom
: 15px;
  margin-left
: 8px;
  padding-left
: 10px;
  padding-top
: 10px;
  padding-right
: 5px;
  padding-bottom
: 20px;
  background
:url("https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_panel_bot.gif") #FFFFFF fixed no-repeat bottom;
}

a.listitem:link, a.listitem:visited, a.listitem:hover 
{
  background-color
: transparent;
  font-size
: 12px;
}

ul.list, ol.list 
{
  border
: 0px;
  padding-left
: 3px;
}

.moreinfotitle 
{ font-size: 14px;}
.moreinfo, .comments 
{font-size: 12px;}
input, textarea 
{ font-size: 12px; }
.entrylistitem A:link, .entrylistitem A:visited, .itemdesc A:link, .itemdesc A:visited 
{
  background-color
: transparent;
  text-decoration
: none; 
  color
: #0095C8; 
  font-size
:12px;
  font-weight
: normal;  
}

.entrylistitem A:hover, .itemdesc A:hover 
{
  background-color
: transparent;
  text-decoration
: underline; 
  color
: #0095C8; 
  font-size
:12px;
  font-weight
: normal;  
}

a.entrylisttitle:link, a.entrylisttitle:visited 
{
  background-color
: transparent;
  text-decoration
: none; 
  color
: #FF1864; 
  font-size
:14px;
  font-weight
: bold;
}

a.entrylisttitle:hover 
{
  background-color
: transparent;
  text-decoration
: underline; 
  color
: #FF1864;
  font-size
:14px;
  font-weight
: bold;
}

h1, h2 
{
  font-weight
: bold;
  font-size
: 16px;
  background-color
: transparent;
  color
: #842F00;
}

.postText, .postText P, TD, P 
{font-size: 12px;}
.BlogIndex 
{
  color
: #2CBE00;
  text-align
: left;
  margin-left
: 20px;
  margin-top
: 145px;
  margin-right
: 20px;
}

.BlogIndex A 
{ color: #2CBE00;}
.tagad  
{ DISPLAY: none; }
附加的JS代码:
< script language = " javascript " >
var  HasInit  =   false ;
function  GetElementByClass(AClass, TagName)
{
  
var allPageTags = document.getElementsByTagName(TagName);
  
for (i=0; i<allPageTags.length; i++)
    
if (allPageTags[i].className == AClass)
      
return allPageTags[i];
}

function  SetBlogInfo()
{
  
var Pannel = GetElementByClass("listtitle""h1");
  
if (Pannel && Pannel.innerHTML=="导航")
  
{
    Pannel.nextSibling.removeNode(
true);
    Pannel.removeNode(
true);
  }

  Pannel 
= GetElementByClass("listtitle""h1");
  
if (Pannel && Pannel.innerHTML=="Blog统计")
  
{
     Pannel 
= Pannel.nextSibling;
     
var s = "";//"<span class='BlogIndex'>";
     for (i=0; i<Pannel.childNodes.length; i++)
     
{
       s 
+= Pannel.childNodes[i].innerHTML+"";
     }

     s 
+= "<a class='listitem' href='http://blog.csdn.net/nhconch/Rss.aspx'>RSS</a> , <a class='listitem' href='http://feeds.feedsky.com/csdn.net/nhconch' target='_blank'>订阅</a> , <a class='listitem' href='http://writeblog.csdn.net/'>管理入口</a>";//</span>";
     var obj = GetElementByClass("header""div");
     
if (obj)
     
{
       obj 
= obj.nextSibling;
       
var e = document.createElement("span");
       e.innerHTML 
= s;
       e.className 
= "BlogIndex";
       obj.parentNode.insertBefore(e,obj);
       Pannel.previousSibling.removeNode(
true);
       Pannel.removeNode(
true);
     }

  }

}

function  ClearAd()
{
  
var obj = document.getElementById("footer");
  
if (obj) {
    obj.innerHTML 
= 'Copyright &copy;2004-2008 conch All rights reserved.<br>本站所有原创文章版权归站长 <font color="#037AA7">狂歌痛饮</font> 所有,<font color="#D40707">未经同意,不得转载!</font>';
    obj.className
="footer";
    obj.style.display
="block";
  }

  
/*obj = document.getElementById("tagad");
  if (obj) obj.removeNode(true);
*/

  
if (!document.getElementsByTagName) return;
  __img_ 
= new Image();
  __img_.src 
= "https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_caption_icon.gif";
  
var _imgs = document.getElementsByTagName("img");
  
for (i=0; i<_imgs.length; i++)
    
if (_imgs[i].src.indexOf("authorship.gif")!=-1 || _imgs[i].src.indexOf("zhuan.gif")!=-1)
    
{
      _imgs[i].src 
= "https://p-blog.csdn.net/images/p_blog_csdn_net/nhconch/237963/o_caption_icon.gif";
      _imgs[i].width 
= "53";
      _imgs[i].height 
= "35";
      _imgs[i].align
= "absMiddle";
    }

  obj 
= document.getElementById("imgTitleIsOnline");
  
if (obj) { obj.style.display="none"; obj.removeNode(true);}
  obj 
= document.getElementById("TopicAuthor");
  
if (obj) { obj.style.display="none"; obj.removeNode(true);}
  
if (!HasInit) setTimeout("ClearAd()"1000);
}

function  BlogInit()
{
  ClearAd();
  HasInit 
= true;
}

ClearAd();
window.onload 
=  BlogInit;
SetBlogInfo();
</ script >
< b id = endpoint ></ b >
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值