关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0 body{font-size:9pt; background:url($imgpath/$stylepath/bo
关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0
body{font-size:9pt; background:url($imgpath/$stylepath/bodybg.gif) repeat-x ; font-family:Verdana; color:#333}
h1,h2,h3,h4,h5,h6,fORM,body{padding:0;margin:0}
td,th,div{Word-break:break-all;word-wrap:break-word}
img{border:0} [ 没必要修改 ]
h1{font-size:16px;margin:0;} [ 没必要修改 ]
h3,h2{display:inline;font-size:1.0em;}
h3{font-weight:normal}
h3 a{color:#444;margin-right:.5em;}
h2 a{color:#000;}
.c{clear:both;height:0px;font:0px/0px Arial;}
.b{ font-weight:700}
.w{white-space:nowrap}
.tal{text-align:left} [ 没必要修改 ]
.tac{text-align:center} [ 没必要修改 ]
.tar{text-align:right} [ 没必要修改 ]
.fr{float:right} [ 没必要修改 ]
.fl{float:left} [ 没必要修改 ]
a{text-decoration:none;color:$linkcolor} 连接样式[鼠标未移动上去,显示的样式]
a:hover{color:#0070AF; text-decoration:underline}
[ 没必要修改 ]
.f9{font-size:10px;}
.f10{font-size:11px;}
.f12{font-size:12px}
.f14{font-size:14px}
.fn,.fn a{font-weight:normal} [ 没必要修改 ]
.s0{color:#333}
.s1{color:#008000;}
.s2{color:#984B98;}
.s3{color:#FA891B;}
.s4{color:#0033FF;}
.s5{color:#659B28}
.s7{color:#ff00a2;}
.s8,.s8 a{color:#006699;}
.gray,.gray a{color:#888;}
.gray3{color:#777;}
.gray2{color:#94938c;}
.link5{ color:#006AAA}
.f_one
.f_two
.t_one
.t_two
.r_one
.r_two
以上可以分开设置
如
.f_one{background:$forumcolorone;}
.t_one{background:$forumcolorone;}
.r_one{background:$forumcolorone;}
也可以默认设置
.f_one,.t_one,.r_one{background:$forumcolorone;}
.abtn{cursor:pointer;border:1px solid $tdcolor;color:$linkcolor;padding:2px 8px 2px; font-family:simsun;background:#fff;margin:2px;}
.abtn:hover{border:1px solid $tablecolor;text-decoration:none;}
关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0
.btn{cursor:pointer;color:#fff;background:#80d1fb url($imgpath/$stylepath/bg.png) 0 top repeat-x;border-width:1px;padding-left:15px;padding-right:15px;vertical-align:middle}
.btn2{border: 1px solid $tdcolor;background:$forumcolortwo;border-width:1px;padding-left:5px;padding-right:5px;vertical-align:middle;color:#555;}
.btn2:hover{border:1px solid $tablecolor;color:#0070AF;}
.btn3{margin-left:2em;vertical-align:middle;cursor:pointer;text-decoration:underline;}
textarea,input,select{font:12px Arial;padding:1px 3px 0 3px;vertical-align:middle;margin-bottom:1px}
select{border:solid 1px $tdcolor;} [ 没必要修改 ]
.input{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;padding:2px 0px 2px 1px;font-size:1.0em;vertical-align:middle;color:#000;}
form{display:inline;}
textarea{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;}
#header{width:$mtablewidth;margin:auto;}
#toptool{ padding:.5em 1em; text-align:right; line-height:100%;border-bottom:1px solid #eee;}
.listinline{ padding:0; margin:0; list-style:none;}
.listinline li{ padding:0 .7em; border-right:1px solid #eee; display:inline;}
.banner img{vertical-align:middle;}
#mainNav{background:url($imgpath/$stylepath/bg.png) 0 -300px repeat-x #0082C1;position:relative;_height:30px}
.guide { margin:0; list-style:none; padding:5px 1em 0; float:right}
.guide li{ float: left; margin:0; padding:0}
.guide li a{ float:left; padding:0 .6em; color:#fff; line-height:22px;*line-height:23px; height:25px;*word-wrap:normal;*white-space:nowrap}
.guide li.drop-item a{ padding-right:1.2em; background:url($imgpath/$stylepath/drop-icon.gif) no-repeat right .7em}
.guide li a:hover{ background-color:#4598C6; text-decoration:none; color:#fff}
.guide li.current a{ background-color:#006AAA; font-weight:bold; border:1px solid #4598C6; border-bottom:0}
#one-key {position:absolute;left:.6em; bottom:-1px; _bottom:-2px;width:32px; height:20px; cursor:pointer}
.one-hidden {background:url($imgpath/$stylepath/infobox_13.png) 0 top no-repeat; }
.one-show {background:url($imgpath/$stylepath/infobox_13.png) 0 bottom no-repeat;}
#user-login{ padding-left:50px; color:#fff; padding-bottom:.2em}
#user-login a{margin-right:.5em;}
#profile-menubar{border:$tdcolor 1px solid;margin-top:-.6em;background:url($imgpath/$stylepath/bg.png) 0 -400px repeat-x #E1F6F9;}
关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0
#infobox{ border:1px solid #eee; border-top:0; padding:.2em .5em .5em;margin-top:1px; background:#fff url($imgpath/$stylepath/bg.png) 0 -400px repeat-x;}
#infobox td{ vertical-align:top}
#fav-fid{ line-height:150%}
#fav-fid ul{ padding:0; margin:0 0 0 75px; color:#aaa;}
#fav-fid li{float:left;*word-wrap:normal;*white-space:nowrap;padding:0; margin:0; padding-left:1em;list-style:none;background:url($imgpath/$stylepath/fav-fid.gif) .2em .5em no-repeat;}
#honor {color:#333;line-height:1.3em; padding:.2em 0 0 .1em;}
#breadcrumbs{ margin-top:8px;overflow:hidden;border:1px solid $tdcolor; height:28px; padding:0 1em 0 0;background:url($imgpath/$stylepath/menubg.gif) repeat-x #EFFCFE;
line-height:27px;*line-height:26px;}
#breadcrumbs .crumbs-item{ overflow:hidden; height:28px; padding:0 1.3em 0 1.3em;background:url($imgpath/$stylepath/breadcrumbs-item.gif) right top no-repeat; float:left; position:relative ; margin-right:-7px;}
#breadcrumbs .crumbs-item .strong{color:#60afe6;*line-height:29px;_line-height:29px;}
#breadcrumbs .crumbs-item i { position:absolute; height:28px; width:7px; left:0px; top:0}
#breadcrumbs .crumbs-item:hover i{ background:url($imgpath/$stylepath/breadcrumbs-item.gif) right bottom no-repeat;}
#breadcrumbs .crumbs-item:hover{ background-color: #EFF9C8;text-decoration:none}
#notice{padding:.3em 0;height:18px;}
#notice a{padding-left:1em; background:url($imgpath/$stylepath/dotB.png) no-repeat 0 .2em; margin-left:1em}
#main{width:$tablewidth;margin: auto; padding:1px 0 0}
.t{border:1px solid $tablecolor;border-top:2px solid $tablecolor;margin:0 auto 8px; height:auto; overflow:hidden;}
.t table{border:0px solid $forumcolorone;margin:0; width:100%;border-top:none;}
.t2{border-top:$tablecolor 1px solid;margin:0px auto 5px;}
.t3{margin:4px auto 3px;}
.t3 table{padding:0px;}
.t4{padding:0px;}
.t5{border:1px solid $tdcolor;margin:0 auto 8px; height:auto; overflow:hidden;}
.h{border-bottom:1px solid $headborder;background:$headcolor;text-align:left;color:$headfontone;padding:2px .5em 0; line-height:220%;}
.h span{font-weight:normal;}
.h h2{font-weight:bold}
.h a{font-family:Arial;color:$headfontone}
.h span a,.h span{color:$headfonttwo;}
.h a.a2{margin-left:12px;}
.h1{color:#008ef1;margin:0 0 1em 0;}
.h2{background:$headcolor;color:$headfontone;text-align:left;padding:0 12px 0 12px;height:28px;line-height:28px;border-bottom:1px solid $tdcolor;}
.h2 a{color:$headfontone;}
关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0
.h3{border-bottom:1px solid $headborder;background:$headcolor;text-align:left;color:$headfontone;line-height:24px;padding-right:8px;}
.h3 a{font-family:Arial;color:$headfontone}
.closeicon{margin-top:.3em}
.cate_fold{padding:0 5px 0 5px;margin-bottom:2px;text-decoration:none;}
.cate_fold:hover{text-decoration:none;}
.tab{float:left;padding:0 .8em 0;border:1px solid $forumcolorone;background:$headborder;border-bottom:0;line-height:200%;margin-top:3px;cursor:pointer;margin:2px 0;}
.h span.activetab{border-color:$tablecolor;cursor:default;font-weight:700}
.tr1 th{padding:5px 10px;text-align:left;vertical-align:top;font-weight:normal;}
.tr1 td.td1{border-bottom:1px solid $tdcolor;}
.tr2{background:$cbGColor url($imgpath/$stylepath/bg.png) 0 -200px repeat-x;color:$cbgfont;}
.tr2 td,.tr2 th{line-height:18px;border-bottom:1px solid $cbgborder;padding:4px 6px 1px;}
.tr2 a{color:$cbgfont;margin:0 2px 0}
.tr3{ line-height:130%;}
.tr3 td,.tr3 th{border-bottom:1px solid $tdcolor;padding:.3em .6em;}
.tr3 th{text-align:left;font-weight:normal;}
.z .tr3:hover{background:$forumcolortwo;}
.tr4{background:$forumcolortwo;padding-left:12px;height:27px;line-height:27px;}
.tr td,.tr th{padding:2px}
.tpc_content{font-family:Arial;padding:0 2% 0 2%;margin:0 0 2%;line-height:2em;}
.tpc_content font{line-height:1.1em;}
.tpc_content a{text-decoration:none;color:#0070AF;}
.tpc_content a:hover{text-decoration:underline}
.tips{background:#fff;border:$cbgborder 1px solid;padding:5px;margin:0 1% 1em 0;float:left;text-align:left;}
.tiptop{border-bottom:1px dotted #ccc ;padding:0 0 0 1px;height:27px;line-height:27px;margin:0 1em 1em 1em;}
.tipad{margin:2em 1em 0 1em;padding-bottom:1em;}
.tipad .fr a{color:#333;}
.quote{width:80%;font-size:70%;color:#333;margin:8px 2px 2px;padding:0}
.blockquote{width:80%;border:1px solid #ece9d8;background:#fffef3;border-left-width:3px;padding:5px;margin:0 0 1%;color:#736933;}
.honor{line-height:130%;padding:3px 0 5px 8px;overflow:hidden;color:#777;}
.menu{position:absolute;background:#fff url($imgpath/$stylepath/menubg.gif) center top repeat-x;border:1px solid $tdcolor;}
.menu .bor{padding-bottom:8px;*padding-bottom:0px;_padding-bottom:0px;border:5px solid $tdcolor;}
.menu li,.menu ul{padding:0; margin:0;}
.menu td{line-height:20px;}
关键字描述:详解 样式 风格 solid 必要   修改 padding:0 margin:0
.menu li{list-style:none;}
.menu a{display:block;padding:3px 15px;}
.menu ul.ul1 li a{display:inline;padding:0;}
.pad{padding-bottom:8px;*padding-bottom:0px;}
.menu .ul2{width:170px;padding:8px;}
.menu .ul2 li{float: left; width: 7em;line-height: 24px;height: 24px; overflow: hidden;border-bottom: 1px solid $tdcolor;}
.menu .ul2 li:hover{border-bottom: 1px solid $tablecolor;}
.menu .ul2 li a:hover{text-decoration:none;background:$forumcolorone;}
.menu h2 a{font-size:1.0em;color:#008ef1;height:20px;line-height:20px;width:550px;}
.menu .ul3{width:600px;padding:6px;clear:both;}
.menu .ul3 li{float:left;line-height:20px;*word-wrap:normal;*white-space:nowrap;display:inline;}
.menu .ul3 a{float:left;}
.menu .ul3 li a:hover{color:$tablecolor;}
.pages{float:left;border:1px solid $tdcolor;height:24px;line-height:24px;margin:2px 5px 3px 0;}
.pages ul{padding:0; margin:0}
.pages ul li{list-style:none;float:left;}
.pages ul li a{display:block;padding:0 7px 0 7px;}
.pages ul li b{padding:0 5px 0 9px;background:#f7fadd;display:block;color:#FA891B;}
.pages ul li a:hover{background:#f7fadd;color:#FA891B;text-decoration:none;}
.pages ul .pagesone{height:24px;_height:23px;margin-left:5px;border-left:1px solid $tdcolor;padding-left:12px;background:#fefff3;}
.pages input{border:1px solid $tdcolor;font:12px/15px Verdana;height:14px;color:$cbgfont;margin-right:5px;margin-bottom:3px;*margin-bottom:2px;_margin-top:3px;}
#footer{background:#fff url($imgpath/$stylepath/menubg.gif) 0 1px repeat-x;border-top:1px solid $tdcolor;border-bottom:3px solid $headborder;}
.footer{width:$mtablewidth;text-align:right;margin:auto;padding:.8em 0 .3em;}
#wrapA{ width:100%; margin:auto; max-width:1250px}
.cc{ zoom:1; overflow:hidden;_overflow:inherit} [ 没必要修改 ]
.content-dropB{margin-top:2px;}
.dropB{cursor:pointer;text-indent:-2000em;background:url($imgpath/$stylepath/dropB-cion.gif) 0 0 no-repeat;width:15px;height:12px; overflow:hidden; ;font:0/0 a;float:left}
.dropB:hover{background-color:$tablecolor; background-position:0 -20px;}
.listmg{ padding:0; margin:0; list-style:none;}
.listmg li{ padding:0 .7em; border-right:1px solid #eee;cursor:pointer;}
.bdbdash{border-bottom:1px dashed #ccc}
[ 没必要修改 ]
--结束END--
本文标题: PHPWind7.0风格css样式详解
本文链接: https://lsjlt.com/news/32623.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0