update style

This commit is contained in:
avene 2018-05-14 10:44:28 +08:00
parent fcc0a79280
commit 2fa3959252
2 changed files with 256 additions and 219 deletions

View File

@ -1,3 +1,8 @@
:root {
--main-color: #124075;
--second-color: #004490;
}
.timeline-ul { .timeline-ul {
width: 98%; width: 98%;
max-width: 1170px; max-width: 1170px;
@ -88,9 +93,11 @@
color: #fff; color: #fff;
border-radius: 16px border-radius: 16px
} }
.timeline-ul li.time-wrapper .time-span.leftOne { .timeline-ul li.time-wrapper .time-span.leftOne {
left: -120px; left: -120px;
} }
.timeline-ul li.time-wrapper .time-point { .timeline-ul li.time-wrapper .time-point {
position: absolute; position: absolute;
top: -1.5%; top: -1.5%;
@ -176,20 +183,23 @@
right: -45px right: -45px
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.timeline-ul li { .timeline-ul li {
padding-top: 20px padding-top: 20px
} }
.timeline-ul li.right { .timeline-ul li.right {
margin-left: 0 margin-left: 0
} }
.timeline-ul::before { .timeline-ul::before {
left: 0 left: 0
} }
.timeline-ul li.time-wrapper .time-span { .timeline-ul li.time-wrapper .time-span {
top: -27px top: -27px
} }
.timeline-ul li.time-wrapper .time-point { .timeline-ul li.time-wrapper .time-point {
left: -7px left: -7px
} }
@ -199,23 +209,29 @@
.timeline-ul li.right .info-div { .timeline-ul li.right .info-div {
padding-left: 20px padding-left: 20px
} }
.timeline-ul li.right .icon-img { .timeline-ul li.right .icon-img {
right: -30px right: -30px
} }
.welcome-page-company .timeline { .welcome-page-company .timeline {
margin-bottom: 10px margin-bottom: 10px
} }
.welcome-page-company .intro h2.title { .welcome-page-company .intro h2.title {
font-size: 23px; font-size: 23px;
text-align: center text-align: center
} }
.timeline-ul li.time-wrapper { .timeline-ul li.time-wrapper {
margin-top: 60px margin-top: 60px
} }
} }
ul, li { ul, li {
list-style: none; list-style: none;
} }
.leftTab { .leftTab {
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
padding: 0; padding: 0;
@ -224,10 +240,11 @@ ul,li{
margin-top: 20px; margin-top: 20px;
margin-bottom: 30px; margin-bottom: 30px;
} }
.leftTab p { .leftTab p {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
background: #3d97e3; background: var(--second-color);
color: #FFFFFF; color: #FFFFFF;
font-size: 22px; font-size: 22px;
text-align: center; text-align: center;
@ -235,6 +252,7 @@ ul,li{
font-weight: 400; font-weight: 400;
margin: 0; margin: 0;
} }
.leftTab li { .leftTab li {
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
@ -243,37 +261,46 @@ ul,li{
background: url(../img/rightArrow.png) no-repeat 90% center; background: url(../img/rightArrow.png) no-repeat 90% center;
cursor: pointer; cursor: pointer;
} }
.leftTab li.active { .leftTab li.active {
color: #3d97e3; color: #3d97e3;
} }
.leftTab li:last-of-type { .leftTab li:last-of-type {
border: none; border: none;
} }
.leftTab li:hover { .leftTab li:hover {
color: #3d97e3; color: #3d97e3;
} }
.leftTab span { .leftTab span {
display: block; display: block;
padding-left: 20px; padding-left: 20px;
margin-top: 5px; margin-top: 5px;
} }
.leftTab span:last-of-type { .leftTab span:last-of-type {
margin-bottom: 5px; margin-bottom: 5px;
} }
.box1 { .box1 {
margin-top: 20px; margin-top: 20px;
display: none; display: none;
margin-bottom: 30px; margin-bottom: 30px;
} }
.box1 { .box1 {
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
border-top: 3px solid #3d97e3; border-top: 3px solid #3d97e3;
padding: 20px; padding: 20px;
border-radius: 4px; border-radius: 4px;
} }
.box1 p { .box1 p {
line-height: 25px; line-height: 25px;
} }
.box1 h4 i { .box1 h4 i {
display: block; display: block;
width: 13px; width: 13px;
@ -284,21 +311,26 @@ ul,li{
margin-right: 10px; margin-right: 10px;
border-radius: 50%; border-radius: 50%;
} }
.box1 h4 { .box1 h4 {
line-height: 30px; line-height: 30px;
} }
.timeline { .timeline {
margin-top: -50px; margin-top: -50px;
padding-bottom: 30px; padding-bottom: 30px;
} }
.box2 p { .box2 p {
text-indent: 28px; text-indent: 28px;
} }
.tabOne { .tabOne {
border: 1px solid #DDDDDD; border: 1px solid #DDDDDD;
border-top: none; border-top: none;
padding: 10px 10px 10px 20px; padding: 10px 10px 10px 20px;
} }
.tabOne p i { .tabOne p i {
display: block; display: block;
width: 8px; width: 8px;
@ -309,9 +341,11 @@ ul,li{
margin-right: 10px; margin-right: 10px;
border-radius: 50%; border-radius: 50%;
} }
.pagination { .pagination {
float: right; float: right;
} }
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover { .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
z-index: 3; z-index: 3;
color: #fff; color: #fff;
@ -331,12 +365,15 @@ ul,li{
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.box3 ul { .box3 ul {
padding: 0; padding: 0;
} }
.box3 ul a { .box3 ul a {
color: #333333; color: #333333;
} }
.box3 ul a:hover { .box3 ul a:hover {
color: #3d97e3; color: #3d97e3;
} }

View File

@ -11,7 +11,7 @@
z-index: 99999; z-index: 99999;
border-radius: 0; border-radius: 0;
top: 0px; top: 0px;
margin-bottom: 160px; /*margin-bottom: 160px;*/
/*border-bottom: 1px solid #303848;*/ /*border-bottom: 1px solid #303848;*/
} }