Line 87: | Line 87: | ||
margin: 0;/*清除默认样式*/ | margin: 0;/*清除默认样式*/ | ||
padding: 0; | padding: 0; | ||
− | + | ||
/*background-color: #17BEBB;*/ | /*background-color: #17BEBB;*/ | ||
} | } |
Revision as of 08:56, 14 October 2018
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1538921198356'); /* IE9*/ src: url('iconfont.eot?t=1538921198356#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA00AAsAAAAAExQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8iUn6Y21hcAAAAYAAAACHAAAB9FAe8QpnbHlmAAACCAAACNQAAAwgFrOukGhlYWQAAArcAAAAMQAAADYS36vaaGhlYQAACxAAAAAgAAAAJAffA4hobXR4AAALMAAAABYAAAAgIAL//WxvY2EAAAtIAAAAEgAAABIQTAyKbWF4cAAAC1wAAAAfAAAAIAEgATNuYW1lAAALfAAAAUUAAAJtPlT+fXBvc3QAAAzEAAAAbQAAAIjsg+ymeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeCb9gZ27438AQw9zI0AAUZgTJAQDfbAwAeJztkU0KwkAMhb/Yn4HiQvAa7kpv0rUrT9OVJ+sxQnc9Qn2TCCJ4BF/4BvJIMpAAHdCIm2jBnhhVi1wLv2EIv+Wu/KJQvV999MlnX33fynH8cr5k0fkJOGliT9G0rv5kPX+d4328s1K3mmhb+JjUO/mUaIP4nET9msSN9qTeeCsJ9gLQBStHAHicfVZ9iFxXFb/n3nfvnff93ryv2d352Jm3897sbmc3u/PxmtLsZkPapIFN2qa1dJtQk+7WtFpQ22oXmjZCQVH/SCmkVVKiUlOMtaKUVmuRqhRRREQsqBQpq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g0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbcFBDoJADADAFlBAD3rwG7yJ1E1hS7YsKQXl9x68MgMF/N3gXIMFlljhBa9YY4MtPGQglXQsRsElcJnoXTmT1ovliYPf17hNm+avzOOTzPKnGySlzmSM/opZudejpxCFd1aefQX4AW6/H+wAAAA=') format('woff'), url('iconfont.ttf?t=1538921198356') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ url('iconfont.svg?t=1538921198356#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family:"iconfont" !important; font-size:16px; font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.icon-ifamilypractice:before { content: "\e807"; }
.icon-lab:before { content: "\e613"; }
.icon-team:before { content: "\e6ce"; }
.icon-project:before { content: "\e633"; }
.icon-shujumoxing:before { content: "\e6ef"; }
.icon-arrow-fill-right:before { content: "\e635"; }
.icon-home_my_achievements:before { content: "\e654"; }
.iconfont {
font-family:"iconfont" !important; font-size:16px; font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.icon-ifamilypractice:before { content: "\e807"; }
.icon-lab:before { content: "\e613"; }
.icon-team:before { content: "\e6ce"; }
.icon-project:before { content: "\e633"; }
.icon-shujumoxing:before { content: "\e6ef"; }
.icon-home_my_achievements:before { content: "\e654"; }
.iconfont-menu {
font-family:"iconfont" !important; font-size:16px; font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.icon-ifamilypractice:before { content: "\e807"; }
.icon-lab:before { content: "\e613"; }
.icon-parts:before { content: "\e636"; }
.icon-team:before { content: "\e6ce"; }
.icon-project:before { content: "\e633"; }
.icon-notebook:before { content: "\e709"; }
.icon-shujumoxing:before { content: "\e6ef"; }
/*---------------------------icon--------------------------------------*/
html, body {
width:100%; margin: 0;/*清除默认样式*/ padding: 0; /*background-color: #17BEBB;*/
}
ul,li{
list-style: none; font-family: Georgia; font-size: 1.1em; padding: 0; margin: 0;
} a{
list-style: none; color: black; text-decoration: none; padding: 0; margin: 0;
} a{
display: block; width: inherit; height: 100%;
} .nav-container{
width: 100%; top: 5%; position: fixed; z-index: 99;
/*background-color:rgba(0,255,255,0.5);*/
} .nav{
float: right; /*background-color:rgba(0,0,255,0.5);*/ width: 100%; height: 70px;
}
.nav li{
float:right;
width: 8%; height: 70px;
text-align: center; margin: 0px 15px;
} .navbar-control{
float: right; display: inline-block; height: 60px; width: 8%; background-color:rgba(250,248,207,0.7);
}
- mainmenu{
display: block; position: relative; float: right; width: 100%;
height: 60px; text-align: center;
background-color:rgba(250,248,207,0.7); -webkit-transition: all .1s; -moz-transition: all .15s; -ms-transition: all .15s; -o-transition: all .15s; transition: all .15s;
}
- mainmenu span{
font-size: 1.0vw; color: #5e5e5e;
line-height:0px; }
- mainmenu i{
display: block; margin-top:8px; height: 8px; font-size: 1.7vw; color: #5e5e5e;
}
- mainmenu:hover i{
color: #17BEBB;
}
- mainmenu:hover span{
color: #17BEBB;
}
- dropdown-menu>li:hover{
background-color:rgba(250,248,207,1);
}
- dropdown-menu{
position: relative; height: auto; text-align: center; padding: 0px; top:12px; width: 100%;
-webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-perspective: 1000px; -moz-perspective: 1000px; -ms-perspective: 1000px; -o-perspective: 1000px; perspective: 1000px;
}
- dropdown-menu>li{
position: relative; display: block; width: 100%; height: auto; padding: 10px 0px; margin: 0px; font-size: 1.0vw; right: 30px;
background-color:rgba(250,248,207,0.7); opacity: 0;
-webkit-transform: rotateY(90deg); -moz-transform: rotateY(90deg); -ms-transform: rotateY(90deg); -o-transform: rotateY(90deg); transform: rotateY(90deg); -webkit-transition: transform 0.5s ease-in,opacity 0.1s; -moz-transition: transform 0.5s ease-in,opacity 0.1s; -ms-transition: transform 0.5 ease-in,opacity 0.1s; -o-transition: transform 0.5s ease-in,opacity 0.1s; transition: transform 0.5s ease-in,opacity 0.1s;
}
- dropdown-menu a {
color: #5e5e5e;
}
- mainmenu span{
font-size: 0.8vw;
}
- mainmenu::after,#mainmenu::before{
content:""; display: block; position: absolute; top: 0; width: 15px; height: 100%; background-color:rgba(250,248,207,0.7);
}
- mainmenu::after{
right: 100%;
}
- mainmenu::before{
left: 100%;
} .second-nav{
display: block; color: #5e5e5e; height: 30px; width: 100%;
} .second-nav li:hover{
background-color:rgba(250,248,207,1); color: #000;
} .second-nav li{
display: none; position: relative; width: 100%; height: auto; left: 100%; margin: 0px; padding: 15px 0px; font-size: 0.9vw;
background-color:rgba(250,248,207,0.7); -webkit-transform: translateY(-40px); -moz-transform: translateY(-40px); -ms-transform: translateY(-40px); -o-transform: translateY(-40px); transform: translateY(-40px);
opacity: 0; -webkit-transition: opacity .5s ease-in; -moz-transition: opacity .5s ease-in; -ms-transition: opacity .5s ease-in; -o-transition: opacity .5s ease-in; transition: opacity .5s ease-in;
} /*.second-nav:active li{*/
/*display: block;*/ /*opacity: 1;*/
/*}*/
- Design:hover li{
display: block; opacity: 1;
}
- parts:hover li{
display: block; opacity: 1;
}
- Experiments:hover li{
display: block; opacity: 1;
}
- notebook:hover li{
display: block; opacity: 1;
} .nav li:hover #mainmenu {
-webkit-transform: translateY(12px); -moz-transform: translateY(12px); -ms-transform: translateY(12px); -o-transform: translateY(12px); transform: translateY(12px);
} /*.nav li:hover #mainmenu span,#mainmenu i {*/ /*color:rgba(51,153,204,0.8);*/ /*}*/ .nav li:hover #mainmenu:after{
-webkit-transform-origin: right top; -moz-transform-origin: right top; -ms-transform-origin: right top; -o-transform-origin: right top; transform-origin: right top; -webkit-transform: skewY(30deg); -moz-transform: skewY(30deg); -ms-transform: skewY(30deg); -o-transform: skewY(30deg); transform: skewY(30deg);
} .nav li:hover #mainmenu:before{
-webkit-transform-origin: left top; -moz-transform-origin: left top; -ms-transform-origin: left top; -o-transform-origin: left top; transform-origin: left top; -webkit-transform: skewY(-30deg); -moz-transform: skewY(-30deg); -ms-transform: skewY(-30deg); -o-transform: skewY(-30deg); transform: skewY(-30deg);
} .nav li:hover #mainmenu:after,.nav li:hover #mainmenu:before{
background-color:rgba(250,248,207,0.9);
}
- dropdown-menu a{
color: #5e5e5e;
} .nav li:hover #dropdown-menu>li{
display: block; opacity: 1; -webkit-transform: rotateY(0deg); -moz-transform: rotateY(0deg); -ms-transform: rotateY(0deg); -o-transform: rotateY(0deg); transform: rotateY(0deg);
} .nav li:hover #dropdown-menu>li:nth-child(1){
-webkit-transition-delay: 0s; -moz-transition-delay: 0s; -ms-transition-delay: 0s; -o-transition-delay: 0s; transition-delay: 0s;
} .nav li:hover #dropdown-menu>li:nth-child(2){
-webkit-transition-delay: 100ms; -moz-transition-delay: 100ms; -ms-transition-delay: 100ms; -o-transition-delay: 100ms; transition-delay: 100ms;
} .nav li:hover #dropdown-menu>li:nth-child(3){
-webkit-transition-delay: 200ms; -moz-transition-delay: 200ms; -ms-transition-delay: 200ms; -o-transition-delay: 200ms; transition-delay: 200ms;
} .nav li:hover #dropdown-menu>li:nth-child(4){
-webkit-transition-delay: 300ms; -moz-transition-delay: 300ms; -ms-transition-delay: 300ms; -o-transition-delay: 300ms; transition-delay: 300ms;
} .nav li:hover #dropdown-menu>li:nth-child(5){
-webkit-transition-delay: 400ms; -moz-transition-delay: 400ms; -ms-transition-delay: 400ms; -o-transition-delay: 400ms; transition-delay: 400ms;
} .nav li:hover #dropdown-menu>li:nth-child(6){
-webkit-transition-delay: 500ms; -moz-transition-delay: 500ms; -ms-transition-delay: 500ms; -o-transition-delay: 500ms; transition-delay: 500ms;
} .nav li:hover #dropdown-menu>li:nth-child(7){
-webkit-transition-delay: 600ms; -moz-transition-delay: 600ms; -ms-transition-delay: 600ms; -o-transition-delay: 600ms; transition-delay: 600ms;
}
- navbar-header{
float: right; width: 13%; height: 60px; border-radius:20px 0 0 20px;
background-color:rgba(250,248,207,0.7); text-align: center;
} .con{
display: block; width: 100%; height: 100%; margin: auto; text-align: center;
}
- navbar-header img{
position: center; height: 50px; width: auto; right: 20px; margin:5px auto;
}
- navbar-header span{
display: inline-block; position:relative; width: 100%; height: 100%;
-webkit-transform: translateY(-85%); -moz-transform: translateY(-85%); -ms-transform: translateY(-85%); -o-transform: translateY(-85%); transform: translateY(-85%);
color: #5e5e5e; font-size: 2.0vw; opacity: 0;
}
- navbar-header>a:hover img{
opacity: 0.2;
}
- navbar-header>a:hover span{
display: block; opacity: 1;
} .nav-container{
float: right; display: inline-block;
} button {
background: none; border: none;
} button::-moz-focus-inner {
border: 0;
}
- focus {
outline: none;
}
- -moz-focus-inner {
border: 0;
} .btn-nav:hover {
cursor: pointer;
} .btn-nav:hover .bar {
background: #17BEBB;
} .bar {
display: block; height: 5px; width: 50px; background: #17BEBB; margin: 10px 5px;
} .btn-nav {
-webkit-transition: all 1s ease; -moz-transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease;
} .btn-nav:focus {
outline: none;
} .middle {
margin: 0 auto;
} .bar {
-webkit-transition: all .7s ease; -moz-transition: all .7s ease; -ms-transition: all .7s ease; -o-transition: all .7s ease; transition: all .7s ease;
} .tustanimated {
z-index: 999;
} .tustanimated .arrow-top-r {
-webkit-transform: rotateZ(-45deg) translateY(11px); -moz-transform: rotateZ(-45deg) translateY(11px); -ms-transform: rotateZ(-45deg) translateY(11px); -o-transform: rotateZ(-45deg) translateY(11px); transform: rotateZ(-45deg) translateY(11px); width: 25px;
} .tustanimated .arrow-middle-r {
-webkit-transform: translateX(25px); -moz-transform: translateX(25px); -ms-transform: translateX(25px); -o-transform: translateX(25px); transform: translateX(25px);
} .tustanimated .arrow-bottom-r {
-webkit-transform: rotateZ(45deg) translateY(-11px); -moz-transform: rotateZ(45deg) translateY(-11px); -ms-transform: rotateZ(45deg) translateY(-11px); -o-transform: rotateZ(45deg) translateY(-11px); transform: rotateZ(45deg) translateY(-11px); width: 25px;
}
@keyframes tustanimated {
from { right: -100%; } to { right: 0; }
} @-webkit-keyframes tustshowNav {
from { right: -100%; } to { right: 0; }
} @-moz-keyframes tustshowNav {
from { right: -100%; } to { right: 0; }
} @-o-keyframes tustshowNav {
from { right: -100%; } to { right: 0; }
} .tustshowNav {
-webkit-animation: tustshowNav .5s ease forwards; -moz-animation: tustshowNav 1s ease forwards; -o-animation: tustshowNav 1s ease forwards; animation: tustshowNav .5s ease forwards;
} @keyframes tusthideNav {
from { right: 0; } to { right: -100%; }
} @-webkit-keyframes tusthideNav {
from { right: 0; } to { right: -100%; }
} @-moz-keyframes tusthideNav {
from { right: 0; } to { right: -100%; }
} @-o-keyframes tusthideNav {
from { right: 0; } to { right: -100%; }
} .tusthideNav {
-webkit-animation: tusthideNav 1s ease forwards; -moz-animation: tusthideNav 1s ease forwards; -o-animation: tusthideNav 1s ease forwards; animation: tusthideNav 1s ease forwards;
} .tusthidden {
display: none;
} .block{
display: block;
} .nav-main {
position: relative;
}
a:hover{
text-decoration:none;!important
}