Discuz系统样式表 - 常用样式-Discuz教程下载

Discuz系统样式表 - 常用样式

开通本站Svip会员,全站资源免费下
左右浮动
  1. .z { float: left; }
  2. .y { float: right; }
复制代码

清除浮动
  1. .cl { zoom: 1; }
复制代码

字号
  1. .xs1 { font-size: 12px !important; }
  2. .xs2 { font-size: 14px !important; }
  3. .xs3 { font-size: 16px !important; }
复制代码

字色
  1. .xg1 { color: LIGHTTEXT !important; } //浅色文字
  2. .xg2 { color: MIDTEXT; } //中等文本颜色
  3. .xi2 { color: HIGHLIGHTLINK !important; } //高亮链接颜色
  4. .rq { color: red; }
复制代码

文字粗细
  1. .xw0 { font-weight: 400; }
  2. .xw1 { font-weight: 700; }
复制代码

边框
  1. .bbda { border-bottom: 1px dashed COMMONBORDER; } //虚线
  2. .bbs { border-bottom: 1px solid COMMONBORDER !important; } //实线
  3. .mnw { clear: both; border-top: 1px solid #CCC; } //实线
  4. .bmw { border: 1px solid #D9D9D9; }
复制代码

去边框
  1. .bw0_all, .bw0_all th, .bw0_all td { border: none !important; }
复制代码

去边框去背景色
  1. .bw0 { border: none !important; }
复制代码

居中
  1. .vm { vertical-align: middle; }
  2. .hm { text-align: center; }
复制代码

鼠标样式
  1. .cur1 { cursor: pointer; }
复制代码

外边距
  1. .mtn { margin-top: 5px !important; }
  2. .mbn { margin-bottom: 5px !important; }
  3. .mtm { margin-top: 10px !important; }
  4. .mbm { margin-bottom: 10px !important; }
  5. .mtw { margin-top: 20px !important; }
  6. .mbw { margin-bottom: 20px !important; }
复制代码

内边距
  1. .ptn { padding-top: 5px !important; }
  2. .pbn { padding-bottom: 5px !important; }
  3. .ptm { padding-top: 10px !important; }
  4. .pbm { padding-bottom: 10px !important; }
  5. .ptw { padding-top: 20px !important; }
  6. .pbw { padding-bottom: 20px !important; }
复制代码

内边距
  1. .bm_c {padding: 10px;}
  2. .emp {padding: 20px 10px;}
复制代码

全部评论 0

您需要登录后才可以回帖 立即登录
登录
0
0
0
返回顶部