.net新手

人生就像一场旅行,不必在乎目的地,在乎的是沿途的风景以及欣赏风景的心情!

导航

发布一个不完善的皮肤

无聊时做的,是在李华顺的博客皮肤的基础上修改的(http://www.cnblogs.com/huacn/archive/2007/04/04/700529.html),还有不少问题,不过先发上来给感兴趣的朋友看看。

CSS代码:
注意!这个是在博客园皮肤marvin3-brown的基础上覆盖的样式,所以如果不选哪个的话,可能会有出入

 

*{ margin:0px;padding:0; }
body 
{
    font-size 
: 12px;
    font-family 
: Verdana, 宋体, Arial, Helvetica, sans-serif;
    word-wrap
: break-word;
    margin
:0 0 0 0;
    padding
:0px;
    background-repeat
: repeat-x;
    background-color
: #FFFFFF;
}

/*一般性的链接*/
a:link
{color: #54b0e2;text-decoration: none;}
a:visited 
{color: #54b0e2;text-decoration: none;}
a:hover
{ text-decoration:underline; color: #817c77;}
{ font-size : 12px; line-height:150%; }
a:visited, a:active, a:link 
{ color :#54b0e2; text-decoration : none; font-size : 12px; } 
h1 
{ margin : 0px; font-size : 1.5em; }
h1 a:visited, h1 a:active, h1 a:link 
{ color : #333; font-size:14px; } 
h1 a:hover 
{ color : #47F; text-decoration : none; } 
h2 
{ margin-top : 10px; font-size : 1em; } 
h5 
{ margin: 0px; padding: 0px; } 
#top 
{
    padding
:20px 0 0 0;
    color 
: #DDDDDD;
    height
:120px;
    margin
:0px;
    border-bottom
:4px solid #99CC66;
    background-image
: url(http://messenger.live.cn/images/index/index_top_bg.JPG);
}
 
#top h1 
{
    margin
:0px 20px 20px 20px;
    width
:300px;
    height
:44px;
    padding
:0;
    background-image
: url(http://www.cnblogs.com/images/cnblogs_com/sinoese/100658/r_logo.png);
    background-repeat
: no-repeat;
}
 
#top h1 a
{
    font-size
:1px;
    font-family
:Verdana;
    font-weight
:100;
    margin-left
: 0px;
}
 
#top #tagline 
{ display:block; padding:5px 0px; text-align:right; border-top:0px solid #444; border-bottom:0px solid #444; width:100%; margin:0; } 
p.date img 
{ vertical-align : middle; } 
p.date 
{ font-size : 12px; border-bottom : 1px solid #345200; margin-bottom : 0px; padding : 2px 0px; text-align:right; color:#345200} 
blockquote 
{ font-style : italic; } 
p.postfoot 
{ font-size : 12px; color:#999; } 
p.postfoot a:link,p.postfoot a:visited
{ color:#929272; } 
#leftmenu 
{ position : absolute; left : 0px; width : 180px; top:134px; bottom:50px; height:100%; padding-top:6px;}
*html #leftmenu 
{ position : absolute; left : 0px; width : 180px; top:110px; height:100%; padding-top:9px;  } 
*+html #leftmenu 
{ position : absolute; left : 0px; width : 180px; top:110px; height:100%; padding-top:9px;  } 
#rightmenu 
{ width : 180px; position : absolute; right : 0px; top:134px; height:100%; bottom:50px; padding-top:6px; background:none; } 
*html #rightmenu 
{ width : 180px; position : absolute; right : 0px; top:110px; height:100%; bottom:50px; padding-top:9px;  } 
*+html #rightmenu 
{ width : 180px; position : absolute; right : 0px; top:110px; height:100%; bottom:50px; padding-top:9px;  } 
#leftmenu h3, #rightmenu h3 
{ margin : 0px; padding : 4px 6px; display:block;font-size:13px; border-bottom:1px solid #DDD;font-weight:600; color:#817c77} 
#leftmenu ul, #rightmenu ul 
{ list-style : none; margin : 0px; padding : 0px; margin-left : 4px; margin-right : 4px; margin-top : 5px; margin-bottom : 15px; font-size : 12px; } 
#leftmenu ul li, #rightmenu ul li
{
    margin
:0px;
    color
: #54b0e2;
}
 
#leftmenu ul li, #rightmenu ul li a
{
    color
: #54b0e2;
}
 
#leftmenu ul li a:visited,#rightmenu ul li a:visited
{ display:block; width:160px; border-bottom:1px dashed #E0E0E0; font-size:12px; padding:3px 4px; } 
#leftmenu ul li a:hover,#rightmenu ul li a:hover
{  border-bottom:1px dashed #F5F5F5; text-decoration:none; } 
#main 
{
    margin 
: 0px 180px 0px 180px;
    padding 
: 10px;
    border
:none;
    font-size 
: 12px;
    background-color
: #FFFFFF;
    background-position
: 120px;
}

.post 
{ font-size : 12px; line-height:150%; margin-top:10px; padding:0px; } 
.post h2 a:link,.post h2 a:visited
{
    font-size
:14px;
    font-weight
:bold;
    display
:block;
    background-image
:url(http://www.microsoft.com/silverlight/assets/images/icon_blog_key_0.gif);
    background-position
:7px 0px;
    background-repeat
:no-repeat;
    text-indent
:25px;
    border
:1px solid #EEE;
    color
:#125CA7;
    padding
:4px;
}
 
.post h2 a:hover
{font-size:17px; font-weight:bold;  background-image:url('http://www.microsoft.com/silverlight/assets/images/icon_blog_key_5.gif'); 
background-position
:7px 0px; background-repeat:no-repeat; text-indent:25px; color:#88CC00; border:1px solid #E0E0E0; padding:4px; text-decoration:none; }
 
#footer 
{
    margin 
: 0px;
    padding-top 
: 5px;
    text-align 
: center;
    font-size 
: 12px;
    height
:50px;
    color
:#54b0e2;
    border-top
:4px solid #99cc66;
    clear
:both;
    width
:100%;
    display
:block;
    bottom
: 0px;
    left
: auto;
    top
: auto;
    right
: auto;
}
 
#footer a
{ color:#54b0e2; } 
#footer br
{ display:none; } 
input.text 
{ width : 300px; } 
textarea 
{ width : 300px; height : 200px; } 
#comments h3
{ background:url('/images/cnblogs_com/huacn/user_comment.png') 6px 2px no-repeat; text-indent:26px; height:24px; line-height:24px; margin:0; color:#666; } 
#comments h4 
{ margin : 0px;  border-bottom:1px solid #F0F0F0; font-size : 0.9em; padding:3px 0; color:#444; font-weight:normal; background-image:url('/images/cnblogs_com/huacn/comment.png'); background-position:4px 4px; text-indent:24px; background-repeat:no-repeat; } 
#comments h4 a:link,#comments h4 a:visited
{ color:#929241; font-weight:normal; } 
#comments h4 span 
{ color : #999; } 
#comment p
{ color:#777; padding:8px; margin-bottom:10px; } 
{ margin :0 0 10px 0; } h3 { font-size : 1.2em; border-bottom : 1px solid #AAA; } 
#relatedlinks ul 
{ list-style : none; margin-left : 10px; padding : 0px; } .Cal { width:100%; font-family:Verdana; font-size: 12px; margin-top:10px; margin-bottom:10px; padding:4px; height:180px;  border:1px solid #FFF; } .CalTitle { border:none; font-family:Verdana; font-size: 13px; color : #000; margin-left : 0px; padding : 0px; height:100%; font-weight:bold; } .CalOtherMonthDay { color:#808080; } .CalSelector { } .CalNextPrev { } .CalDayHeader {  } .CalSelectedDay { } .CalWeekendDay { } .CalTodayDay {  } .commentform span{border:1px solid #FEBC64; padding:4px; margin-bottom:10px; } .commentform table { margin-top:10px; } .commentform table input[button]{ padding:4px 10px; font-weight:bold; } .commentform table span{ padding:0px; border:0px; background:none; margin:0; } 

posted on 2007-07-24 16:51  sinoese  阅读(1434)  评论(8编辑  收藏  举报