index.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. font-family: PingFangSC-Regular, sans-serif;
  5. }
  6. html, body, h1, h2, h3, h4, h5, h6, div, dl, dt, dd, ul, ol, li, p, blockquote, pre, hr, figure, table, caption, th, td, form, fieldset, legend, input, button, textarea, menu {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. /* ::-webkit-scrollbar {
  11. display: none;
  12. } */
  13. iframe {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. #ui {
  18. position: absolute;
  19. display: flex;
  20. justify-content: space-between;
  21. align-items: center;
  22. flex-direction: column;
  23. width: 100%;
  24. height: 100%;
  25. /* color: #494949; */
  26. letter-spacing: 3px;
  27. }
  28. #logoText {
  29. z-index: 1;
  30. position: absolute;
  31. bottom: 20px;
  32. font-size: 18px;
  33. font-weight: 100;
  34. letter-spacing: 4px;
  35. }
  36. .switch-btn-Wrap {
  37. z-index: 1;
  38. position: absolute;
  39. top: 20px;
  40. right: 20px;
  41. }
  42. .switch-btn-Wrap img {
  43. width: 75px;
  44. ;
  45. }
  46. #objName {
  47. z-index: 1;
  48. position: absolute;
  49. top: 20px;
  50. left: 32px;
  51. font-size: 22px;
  52. font-weight: 100;
  53. letter-spacing: 4px;
  54. color: #ffffff;
  55. }
  56. #iconWrap {
  57. position: absolute;
  58. bottom: 30px;
  59. width: 200px;
  60. display: flex;
  61. justify-content: center;
  62. z-index: 1;
  63. }
  64. .mar-right {
  65. margin-right: 120px;
  66. }
  67. #iconLeft {
  68. cursor: not-allowed;
  69. }
  70. #iconRight {
  71. cursor: pointer;
  72. }
  73. #introductionWrap{
  74. position: absolute;
  75. z-index: 1;
  76. display: flex;
  77. flex-direction: column;
  78. left: 20px;
  79. text-align: left;
  80. top: 20px;
  81. font-size: 16px;
  82. color: #ffffff;
  83. font-weight: 100;
  84. line-height: 30px;
  85. letter-spacing: 2px;
  86. width: 500px;
  87. display:none;
  88. }
  89. #companyText{
  90. position: absolute;
  91. z-index: 1;
  92. font-size: 16px;
  93. color:rgb(153, 153, 153);
  94. font-weight: 100;
  95. left: 50%;
  96. transform: translateX(-50%);
  97. bottom: 20px;
  98. letter-spacing: 1px;
  99. text-shadow:rgb(51, 51, 51) 0px 1px 1px;
  100. }
  101. .bg-audio {
  102. display:block;
  103. position:absolute;
  104. bottom:30px;
  105. right:10px;
  106. width:30px;
  107. height:30px;
  108. background:url(../images/bgmusic-play-icon.png)center/100% no-repeat;
  109. z-index:99;
  110. }
  111. .iconHome{
  112. top:30px;
  113. }
  114. .iconMenu {
  115. position:absolute;
  116. z-index:2;
  117. right:52px;
  118. display:flex;
  119. align-items: center;
  120. flex-direction: column;
  121. text-align: center;
  122. }
  123. .iconInfo {
  124. top:150px;
  125. }
  126. .iconMenu span {
  127. color:#fff;
  128. }
  129. #time, #size, #content,#excavated_time{
  130. margin-top: 8px;
  131. }
  132. #content p {
  133. text-indent:2em;
  134. }
  135. @media screen and (max-width: 600px) {
  136. #introductionWrap {
  137. width:70%;
  138. height:60%;
  139. overflow-y:scroll;
  140. position:absolute;
  141. margin:0 auto;
  142. top:10%;
  143. font-size:14px;
  144. line-height: 20px;
  145. display:none;
  146. }
  147. #time, #size, #content,#excavated_time {
  148. margin-top:4px;
  149. }
  150. #content {
  151. }
  152. #name {
  153. font-weight:bold;
  154. }
  155. #iconAction {
  156. position:absolute;
  157. z-index:99;
  158. }
  159. .iconMenu {
  160. width:60px;
  161. right:10px;
  162. }
  163. .iconMenu img {
  164. width:50%;
  165. }
  166. .iconHome {
  167. }
  168. .iconInfo {
  169. top:90px;
  170. }
  171. .iconMenu span {
  172. font-size:10px;
  173. }
  174. #iconWrap {
  175. width:50%;
  176. z-index:2;
  177. }
  178. #iconLeft,#iconRight {
  179. width:30px;
  180. height:30px;
  181. }
  182. #companyText{
  183. font-size:13px;
  184. }
  185. }
  186. @media only screen and (max-height:480px) {
  187. .center img, .center-first img {
  188. width: 52vw;
  189. max-width: 250px;
  190. max-height: 110px;
  191. }
  192. .center:nth-child(8) img {
  193. width: 30vw;
  194. max-width: 153px;
  195. max-height: 127px;
  196. }
  197. .center:nth-child(17) img {
  198. width: 30vw;
  199. max-width: 165px;
  200. max-height: 176px;
  201. }
  202. }
  203. .animated {
  204. -webkit-animation-duration:1s;
  205. animation-duration:1s;
  206. -webkit-animation-fill-mode:both;
  207. animation-fill-mode:both
  208. }
  209. @-webkit-keyframes fadeInRight {
  210. 0% {
  211. opacity:0;
  212. -webkit-transform:translate3d(100%, 0, 0);
  213. transform:translate3d(100%, 0, 0)
  214. }
  215. to {
  216. opacity:1;
  217. -webkit-transform:translateZ(0);
  218. transform:translateZ(0)
  219. }
  220. }
  221. @keyframes fadeInRight {
  222. 0% {
  223. opacity:0;
  224. -webkit-transform:translate3d(100%, 0, 0);
  225. transform:translate3d(100%, 0, 0)
  226. }
  227. to {
  228. opacity:1;
  229. -webkit-transform:translateZ(0);
  230. transform:translateZ(0)
  231. }
  232. }
  233. .fadeInRight {
  234. -webkit-animation-name:fadeInRight;
  235. animation-name:fadeInRight
  236. }
  237. @-webkit-keyframes fadeOutRight {
  238. 0% {
  239. opacity:1
  240. }
  241. to {
  242. opacity:0;
  243. -webkit-transform:translate3d(100%, 0, 0);
  244. transform:translate3d(100%, 0, 0)
  245. }
  246. }
  247. @keyframes fadeOutRight {
  248. 0% {
  249. opacity:1
  250. }
  251. to {
  252. opacity:0;
  253. -webkit-transform:translate3d(100%, 0, 0);
  254. transform:translate3d(100%, 0, 0)
  255. }
  256. }
  257. .fadeOutRight {
  258. -webkit-animation-name:fadeOutRight;
  259. animation-name:fadeOutRight
  260. }
  261. @-webkit-keyframes fadeOut {
  262. 0% {
  263. opacity:1
  264. }
  265. to {
  266. opacity:0
  267. }
  268. }
  269. @keyframes fadeOut {
  270. 0% {
  271. opacity:1
  272. }
  273. to {
  274. opacity:0
  275. }
  276. }
  277. .fadeOut {
  278. -webkit-animation-name:fadeOut;
  279. animation-name:fadeOut;
  280. -webkit-animation-duration:2s;
  281. animation-duration: 2s;
  282. }