一、
DIY博客背景代码:
<STYLE type=text/css>
body
{background:url(页面大背景图片地址) repeat scroll!important;}
.banner
{background:url(题图下背景图片地址) no repeat no scroll!mportant;}
.logo
{background:url(题图上背景图片地址) no repeat no scroll!mportant;}
.bodyBg
{background:url(页面内背景图片地址) no repeat no scroll!mportant;}
</STYLE>
body
{background:url(页面大背景图片地址) repeat scroll!important;}
.banner
{background:url(题图下背景图片地址) no repeat no scroll!mportant;}
.logo
{background:url(题图上背景图片地址) no repeat no scroll!mportant;}
.bodyBg
{background:url(页面内背景图片地址) no repeat no scroll!mportant;}
</STYLE>
这是更改博客最基本四部分的背景的代码,还有更改其他部分的代码,基本上可以把新浪博客的模板颜色改个底朝天!我觉得改太多了反而不好,可能会适得其反,反而使博客不好看,所以也就没贴出来!
解释一下,“页面大背景”就是整个博客的最大背景,由于中间部分被覆盖,所以显示的效果只是两边的部分!“题图下背景(banner)”是指博客名字(如情留-γ蚊ж子ま)和博客地址(如
http://blog.sina.com.cn/u/1232621845 ﹥
复制 ﹥
收藏本页)所在的那部分的背景,“题图上背景(logo)”是指所在在窄条的背景!而“页面内背景”是指除了以上这三部分外页面内的的背景!
其中banner和logo宽都为770,banner高135,logo高40。
蚊子BLOG的一个图片素材库:
http://blog.sina.com.cn/u/4845e15e010002ag#comment提供了几款banner+logo,有的是从其他博客盗过来的,其中有两张只是单纯的banner,其他的是banner和logo合起来的图片;要用这些图片需要对其裁剪成两部分,banner和logo的宽和高上面已经说明,数据有微小差别没有太大关系,不影响大致效果;裁剪其实很简单的,window自带的画图程序就能实现!
需要说明的是:
这段代码不能添加在什么都没有的空白面板里,要不然会没有效果;在添加空白面板的时候,在显示源代码前打勾,然后先随便输入几个字符,什么都可以,再把代码放进去才行!或者把代码放在已建的面板里的其他东西的代码后面,比如放在你的时钟代码后面或者天气预报代码后面什么的都可以!
不过我建议最好放在既有的面板里,如果单纯的输入几个字符的话,最后页面面板里显示的效果会出现那几个字符,影响美观!
<wbr></wbr>
二、
DIY鼠标代码:
<wbr></wbr>
<STYLE type=text/css>
a:hover { cursor:url('鼠标地址一')}
body<wbr>{ cursor:url('鼠标地址二')}</wbr>
</STYLE>
<wbr></wbr>
其中,“鼠标地址一”显示的效果是鼠标碰到有超链接时的形态;“鼠标地址二”显示的效果是一般情况下的鼠标形态,示例可以看我的博客上的鼠标效果。大家用的时候把从下面找的鼠标地址代进去就可以了。如果只要一种样式,则把代码中的“a:hover { cursor:url('鼠标地址一')}”删掉就行了。
<wbr></wbr>
需要说明的是,鼠标这也是CSS代码,不能放在什么都没有的空白面板里,你添加代码的时候先按个空格,接着再点显示源代码,你会看到一些代码,然后再把代码放进去,放在那些代码的后面。或者你可以把代码放在既建的已有东西的模板里的其他代码的后面,建议用此方法。
<wbr></wbr>
以下只是部分的鼠标样式地址
<wbr></wbr>
<style type=text/css>
body
{background:url("页面大背景图片地址") repeat scroll!important;}
.logo
{background:url("题图上背景图片地址") no repeat no scroll!mportant;}
.banner
{background:url("题图下背景图片地址") no repeat no scroll!mportant;}
.menu
{background:url("题图下的菜单背景图片地址") no-repeat center;}
.feeds .up
{background:url("正文标题栏上翻时的图片地址") no-repeat center;}
.feeds .down
{background:url("正文标题栏下翻时的图片地址") no-repeat center;}
.feeds .function
{background:url("正文摘要结尾处菜单的图片地址") no-repeat right;}
.links .up
{background:url("面板标题栏上翻时的图片地址");}
.links .down
{background:url("面板标题栏下翻时的图片地址");}
.links .mid
{background:url("面板的背景图片地址");}
.photo .mid
{background:url(个人形象照片处的背景图片地址);}
.label .mid
{background:url("自定义面板的背景图片地址");}
.calendar .mid
{background:url("日历面板背景图片地址");}
.callboard .up
{background:url("公告栏标题栏上翻时的图片地址");}
.callboard .down
{background:url("公告栏标题栏下翻时的图片地址");}
.callboard .mid
{background:url("公告栏背景图片地址");}
.bodyBg
{background:url("页面内背景图片地址");}
.sysBr500
{background:url("所有文章的背景图片地址,建议不使用这段代码");}
.bodyBottom
{background:url("内背景页脚处图片地址");}
.sysW770
{background:url("页面底部“新浪BLOG意见反馈留言板”等字所在的背景图片地址");}
.gbook .up
{background:url("留言板标题栏上翻时的图片地址") no-repeat;}
.gbook .down
{background:url("留言板标题栏下翻时的图片地址") no-repeat;}
.feeds .page
{background:url("正文文章页数图片地址") no-repeat center;}
.links .more
{background:url("最新文章列表下的MORE的背景图片") no-repeat right;}
.add
{background:url("发表文章四个字所在的背景图片") no-repeat right;}
.add .ico
{background:url("发表文章四个字左边的小图片") no-repeat right;}
body
{background:url("页面大背景图片地址") repeat scroll!important;}
.logo
{background:url("题图上背景图片地址") no repeat no scroll!mportant;}
.banner
{background:url("题图下背景图片地址") no repeat no scroll!mportant;}
.menu
{background:url("题图下的菜单背景图片地址") no-repeat center;}
.feeds .up
{background:url("正文标题栏上翻时的图片地址") no-repeat center;}
.feeds .down
{background:url("正文标题栏下翻时的图片地址") no-repeat center;}
.feeds .function
{background:url("正文摘要结尾处菜单的图片地址") no-repeat right;}
.links .up
{background:url("面板标题栏上翻时的图片地址");}
.links .down
{background:url("面板标题栏下翻时的图片地址");}
.links .mid
{background:url("面板的背景图片地址");}
.photo .mid
{background:url(个人形象照片处的背景图片地址);}
.label .mid
{background:url("自定义面板的背景图片地址");}
.calendar .mid
{background:url("日历面板背景图片地址");}
.callboard .up
{background:url("公告栏标题栏上翻时的图片地址");}
.callboard .down
{background:url("公告栏标题栏下翻时的图片地址");}
.callboard .mid
{background:url("公告栏背景图片地址");}
.bodyBg
{background:url("页面内背景图片地址");}
.sysBr500
{background:url("所有文章的背景图片地址,建议不使用这段代码");}
.bodyBottom
{background:url("内背景页脚处图片地址");}
.sysW770
{background:url("页面底部“新浪BLOG意见反馈留言板”等字所在的背景图片地址");}
.gbook .up
{background:url("留言板标题栏上翻时的图片地址") no-repeat;}
.gbook .down
{background:url("留言板标题栏下翻时的图片地址") no-repeat;}
.feeds .page
{background:url("正文文章页数图片地址") no-repeat center;}
.links .more
{background:url("最新文章列表下的MORE的背景图片") no-repeat right;}
.add
{background:url("发表文章四个字所在的背景图片") no-repeat right;}
.add .ico
{background:url("发表文章四个字左边的小图片") no-repeat right;}