移动优先pc导航调整

master
ycc 5 years ago
parent 6219df691a
commit b9f2c3fb02

@ -956,272 +956,468 @@
/* menu end */
/*pc底部*/
.infobottom { background: #3a3a32;
padding: 70px 15px;
margin-top: 100px;
color: #fff;}
.infobottom ul li { list-style: none;
margin-bottom: 25px;
font-size: 14px;
text-transform: uppercase; }
.bottommedia {width: 50%;
float: left;
height: 100%;
padding-left: 30px;
display: inline-block;
}
.bottommedia ul { padding-left: 0;
display: inline-block;
margin-left: -15px; margin-top: 0;}
.bottommedia .fa { color: #fff;
background: #757570;
margin-right: 10px;
width: 35px;
height: 25px;
text-align: center;
padding-top: 9px;
border-radius: 50%;
font-size: 20px;}
.bottommedia ul li a {color: #fff;
font-size: 14px;
text-transform: uppercase;}
.featureon { margin: 40px 0 0 0; padding: 0 15px;}
.bottomlinks { width: 40%;
height: 100%;
;
display: inline-block;}
.followtitle { font-size: 16px;
text-transform: uppercase;
margin-bottom: 25px;
display: block;
color: #a9a9a9;
font-weight: 700;}
.followtitle a {color: #a9a9a9;}
.bottomlinks ul li { font-size: 14px;
text-transform: uppercase;
margin-bottom: 20px; width: 100%; }
.bottomlogo {
background: url(https://data.chinahighlights.com/pic/guide/info-template-bottom-logo.jpg) no-repeat 20px #1e1e1e;
height: 37px;
background-size: 90px;
color: #fff;
padding-left: 135px;
padding-top: 10px;
line-height: 18px;
font-size: 13px;
padding-bottom: 10px;
}
.bottomlinks ul {display: inline-block;
padding-left: 0; margin-top: 0;}
.bottomlinks ul li a { color: #fff;}
.aboutusleft {width: 50%; float: left; display: inline-block;}
.bottomaboutus {margin-bottom: 50px;}
.bottompctitle { font-size: 16px;
text-transform: uppercase;
color: #797979;
font-weight: bold;
display: block;
width: 23%;
height: 115px;
float: left;
padding-top: 5px;}
.aboutusinfo {font-size: 15px;
line-height: 25px; padding-right: 50px; color: #fff;}
.aboutusinfo a {color: #fff; text-decoration: underline;}
.bottomfollowus ul { padding-left: 10px;
display: inline-block;
margin-left: -15px;
margin-top: 0;}
.bottomfollowus ul li {list-style: none;float: left; margin-right: 20px;
margin-bottom: 25px;
font-size: 14px;
text-transform: uppercase;}
.bottomfollowus ul li a { color: #fff;
font-size: 14px;
text-transform: uppercase;}
.bottomfollowus ul li a .fa { color: #fff;
background: #757570;
margin-right: 10px;
width: 35px;
height: 25px;
text-align: center;
padding-top: 9px;
border-radius: 50%;
font-size: 20px;}
.aboutusright {width: 50%; display: inline-block;}
img.bottomfeature {margin-left: 15px;}
.bottomaboutuslinks { border-top: 1px solid #797979;
margin-top: 50px;}
.bottomlinksleft { width: 70%;
float: left;
display: inline-block;}
ul.withBorder { padding: 10px 0;}
ul.withBorder li { display: inline; margin-right: 20px;}
ul.withBorder li a { color: #b1b1b1;
text-decoration: none;
font-size: 14px;}
.languageSwitch {display: block;
margin: 20px 0 25px;}
.languageSwitch a {text-decoration: none;
width: 30px;
height: 17px;
overflow: hidden;
display: inline-block;
margin-right: 10px;}
.languageSwitch a.asia {background: url(https://data.chinahighlights.com/pic/ah-icon.png) no-repeat 0 1px;}
.languageSwitch a.germany {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1200px no-repeat;}
.languageSwitch a.french {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1134px no-repeat;}
.languageSwitch a.spanish {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1475px no-repeat;}
.languageSwitch a.italy {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1542px no-repeat;}
.languageSwitch a.russia {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1410px no-repeat;}
.languageSwitch a.japanese {background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1269px no-repeat;}
.bottommembers { width: 30%;
display: inline-block;
padding-top: 15px;}
.bottommembers img { display:inline-block;}
.memberIcons {text-align: right;
display: block;
padding-top: 15px;}
.bottomlogo { background: none;
height: 71px;
background-color: #1e1e1e;
padding: 0;}
img.bottomlogopc {float: left; margin-right: 30px;}
.bottomcopyright {font-size: 16px;
display: inline-block;
padding-top: 30px;}
.bottomprivacy {display: inline-block;
float: right;
padding-top: 30px;
font-size: 16px;}
.bottomprivacy a {color:#fff;}
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
.row {
margin-left: -15px;
margin-right: -15px;
}
@media (min-width:1200px) {
.container {
width: 1140px;
}
.p_topnavigation {background: #3a3a32;
padding: 45px; padding-bottom: 0;}
.headerbar { padding: 0 20px;
height: 83px;
background-color: #fff;
}
.chinatourspc, .destinationspc, .travelguidepc, .culturepc, .searchpc {position: relative; padding-top: 100px; }
img.topnavipic {position: absolute;
top: 0;}
ul.list-reset {background: none;
padding-left: 0;
position: absolute;
left: 0;
top: 150px;
width: 100%;}
ul.list-reset li.sub-nav-item {list-style: none;
text-align: center;
margin-bottom: 25px;
padding-left: 30px;}
li.sub-nav-item a { color: #fff;
font-size: 40px;
font-weight: 700;
width: 100%;
display: block;}
.siteSearch { border-radius: 4px; padding: 2px 2px 2px 0;
background: #fff; display: block;
border: 1px solid #d1d1d1;
height: 35px;
float: left;
float: left;
width: 270px;
margin-top: 22px;
margin-right: 30px;
}
a.nav-link {font-size: 50px;}
a.nav-link:hover {color: #fff;}
h3.navimore {padding-left: 0;
color: #efefef;
text-transform: uppercase;
font-weight: 700;
line-height: normal;
margin-top: 0;
margin-bottom: 0;
width: 100%;
display: block;
text-align: center;
font-size: 60px;
}
.siteSearch .strkeys { background: #fff;
border: 0;
display: inline-block;
width: 210px;
color: #666;
height: 33px;
font-size: 18px;
font-weight: 300;
padding-left: 15px;}
.siteSearch .submits {display: block;
float: right;
padding-top: 5px;
padding-right: 10px;
width: 25px;}
img.chinahighlightslogo {padding-left: 0;}
ul.pctopnavi{display: inline-block;
position: relative;
top: -5px;
padding-left: 0;
margin-bottom: -10px;
margin-top: 0;}
ul.pctopnavi li {list-style: none; text-transform: uppercase; color: #fff; float: left; margin-right: 40px; font-size: 18px; font-weight: 600;}
.pcnavibutton {float: right;
display: inline-block; }
.topnavitailor {margin-top: 22px;
margin-right: 25px;
background: #000;
width: 145px;
height: 40px;
text-align: center;}
.topnavitailor a {color: #fff;
border: none;
display: inline-block;
padding-top: 10px;
font-size: 16px;}
.searchpc {
margin-top: 30px;
padding-right: 10px;
left: 0px !important;
/*pc style begin */
.infobottom {
background: #3a3a32;
padding: 70px 15px;
margin-top: 100px;
color: #fff;
}
.infobottom ul li {
list-style: none;
margin-bottom: 25px;
font-size: 14px;
text-transform: uppercase;
}
.bottommedia ul {
padding-left: 0;
display: inline-block;
margin-left: -15px;
margin-top: 0;
}
.bottommedia .fa {
color: #fff;
background: #757570;
margin-right: 10px;
width: 35px;
height: 25px;
text-align: center;
padding-top: 9px;
border-radius: 50%;
font-size: 20px;
}
.bottommedia ul li a {
color: #fff;
font-size: 14px;
text-transform: uppercase;
}
.followtitle a {
color: #a9a9a9;
}
.bottomlinks ul li {
font-size: 14px;
text-transform: uppercase;
margin-bottom: 20px;
width: 100%;
}
.bottomlogo {
background: url(https://data.chinahighlights.com/pic/guide/info-template-bottom-logo.jpg) no-repeat 20px #1e1e1e;
height: 37px;
background-size: 90px;
color: #fff;
padding-left: 135px;
padding-top: 10px;
line-height: 18px;
font-size: 13px;
padding-bottom: 10px;
}
.bottomlinks ul {
display: inline-block;
padding-left: 0;
margin-top: 0;
}
.bottomlinks ul li a {
color: #fff;
}
.aboutusleft {
width: 50%;
float: left;
display: inline-block;
}
.bottomaboutus {
margin-bottom: 50px;
}
.bottompctitle {
font-size: 16px;
text-transform: uppercase;
color: #797979;
font-weight: bold;
display: block;
width: 23%;
height: 115px;
float: left;
padding-top: 5px;
}
.aboutusinfo {
font-size: 15px;
line-height: 25px;
padding-right: 50px;
color: #fff;
}
.aboutusinfo a {
color: #fff;
text-decoration: underline;
}
.bottomfollowus ul {
padding-left: 10px;
display: inline-block;
margin-left: -15px;
margin-top: 0;
}
.bottomfollowus ul li {
list-style: none;
float: left;
margin-right: 20px;
margin-bottom: 25px;
font-size: 14px;
text-transform: uppercase;
}
.bottomfollowus ul li a {
color: #fff;
font-size: 14px;
text-transform: uppercase;
}
.bottomfollowus ul li a .fa {
color: #fff;
background: #757570;
margin-right: 10px;
width: 35px;
height: 25px;
text-align: center;
padding-top: 9px;
border-radius: 50%;
font-size: 20px;
}
.aboutusright {
width: 50%;
display: inline-block;
}
img.bottomfeature {
margin-left: 15px;
}
.bottomaboutuslinks {
border-top: 1px solid #797979;
margin-top: 50px;
}
.bottomlinksleft {
width: 70%;
float: left;
display: inline-block;
}
ul.withBorder {
padding: 10px 0;
}
ul.withBorder li {
display: inline;
margin-right: 20px;
}
ul.withBorder li a {
color: #b1b1b1;
text-decoration: none;
font-size: 14px;
}
.languageSwitch {
display: block;
margin: 20px 0 25px;
}
.languageSwitch a {
text-decoration: none;
width: 30px;
height: 17px;
overflow: hidden;
display: inline-block;
margin-right: 10px;
}
.languageSwitch a.asia {
background: url(https://data.chinahighlights.com/pic/ah-icon.png) no-repeat 0 1px;
}
.languageSwitch a.germany {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1200px no-repeat;
}
.languageSwitch a.french {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1134px no-repeat;
}
.languageSwitch a.spanish {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1475px no-repeat;
}
.languageSwitch a.italy {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1542px no-repeat;
}
.languageSwitch a.russia {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1410px no-repeat;
}
.languageSwitch a.japanese {
background: url(https://data.chinahighlights.com/css/images/merge/nav-mere-20130723.png) -9px -1269px no-repeat;
}
.bottommembers {
width: 30%;
display: inline-block;
padding-top: 15px;
}
.bottommembers img {
display: inline-block;
}
.memberIcons {
text-align: right;
display: block;
padding-top: 15px;
}
.bottomlogo {
background: none;
height: 71px;
background-color: #1e1e1e;
padding: 0;
}
img.bottomlogopc {
float: left;
margin-right: 30px;
}
.bottomcopyright {
font-size: 16px;
display: inline-block;
padding-top: 30px;
}
.bottomprivacy {
display: inline-block;
float: right;
padding-top: 30px;
font-size: 16px;
}
.bottomprivacy a {
color: #fff;
}
@media (min-width: 1200px) {
.p_topnavigation {
background: #3a3a32;
padding-bottom: 0;
}
.headerbar {
padding: 0 20px;
height: 83px;
background-color: #fff;
}
.searchtextbox{
margin: 0;
padding: 0;
}
.chinatourspc, .destinationspc, .travelguidepc, .culturepc, .searchpc {
position: relative;
padding-top: 100px;
}
img.topnavipic {
position: absolute;
z-index: 1;
top: 0;
}
ul.list-reset {
background: none;
top: 150px;
width: 300px;
left: -100px;
right: 0;
top: 47px;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
position: absolute;
}
.dropdown-content {
display: none;
position: absolute;
z-index: 1;
left: -45px;
}
.dropdown:hover .dropdown-content {
display: block;
}
li.dropdown a {height: 55px;
display: inline-block; color: #ffffff !important;}
ul.list-reset li.sub-nav-item {
list-style: none;
text-align: center;
margin-bottom: 25px;
}
li.sub-nav-item a {
color: #fff;
font-size: 40px;
font-weight: 700;
width: 100%;
display: block;
}
.siteSearch {
border-radius: 4px;
display: block;
border: 1px solid #d1d1d1;
height: 35px;
float: left;
width: 270px;
margin-top: 22px;
margin-right: 30px;
}
.footerbox{
width: 1140px;
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
a.nav-link {
font-size: 50px;
}
a.nav-link:hover {
color: #fff;
}
h3.navimore {
padding-left: 0;
color: #efefef;
text-transform: uppercase;
font-weight: 700;
line-height: normal;
margin: 0;
width: 100%;
display: block;
text-align: center;
font-size: 60px;
padding: 0;
}
.siteSearch .strkeys {
background: #fff;
border: 0;
display: inline-block;
width: 210px;
color: #666;
height: 33px;
font-size: 18px;
font-weight: 300;
padding-left: 15px;
}
.siteSearch .submits {
display: block;
float: right;
padding-top: 8px;
padding-right: 10px;
width: 25px;
}
img.chinahighlightslogo {
padding-left: 0;
}
ul.pctopnavi {
display: inline-block;
margin-top: 32px;
}
ul.pctopnavi li {
list-style: none;
text-transform: uppercase;
color: #fff;
float: left;
margin-right: 40px;
font-size: 18px;
font-weight: 600;
}
.pcnavibutton {
float: right;
display: inline-block;
}
.topnavitailor {
margin-top: 22px;
margin-right: 25px;
background: #000;
width: 145px;
height: 40px;
text-align: center;
}
.topnavitailor a {
color: #fff;
border: none;
display: inline-block;
padding-top: 10px;
font-size: 16px;
}
li.dropdown a {
height: 55px;
display: inline-block;
 color: #ffffff !important;
}
a.p_toplogo {
display: inline-block;
height: 76px;
}
a.p_topnavilink {
color: #fff;
}
}
.dropdown-content {
width: 100%;
left: 0;
display: none;
position: absolute;
}
.dropdown-content img {
max-width: 100%;
height: auto;
}
.dropdown:hover .dropdown-content {
display: block;
}
a.p_toplogo { display: inline-block;
height: 76px;}
a.p_topnavilink {color: #fff;}
/*pc style end */

Loading…
Cancel
Save