(51 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
var icon2 = $('#icon2'); | var icon2 = $('#icon2'); | ||
var icon3 = $('#icon3'); | var icon3 = $('#icon3'); | ||
+ | var icon4 = $('#icon4'); | ||
setInterval(function() { | setInterval(function() { | ||
var h = $(window).scrollTop(); | var h = $(window).scrollTop(); | ||
Line 15: | Line 16: | ||
if (h < 500) { | if (h < 500) { | ||
if (h >= 200) { | if (h >= 200) { | ||
− | icon1.animate({ left: ' | + | icon1.animate({ left: '1.6vw' }, 800); |
icon1.animate({ top: '30vh' }, 500); | icon1.animate({ top: '30vh' }, 500); | ||
− | icon2.animate({ left: ' | + | icon2.animate({ left: '1.6vw' }, 800); |
− | icon2.animate({ top: ' | + | icon2.animate({ top: '45vh' }, 500); |
− | icon3.animate({ left: ' | + | icon3.animate({ left: '1.6vw' }, 800); |
− | icon3.animate({ top: ' | + | icon3.animate({ top: '60vh' }, 500); |
+ | |||
+ | icon4.animate({ left: '1.6vw' }, 800); | ||
+ | icon4.animate({ top: '75vh' }, 500); | ||
} | } | ||
} | } | ||
Line 35: | Line 39: | ||
icon3.animate({ top: '80vh' }, 500); | icon3.animate({ top: '80vh' }, 500); | ||
icon3.animate({ left: '55vw' }, 800); | icon3.animate({ left: '55vw' }, 800); | ||
+ | |||
+ | icon4.animate({ left: '5vw' }, 800); | ||
+ | icon4.animate({ top: '65vh' }, 500); | ||
} | } | ||
Line 55: | Line 62: | ||
top: 60vh; | top: 60vh; | ||
left: 55vw; | left: 55vw; | ||
+ | } | ||
+ | #icon4 { | ||
+ | top: 60vh; | ||
+ | left: 65vw; | ||
} | } | ||
@keyframes toSide { | @keyframes toSide { | ||
Line 68: | Line 79: | ||
.guide-icon { | .guide-icon { | ||
− | width: | + | width: 80px; |
position: fixed; | position: fixed; | ||
− | z-index: | + | z-index:999; |
+ | background-color:rgba(245,245,245,0.5); | ||
+ | border-radius:10%; | ||
} | } | ||
+ | |||
/*==========================Global===============================*/ | /*==========================Global===============================*/ | ||
Line 80: | Line 94: | ||
#mw-content-text { | #mw-content-text { | ||
margin: 60px 0 0 0; | margin: 60px 0 0 0; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 93: | Line 103: | ||
margin:0 !important; | margin:0 !important; | ||
position: absolute !important; | position: absolute !important; | ||
+ | font-family:sans-serif !important; | ||
font-size: 9vw !important; | font-size: 9vw !important; | ||
− | |||
top:42vh !important; | top:42vh !important; | ||
left:9vw !important; | left:9vw !important; | ||
Line 103: | Line 113: | ||
font-size: 4vw !important; | font-size: 4vw !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
− | top: | + | top:72vh !important; |
left:27vw !important; | left:27vw !important; | ||
} | } | ||
Line 114: | Line 124: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | z-index: | + | z-index: 99999999; |
background: url("https://static.igem.org/mediawiki/2018/0/0c/T--NAU-CHINA--loading_icon.gif") no-repeat black; | background: url("https://static.igem.org/mediawiki/2018/0/0c/T--NAU-CHINA--loading_icon.gif") no-repeat black; | ||
background-position: left 50% top 30%; | background-position: left 50% top 30%; | ||
Line 144: | Line 154: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
/*小图标移动放大*/ | /*小图标移动放大*/ | ||
Line 165: | Line 170: | ||
.main-content { | .main-content { | ||
− | margin:0 | + | margin:0 14%; |
text-align:justify; | text-align:justify; | ||
} | } | ||
− | + | ||
− | + | figure { | |
− | margin: | + | margin-top:15px !important; |
+ | margin-bottom:30px !important; | ||
} | } | ||
+ | |||
figure img { | figure img { | ||
display: block; | display: block; | ||
margin:15px auto 15px auto; | margin:15px auto 15px auto; | ||
/*width:800px;*/ | /*width:800px;*/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
figcaption { | figcaption { | ||
− | + | text-align: justify; | |
− | text-align: | + | |
font-family: 'Times New Roman','sans-serif'; | font-family: 'Times New Roman','sans-serif'; | ||
+ | font-size:0.9em; | ||
+ | line-height:1.2em; | ||
+ | |||
} | } | ||
._table { | ._table { | ||
Line 205: | Line 208: | ||
font-size:48px; | font-size:48px; | ||
font-weight:bold !important; | font-weight:bold !important; | ||
+ | line-height:60px !important; | ||
} | } | ||
Line 211: | Line 215: | ||
margin:19px 0 !important; | margin:19px 0 !important; | ||
font-weight:bold !important; | font-weight:bold !important; | ||
+ | line-height:30px !important; | ||
} | } | ||
− | |||
− | |||
− | |||
.main-content p { | .main-content p { | ||
font-family: 'Avenir Light','Helvetica',sans-serif !important; | font-family: 'Avenir Light','Helvetica',sans-serif !important; | ||
− | + | font-size: 20px !important; | |
− | line-height:2em; | + | line-height: 1.7em; |
+ | text-align: justify !important; | ||
+ | margin-bottom: 2em; | ||
+ | |||
} | } | ||
− | . | + | .main-content a { |
− | + | color:blue !important; | |
− | + | ||
− | + | ||
} | } | ||
+ | .photo { | ||
+ | width:100%; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | .hp-photo { | ||
+ | width:700px; | ||
+ | margin:0 15%; | ||
+ | } | ||
+ | .divvideo,video { | ||
+ | text-align:center; | ||
+ | |||
+ | } | ||
</style> | </style> | ||
Line 245: | Line 260: | ||
var lp = $("#loading_icon span").width() | var lp = $("#loading_icon span").width() | ||
//Loading Icon | //Loading Icon | ||
− | $("#loading_icon").fadeOut( | + | $("#loading_icon").fadeOut(2000); //Aply: 2000,Debug: 1 |
Line 267: | Line 282: | ||
<body> | <body> | ||
<div id="loading_icon"> | <div id="loading_icon"> | ||
− | <span>MOSFET</span> | + | <!--<span>MOSFET</span>--> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 01:03, 9 November 2018