王朝网络
分享
 
 
 

百度空间详细CSS代码详解

王朝html/css/js·作者佚名  2008-11-25
宽屏版  字体: |||超大  

空间名称和简介区域

#header ——主体部分—空间头部的整个标题部分

#header div.lc ——主页左上角背景图片

#header div.rc—— 主页右上角背景图片

#header div.tit ——空间名称,即主标题,名字大小颜色

#header div.tit a.titlink ——空间名称链接,未被点击

#header div.tit a.titlink:visited——已被访问过的链接

#header div.desc ——空间简介,即副标题,位置大小颜色

导航栏

#tabline ——菜单下方的横线,即分隔符,用来与空间名称分开

#tab ——导航菜单栏主体—页面上方“主页博客|相册……”栏背景图片

#tab a.on,#tab a.on:link,#tab a.on:visited—— 选中状态,即“导航栏链接”,大小颜色+背景

#tab span ——导航栏项与项之间的分割符“|”

#tab a:link ——TAB“博客|相册……”栏链接颜色,未被点击

#tab a:visited——“博客|相册……”已被访问过的链接

#tab2 ——(基本选项 | 模板设置 | 高级设置 | 访问统计) 这行的菜单主体属性

#tab2 span ——TAB选中状态

#tab2 a ——TAB未选中状态

#tab2 a:link

#tab2 a:visited ——已被访问过的链接

内容区域

.stage ——页面正文所有部分(导航栏以下)

其它区域(即访问量等信息)

#comm_info 主体部分——“其它”中“已有 人次访问本空间”颜色、位置

#comm_info div.line ——“已有 人次访问本空间”下面粉红色分割线相关设置

#comm_info a——“其它”中“什么是RSS?”颜色

#comm_info a:hover——悬停效果

#comm_info.mod——区域标题

#m_comm_info.modbox——其它区域模块

#pvshow——访问量数字字体#m_comm_info div a——百度logo

页码区域

#page ——主体 高度大小位置

#page span—— 当前页码(不可点击)

#page a.pc—— 上一页和下一页 未被点击

#page a.pc:visited—— 已被点击

#page a.pi ——页码(可点击)

#page a.pi:visited ——已被访问过的链接

模块区域

.mod ——模块标题,上下间距

.modhandle{cursor:move}

.modth ——模块标题栏主体和正文之间的距离

.modhead ——模块标题区的位置

.modopt ——模块操作区(如写新文章),间距

.modtit ——模块标题区(如文章列表、个人档案)大小颜色

.modtitlink ——模块标题链接

.modact ——操作文字链接,“修改个人资料”链接,——右上角“编辑”等链接的相关大小颜色设置。

.modbox ——模块内容区主背景颜色等

a.modact:link——“修改个人资料”链接颜色

a.modactlink:visited ——已被访问过的链接

.modtl ——模块左上角远郊边沿图片背景,第一列,空列

.modtc—— 模块中上的背景图片背景,第二、三列,个人档案、修改个人资料

.modtr ——模块右上角背景图片背景,第四列,空列

.modbl ——模块左下角背景图片背景

.modbc—— 模块中下、最下端一条背景图片背景

.modbr ——模块右下角背景图片背景

文章区域

#m_blog div.tit ——文章标题

#m_blog div.tit a ——文章标题链接,大小颜色,未被点击

#m_blog div.tit a:visited ——文章标题大小颜色已被访问过的链接

#m_blog div.date ——文章发表日期,文字大小颜色

#m_blog div.cnt—— 文章内容大小颜色

#m_blog div.more ——“阅读全文>>”

#m_blog div.more a ——“阅读全文>>”的大小颜色,未被点击

#m_blog div.more a:visited ——“阅读全文>>”的大小颜色已被访问过的链接

#m_blog div.opt ——文章操作区(如“编辑”等的颜色大小)

#m_blog div.opt a ——文章操作链接大小颜色

#m_blog div.opt a:visited ——“编辑 删除 评论(4) 浏览(21)”已被访问过的链接

#m_blog div.line ——分隔条的相关设置

#m_blog div.none ——无文章提示信息,隐形设置,不需要改变

个人档案区域

#mod_profile.modtit——首页个人档案标题

#m_pro a ——个人档案中“查看详细信息”的颜色,未被点击

#m_pro a:hover——悬停效果

#m_pro a:visited ——个人档案中“查看详细信息”已被访问过的链接

#m_pro div.image ——个人档案中个人头像的显示位置,分为“中,左,右——center,left,right”

#m_pro div.act ——操作区——个人介绍和头像的间距

#m_pro div.user ——个人用户名的大小颜色

#m_pro div.desc ——个人简介的大小颜色

#m_pro div.line—— 分界线

#m_pro td

#m_pro .photo——照片的背景(此项以下不能预览

#m_pro .photo td——加为好友发送消息中间“|”

#m_pro .photo .image

#m_pro .photo .line——头像下划线

#m_pro .ref

#m_pro .ref .tit——从“用户名”到“圈子”

#m_pro .ref .cnt

#m_pro .basic td——用户名至查看该用户在百度的等

#m_pro .basic .tit

#m_pro .basic a:hover——男省份日期链接,鼠标悬浮在上的链接,未被点击

#m_pro .basic a.nlk:hover——“贴吧发言”“知道回答”

#m_pro .pline——中间分界线

#m_pro .pitem——字体 高度

#m_pro .pitem .tit——我曾就读过的学校等

#m_pro .pitem a:hover——鼠标悬浮在上的链接

相册区域

#m_album div.image ——相册中照片的显示位置,分为“中,左,右——center,left,right”

#m_album div.page ——“上一页”>>“下一页”

#m_album div.page a ——“上一页”的“下一页”未被点击

#m_album div.page a:visited—— “上一页”的“下一页”已被访问过的链接

#m_album div.image——相册预览区域

#m_album a img——图片链接

#m_album a:hover img——图片悬停效果

#cbut——相册操作按钮

#cbut a img{border:0px;filter:alpha(enabled=0)} ——按钮图片

友情链接区域

#m_links div.item ——子项——友情链接中字体颜色大小

#m_links div.item a ——名称(链接)——友情链接中字体的大小颜色,未被点击

#m_links div.item a:visited ——友情链接中字体的大小颜色,已被点击

#m_links div.line ——分界线

自定义模块1-4

#m_mylink1-4 div.item——“描述”的内容

#m_mylink1-4 div.item a——标题链接名称

#m_mylink1-4 div.item a:visited——标题链接名称已被访问过的链接

#m_mylink1-4 div.line——分割线

文章分类区域

#m_artclg div.item ——子项——文章分类中各分类后面主题数及括号的大小颜色

#m_artclg div.item a ——分类名称(链接)——文章分类中各分类的大小颜色,未被点击

#m_artclg div.item a:visited ——文章分类中各分类已被访问过的链接

#m_artclg div.line ——分界线——文章分类中各分类之间的分隔符的相关设置

最新评论区域

#m_comment div.item ——子项——最新评论中用户名的大小颜色,未被点击

#m_comment div.item a ——最新评论中用户名的大小颜色,未被点击

#m_comment div.item a:visited—— 最新评论中用户名的大小颜色,已被点击

#m_comment div.item a.cnt ——最新评论中评论文字的大小颜色,未被点击

#m_comment div.item a.cnt:visited ——最新评论中评论文字的大小颜色已被访问过的链接

#m_comment div.item a.cnt:hover ——最新评论中评论文字鼠标悬浮在上的链接

#m_comment div.line ——最新评论中各评论之间的分割线的相关设置

相册列表

#m_albumlist——第一层相册区域背景

#m_albumlist div.none——无照片提示信息

#m_albumlist a img——小相册封面图

#m_albumlist a:hover img——鼠标悬停效果

#m_albumlist div.line——分界线

#m_albumlist div.tit——相册标题

#m_albumlist div.tit a

#m_albumlist div.tit a:hover——悬停效果

#m_albumlist span.count——照片数量

#m_albumlist a.act——操作区链接,如编辑、删除

#m_albumlist a.act:hover——鼠标悬停效果

#m_albumlist div.note——相册第二层图片区域

#m_albumlist div.desc——相册简介

#m_albumlist span.size——照片尺寸

#m_albumlist #page ——当前页码

#m_albumlist #page a——其他页码

#m_albumlist #page a:hover——鼠标悬停效果

#imagee a img——第三层图片区域

#m_albumlist div.phimg a img——图片

#m_albumlist div.phimg a:hover img——图片按钮悬停样式

#m_albumlist div.phinfo——图片信息

#m_albumlist div.phpage——操作按钮的区域

#m_albumlist div.phpage a img——操作按钮

#m_albumlist div.phpage a:hover img——操作按钮悬停样式

好友列表

#m_friend div.filter

#m_friend div.catalog

#m_friend a img——好友头像

#m_friend a:hover img——悬停效果

#m_friend div.user

#m_friend div.user a ——好友名称(链接),未被点击

#m_friend div.user a:hover——悬停效果

#m_friend div.user a img——操作按钮图片

#m_friend div.user a:hover img——操作按钮图片

#m_friend div.user a:visited ——已被访问过的链接

#m_friend div.line ——分界线

设置访问统计、模板设置

#m_setting a ——链接{color:#3399CC}

#m_setting a:hover——悬停效果

#m_setting a:visited ——颜色的设置,已被访问过的链接

#m_setting ——主体颜色的设置,已被点击

#m_setting img.sel ——模板预览图(选中状态){border:4px solid #FFDB7B}

#m_setting img.unsel ——模板预览图(未选中状态)

#m_setting span.tit ——模板标题名称

#m_setting span.usr ——作者名

#m_setting div.sel ——“当前模板”文字

#m_setting div.line ——分界线

系统公告

#m_sysinfo a ——链接 颜色的设置,未被点击

#m_sysinfo a:visited ——颜色的设置,已被访问过的链接

#m_sysinfo ——主体 颜色大小

#m_sysinfo span.new ——最新 颜色大小

#m_sysinfo span.date ——发布时间颜色大小

基本选项

#m_setbase ——主体颜色大小

#m_setbase td ——颜色大小

#m_setbase div.line—— 分界线

#spSpaceName——空间名称

#spSpaceDescri——空间简介

#spConfigDispNum——每页显示文章

#spConfigDispMod——文章显示

#spDateMod——时间格式

#btn_submit——保存选项按钮

网友评论

#in_comment ——主体宽度

#in_comment div.tit ——标题颜色大小等设置

#in_comment div.user ——发表人名、序号、-线颜色大小等设置

#in_comment div.user a ——发表人名(链接)未被点击的颜色大小

#in_comment div.user a:visited ——已被访问过的链接

#in_comment div.user span.date—— 发表时间颜色大小

#in_comment div.desc ——评论内容颜色大小

#in_comment div.line ——分隔符的设置

#in_send div.tit ——发表评论(标题)的设置

文章存档

#m_filed div.item ——主题的颜色大小设置

#m_filed div.item a ——未被点击的颜色大小设置

#m_filed div.item a:visited ——已被访问过的链接

#m_filed div.line ——分界线

最近访客

#m_track a ——访客ID字体颜色大小

#m_track a:hover—— 鼠标悬浮在ID上的链接

#m_track a img ——访客头像的滤镜效果,其他滤镜效果 {filter:invert} , {filter:xray }

#m_track a:hover img ——鼠标在访客头像上的悬停效果

百度搜索

#m_search——百度搜索区域

#m_search input.text ——“互联网”等字体设置

#m_search input.radio ——“互联网”等底色设置

#m_search input.submit ——“百度搜索”设置

#mod_search.mod{background:url() no-repeat 0% 0%} ——百度搜索标题

#m_search input.text——输入框

#m_search label——选框区域

#m_search input.radio——选框前的圆圈

#m_search input.submit——提交按钮

留言板

#mod_board.mod——留言板模块

#mod_board table.modth——以下6项如不设定则继承通用模块的样式

#mod_board td.modtl

#mod_board div.modhead

#mod_board span.modtit

#mod_board td.modtc

#mod_board td.modtr

input.#spBCmtAuthor——留言姓名输入框

input.#spBCmtURL——留言网址输入框

#spBCmtText——留言输入框

#vercode input——验证码输入框

#in_send td.f14 input——留言按钮

#in_msg div——留言区

#in_msg a——留言区链接

#in_msg a:hover——悬停效果

#in_msg div.tit——网友留言标题

#in_msg table.item——网友留言标题

#in_msg td.index——留言序号

#in_msg div.user——留言用户

#in_msg div.user a img——用户头像

#in_msg div.user a:hover img——悬停效果

#in_msg td.cnt——留言时间

#in_msg div.desc——留言内容

#in_msg div.line——分界线

我的搜藏

#m_cang div.item——主体的颜色大小设置

#m_cang div.item a——未被点击的颜色大小设置

#m_cang div.item a:hover——悬停效果

#m_cang div.item a:visited——已被访问过的链接

#m_cang div.line——分界线

柱状图

.stat td{line-height:22px;color:#333333;font-size:14px}/*累计访问量等字体*/

.chart{position:relative;margin:10px 0 30px 31px;border:1px solid #B3B3DC}/*柱状图上\左边线*/

.chart div.bar,.chart div.barhl{position:absolute;background:#DCDCF4;border:1px solid #B3B3DC;line-height:0}/*线柱颜色\底边颜色*/

.chart div.barhl{background:#C2C2F4}/*线柱悬停效果*/

.chart div.liney{position:absolute;border-top:1px dotted #B9B9B9;line-height:0}/*分隔线*/

.chart div.titx,.chart div.titxhl,.chart div.tity{position:absolute;color:#666;font-size:9px;font-family:Arial;text -align:center;white-space:nowrap}/*坐标数字*/

.chart div.titxhl{color:#FF0000}/*月份起始字体颜色*/

.chart div.hit{position:absolute;z-index:1000;width:100px;color:#666;font-size:12px;font-family:Arial}/*线柱悬停访问统计数字效果*/

.chart div.tity{text-align:right}

.stattop{float:left;margin-top:20px;margin-right:14px;padding:10px;width:199px!important;width:220px;border:1px solid #CDCDCD}/*以下为分析设置*/

.stattop{float:left;margin-top:20px;margin-right:14px;padding:10px;width:199px!important;width:220px;border:1px solid #CDCDCD}

.stattop .list{margin-top:6px}

.stattop .list td{height:20px}

日历

#mod_cals .modbox——日历模块

#cals——日历主体背景、边框

#mod_cals .modbox td ——字体颜色设置

#m_cals——设置模块背景颜色

#m_cals div——背景设置

#cals .cal_body,#cals .cal_mth——除年月控制器外的日期部分,包括周和一般日期

#cals .cal_yr table——年、月表格

#cals .cal_yr td——*年、月单元格

#cals .cal_yr .cal_pre——上一月箭头(正常)

#cals .cal_yr .cal_nxt——下一月箭头(正常)

#cals .cal_yr .cal_pre_ovr——上一月箭头(鼠标悬停)

#cals .cal_yr .cal_nxt_ovr——下一月箭头(鼠标悬停)

好友最新文章

#mod_friblog .modbox——好友最新文章模块

#m_friblog div.item——好友名字主体的颜色大小设置

#m_friblog div.item a——好友名字未被点击的颜色大小设置

#m_friblog div.item a:visited——好友名字已被访问过的链接

#m_friblog div.item a.cnt——文章内容颜色大小

#m_friblog div.item a.cnt:visited——文章内容已被访问过的链接

#m_friblog div.item a.cnt:hover——文章内容悬停效果

#m_friblog div.line——分界线

#m_friblog a img——好友头像的滤镜效果,其他滤镜效果

#m_friblog a:hover img——鼠标在好友头像上的悬停效果

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
>>返回首页<<
推荐阅读
 
 
频道精选
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有