main.css

185 阅读2分钟
/*样式准备第1步: 重新定义部分Html标签的样式*/dl,dt,dd {    margin: 0;    /* padding: 0; */    /* list-style: none; */    /* border: none; */}/* input{ margin:0; padding:0; list-style:none; border:none;} *//*样式准备第2步: 定义body默认样式*/body {    font-size: 12px;    font-family: "宋体";    color: #616161;}#container {    margin: 20px;    overflow: hidden;}/*样式准备第3步: 定义a的默认样式*/a {    color: #000;    text-decoration: none;}/*样式准备第4步:为旧版本浏览器格式化Html5元素*/article,aside,dialog,footer,header,section,footer,nav,figure,menu {    display: block;}.red {    color: red;}/*content部分*/#content {    width: 1190px;    margin: 10px auto;}.wrapper {    width: 1000px;    margin: 0 auto;}.row-placeTop {    padding: 0;}.row-placeTop .title {    margin: 0 0 20px;}.row-placeTop h1 {    display: inline;    margin-right: 15px;    font-weight: normal;    font-size: 40px;    color: #333;}.row-placeTop .place-navbar {    margin-bottom: 0;    border-bottom: 0;    z-index: 1001;}.row_content {    /* 使用flex布局 */    display: flex;    -ms-flex-wrap: wrap;    flex-wrap: wrap;}.row_index_item {    -webkit-box-flex: 0;    -ms-flex: 0 0 25%;    flex: 0 0 25%;    max-width: 25%;    position: relative;    min-height: 1px;    text-align: center;    margin-top: 80px;}.his_text {    letter-spacing: 2px;    line-height: 25px;    font-size: 15px;}.his_text table td th {    border: 1px solid #f5f5f5;}.re_form div {    height: 45px;    padding: 10px 5px 10px 5px;}.re_form label {    display: inline-block;    width: 124px;    text-align: right;}.index_text {    text-align: center;    font-size: 25px;    margin-top: 80px;    margin-bottom: 50px;}.z_wrp {    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);    padding: 25px 20px 25px 20px;    margin-bottom: 50px;}.item_left {    display: inline-block;    float: left;    width: 50%;}.item_right {    display: inline-block;    float: left;    width: 45%;    margin-left: 10px;}.item_right p {    line-height: 25px;    font-size: 25px;}h2.title {    font-size: 20px;    color: #333;    font-weight: normal;    margin-bottom: 25px;    line-height: 22px;    font-weight: bold;    color: rgba(88, 207, 144, 1);}.middle {    display: table-cell;    vertical-align: middle;}#header {    margin-bottom: 0;}ul,li,ol {    list-style: none;    padding: 0;    margin: 0;}.poi-list .title h3 span {    color: #ff8a00;}.row-placeTop .right {    float: right;    margin-top: -48px;}/*footer部分*/#footer {    background: #f5f5f5;    border-top: 1px solid #eee;    margin: 10px 0px;    background: url(../picture/footer.png) no-repeat;}#footerCon {    width: 1000px;    margin: 10px auto 0px;    overflow: hidden;}#footerCon #links {    border-bottom: 1px solid #eee;    overflow: hidden;    padding-bottom: 20px;}#footerCon #links dl {    float: left;    width: 198px;    margin-right: 52px;    padding-top: 15px;}#footerCon #links dl dt {    color: #646464;    padding-bottom: 10px;    font-weight: 700;    font-size: 14px;}#footerCon #links dl dd {    line-height: 25px;}#footerCon #otherLinks {    height: 30px;    line-height: 30px;    text-align: center;}#footerCon #copyRight {    line-height: 30px;    text-align: center;}