@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; src: local("Open Sans"), local("OpenSans"), url(OpenSans-Regular.woff2) format("woff2"), url(OpenSans-Regular.woff) format("woff"), url(OpenSans-Regular.ttf) format("truetype"); } body, html { background-color: #eee; margin: 0px; font-family: helvetica, arial; color: #333; -webkit-touch-callout: none; cursor: default; background:rgba(22,20,22,1); width: 100%; height: 100%; } *{ box-sizing: border-box; } #info { color: white; position: absolute; padding: 15px; left: 25px; top: 25px; z-index: 1; } #msg { font: 40px helvetica, arial; } #info h3 { margin: 1px; } #loading { color: #aaa; width: 100%; height: 100px; position: absolute; top:0; bottom: 0; left: 0; right: 0; text-align:center; margin: auto; } #link { position: absolute; bottom: 10px; left: 0px; } .introOverlay{ position: absolute; right:0; top:0; left:50%; height: 100%; display: flex; align-items: center; min-width: 200px; } #introduce{ margin:auto; color: #a0a0a0; text-align:left; z-index: 2; font-family: Microsoft YaHei,sans-serif; /* padding-bottom: 15px; */ background:rgba(34, 34, 34, 1); margin:0 16% 0 10%; overflow:visible; position:relative; min-width: 60%; min-height: 50%; } #introduce .outer{ overflow:hidden; } #introduce #back{ position: absolute; left: 22px; z-index: 100; color: #aaa; cursor: pointer; bottom: -35px; text-decoration: underline; transition:color 0.2s; display:none; } #introduce #back:hover{ color:#fff; } #introduce #introBanner{ background-image:url(../data/bannerImg/01.png); background-size: cover; background-repeat: no-repeat; background-position: bottom center; height: 150px; /* margin-top: -3px; */ /* border: 3px black solid; */ transform:translateY(-100%); } #introduce #introBanner.show{ transform: translateY(0); transition:transform 1s; -webkit-transition: transform 1s; } #introduce #introBody{ padding: 12px; max-height: 500px; overflow: auto; } #introduce.layer2 #introBody{ padding: 40px; } /*#introduce.false3d{ margin:0 16% 0 calc(10% - 70px); } #introduce.false3d #introBody{ margin-left:70px; } */ #introduce #introBody .bottomCover{ width: calc(100% - 3px); height: 22px; position: absolute; bottom: 0; left:0; background: rgb(34, 34, 34); } #introduce #introBody::-webkit-scrollbar{/* 如果一定要改成图上的滚动条,参考此网址http://www.divcss5.com/yanshi/2014/2014060401/ */ width:3px } #introduce #introBody::-webkit-scrollbar-track{ background:#333; } #introduce #introBody::-webkit-scrollbar-thumb{ /* border:1px solid transparent; */ border-radius:3px; background:rgba(180,64,40,1); background-clip:padding-box; min-width:10px; max-height:10px; } #introduce *{ letter-spacing: 1px; } #introduce h2.introTitle{ font-size:1.1em; margin: 0 10px 20px 10px; font-weight: 500; /* line-height: 1em; padding: 0 0 10px 8px; margin:0; cursor:default; font-weight:500; border-left: 1px solid black; border-bottom: 1px solid black;*/ } #introduce p.introText{ margin:10px; font-size:0.9em; } #introduce #music{ margin:20px 10px 0 10px; font-size: 0.9em; } #introduce #music audio{ margin:10px 0; display: block; } #canvas{ transition: all 0.1s; -webkit-transition: all 0.1s; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position:absolute; left:0; top:0; width:60%; } .canvasArea{ -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position:absolute; left:5%; top:0; width:50%; z-index:100; height:100%; } #modelArea{ z-index:90; display: flex; align-items: center; } #imageArea{ z-index:90; margin-top:2%; height:96%; } #imageArea>*{ background-size: contain; background-repeat: no-repeat; background-position: center center; } iframe{ border-width: 0; height: 90%; width: 100%; } #artifact{ z-index:50; display: flex; -webkit-box-flex: 1; align-items: center; justify-content: flex-start; align-content: stretch;/* center; */ flex-wrap: wrap; overflow: hidden; } #artifact .item{ width:106px; height:106px; background-color:#fff; margin:10px; cursor:pointer; overflow:hidden; position:relative; } #artifact .item:hover{ box-shadow:0 0px 15px rgba(200,200,200,0.5); } #artifact .item>div{ height: 100%; left: 0; position: absolute; top: 0; width: 100%; background-size: cover; background-repeat: no-repeat; background-position: center center; transform: scale(1,1); transition: transform 3s; -webkit-transition:transform 3s; background-color: #eee; } #artifact .item>div:hover{ transform: scale(1.5,1.5); } #hint{ position: absolute; padding: 15px; border: solid 2px #eee; border-radius: 12px; background: rgba(209,96,52,1); color: #eee; z-index: 50; font-size: 1.8em; pointer-events: none; display:none; }