style2.css.bak 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. @font-face {
  2. font-family: "Open Sans";
  3. font-style: normal;
  4. font-weight: 400;
  5. src: local("Open Sans"), local("OpenSans"), url(OpenSans-Regular.woff2) format("woff2"), url(OpenSans-Regular.woff) format("woff"), url(OpenSans-Regular.ttf) format("truetype"); }
  6. body, html {
  7. background-color: #eee;
  8. margin: 0px;
  9. font-family: helvetica, arial;
  10. color: #333;
  11. -webkit-touch-callout: none;
  12. cursor: default;
  13. background:rgba(22,20,22,1);
  14. width: 100%;
  15. height: 100%;
  16. }
  17. *{
  18. box-sizing: border-box;
  19. }
  20. #info {
  21. color: white;
  22. position: absolute;
  23. padding: 15px;
  24. left: 25px;
  25. top: 25px;
  26. z-index: 1;
  27. }
  28. #msg {
  29. font: 40px helvetica, arial;
  30. }
  31. #info h3 {
  32. margin: 1px;
  33. }
  34. #loading {
  35. color: #aaa;
  36. width: 100%;
  37. height: 100px;
  38. position: absolute;
  39. top:0;
  40. bottom: 0;
  41. left: 0;
  42. right: 0;
  43. text-align:center;
  44. margin: auto;
  45. }
  46. #link {
  47. position: absolute;
  48. bottom: 10px;
  49. left: 0px;
  50. }
  51. .introOverlay{
  52. position: absolute;
  53. right:0;
  54. top:0;
  55. left:50%;
  56. height: 100%;
  57. display: flex;
  58. align-items: center;
  59. min-width: 200px;
  60. }
  61. #introduce{
  62. margin:auto;
  63. color: #a0a0a0;
  64. text-align:left;
  65. z-index: 2;
  66. font-family: Microsoft YaHei,sans-serif;
  67. /* padding-bottom: 15px; */
  68. background:rgba(34, 34, 34, 1);
  69. margin:0 16% 0 10%;
  70. overflow:visible;
  71. position:relative;
  72. min-width: 60%;
  73. min-height: 50%;
  74. }
  75. #introduce .outer{
  76. overflow:hidden;
  77. }
  78. #introduce #back{
  79. position: absolute;
  80. left: 22px;
  81. z-index: 100;
  82. color: #aaa;
  83. cursor: pointer;
  84. bottom: -35px;
  85. text-decoration: underline;
  86. transition:color 0.2s;
  87. display:none;
  88. }
  89. #introduce #back:hover{
  90. color:#fff;
  91. }
  92. #introduce #introBanner{
  93. background-image:url(../data/bannerImg/01.png);
  94. background-size: cover;
  95. background-repeat: no-repeat;
  96. background-position: bottom center;
  97. height: 150px;
  98. /* margin-top: -3px; */
  99. /* border: 3px black solid; */
  100. transform:translateY(-100%);
  101. }
  102. #introduce #introBanner.show{
  103. transform: translateY(0);
  104. transition:transform 1s;
  105. -webkit-transition: transform 1s;
  106. }
  107. #introduce #introBody{
  108. padding: 12px;
  109. max-height: 500px;
  110. overflow: auto;
  111. }
  112. #introduce.layer2 #introBody{
  113. padding: 40px;
  114. }
  115. /*#introduce.false3d{
  116. margin:0 16% 0 calc(10% - 70px);
  117. }
  118. #introduce.false3d #introBody{
  119. margin-left:70px;
  120. } */
  121. #introduce #introBody .bottomCover{
  122. width: calc(100% - 3px);
  123. height: 22px;
  124. position: absolute;
  125. bottom: 0;
  126. left:0;
  127. background: rgb(34, 34, 34);
  128. }
  129. #introduce #introBody::-webkit-scrollbar{/* 如果一定要改成图上的滚动条,参考此网址http://www.divcss5.com/yanshi/2014/2014060401/ */
  130. width:3px
  131. }
  132. #introduce #introBody::-webkit-scrollbar-track{
  133. background:#333;
  134. }
  135. #introduce #introBody::-webkit-scrollbar-thumb{
  136. /* border:1px solid transparent; */
  137. border-radius:3px;
  138. background:rgba(180,64,40,1);
  139. background-clip:padding-box;
  140. min-width:10px;
  141. max-height:10px;
  142. }
  143. #introduce *{
  144. letter-spacing: 1px;
  145. }
  146. #introduce h2.introTitle{
  147. font-size:1.1em;
  148. margin: 0 10px 20px 10px;
  149. font-weight: 500;
  150. /* line-height: 1em;
  151. padding: 0 0 10px 8px;
  152. margin:0;
  153. cursor:default;
  154. font-weight:500;
  155. border-left: 1px solid black;
  156. border-bottom: 1px solid black;*/
  157. }
  158. #introduce p.introText{
  159. margin:10px;
  160. font-size:0.9em;
  161. }
  162. #introduce #music{
  163. margin:20px 10px 0 10px;
  164. font-size: 0.9em;
  165. }
  166. #introduce #music audio{
  167. margin:10px 0;
  168. display: block;
  169. }
  170. #canvas{
  171. transition: all 0.1s;
  172. -webkit-transition: all 0.1s;
  173. -webkit-user-select: none;
  174. -khtml-user-select: none;
  175. -moz-user-select: none;
  176. -ms-user-select: none;
  177. user-select: none;
  178. position:absolute;
  179. left:0;
  180. top:0;
  181. width:60%;
  182. }
  183. .canvasArea{
  184. -webkit-transition: all 0.3s ease-in-out;
  185. transition: all 0.3s ease-in-out;
  186. -webkit-user-select: none;
  187. -khtml-user-select: none;
  188. -moz-user-select: none;
  189. -ms-user-select: none;
  190. user-select: none;
  191. position:absolute;
  192. left:5%;
  193. top:0;
  194. width:50%;
  195. z-index:100;
  196. height:100%;
  197. }
  198. #modelArea{
  199. z-index:90;
  200. display: flex;
  201. align-items: center;
  202. }
  203. #imageArea{
  204. z-index:90;
  205. margin-top:2%;
  206. height:96%;
  207. }
  208. #imageArea>*{
  209. background-size: contain;
  210. background-repeat: no-repeat;
  211. background-position: center center;
  212. }
  213. iframe{
  214. border-width: 0;
  215. height: 90%;
  216. width: 100%;
  217. }
  218. #artifact{
  219. z-index:50;
  220. display: flex;
  221. -webkit-box-flex: 1;
  222. align-items: center;
  223. justify-content: flex-start;
  224. align-content: stretch;/* center; */
  225. flex-wrap: wrap;
  226. overflow: hidden;
  227. }
  228. #artifact .item{
  229. width:106px;
  230. height:106px;
  231. background-color:#fff;
  232. margin:10px;
  233. cursor:pointer;
  234. overflow:hidden;
  235. position:relative;
  236. }
  237. #artifact .item:hover{
  238. box-shadow:0 0px 15px rgba(200,200,200,0.5);
  239. }
  240. #artifact .item>div{
  241. height: 100%;
  242. left: 0;
  243. position: absolute;
  244. top: 0;
  245. width: 100%;
  246. background-size: cover;
  247. background-repeat: no-repeat;
  248. background-position: center center;
  249. transform: scale(1,1);
  250. transition: transform 3s;
  251. -webkit-transition:transform 3s;
  252. background-color: #eee;
  253. }
  254. #artifact .item>div:hover{
  255. transform: scale(1.5,1.5);
  256. }
  257. #hint{
  258. position: absolute;
  259. padding: 15px;
  260. border: solid 2px #eee;
  261. border-radius: 12px;
  262. background: rgba(209,96,52,1);
  263. color: #eee;
  264. z-index: 50;
  265. font-size: 1.8em;
  266. pointer-events: none;
  267. display:none;
  268. }