123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- /*格式化样式*/
- body,
- div,
- dl,
- dt,
- dd,
- ul,
- ol,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- pre,
- form,
- fieldset,
- input,
- textarea,
- p,
- blockquote,
- th,
- td {
- margin: 0;
- padding: 0;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- fieldset,
- img {
- border: 0
- }
- address,
- caption,
- cite,
- code,
- dfn,
- em,
- strong,
- th,
- b,
- var {
- font-style: normal;
- font-weight: normal
- }
- ol,
- ul {
- list-style: none
- }
- caption,
- th {
- text-align: left
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- font-size: 100%;
- font-weight: normal
- }
- q:before,
- q:after {
- content: ''
- }
- abbr,
- acronym {
- border: 0
- }
- * {
- padding: 0px;
- margin: 0px;
- text-align: left;
- font-family: 'PingFangSC-Regular', '微软雅黑', Arial, Verdana, Tahoma, "宋体", Helvetica, sans-serif;
- line-height: 150%;
- box-sizing: border-box;
- }
- html {
- width: 100%;
- height: 100%;
- font-size: 14px;
- color: #333;
- overflow: hidden;
- }
- body {
- width: 100%;
- height: 100%;
- font-size: 14px;
- text-align: center;
- color: #333;
- overflow: hidden;
- }
- table {
- border-collapse: collapse;
- }
- td {
- padding: 3px;
- }
- img {
- border: none;
- vertical-align: middle;
- }
- input {
- padding: 1px;
- vertical-align: middle;
- line-height: normal;
- }
- input:focus {
- outline: none;
- }
- .main-box {
- margin-right: auto;
- margin-left: auto;
- width: 960px;
- clear: both;
- zoom: 1;
- overflow: hidden;
- background-color: #CCCCCC;
- }
- .text-overflow-hidden {
- white-space: nowrap;
- word-spacing: normal;
- letter-spacing: normal;
- overflow: hidden;
- }
- .box-align-center {
- margin-right: auto;
- margin-left: auto;
- }
- /*css定义超链接四个状态也有顺序的。*/
- a:link,
- a:visited {
- text-decoration: none;
- color: #1F376D;
- }
- a:hover,
- a:active {
- text-decoration: underline;
- color: #BD0A01;
- border: none;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .clearfix:after {
- content: '';
- display: block;
- clear: both;
- visibility: hidden;
- }
- .clearfix {
- *zoom: 1;
- }
- .iconfont {
- font-family: "iconfont";
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -webkit-text-stroke-width: 0.2px;
- -moz-osx-font-smoothing: grayscale;
- color: #005395;
- font-size: 18px;
- }
- .bolderFont {
- font-weight: 600;
- }
- /* 超出部分隐藏 展示行数 */
- .firstLine {
- -webkit-line-clamp: 1;
- }
- .secondLine {
- -webkit-line-clamp: 2;
- }
- .required {
- color: #fe2a44;
- margin-right: 4px;
- }
- .oneline {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .twoline {
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- display: -webkit-box;
- }
|