exhibition.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. #iframe-container{
  2. width:100rem;
  3. height:52.4rem;
  4. position: relative;
  5. }
  6. .museum{
  7. position:absolute;
  8. top:12rem;
  9. left:0;
  10. width:100rem;
  11. height:33.6rem;
  12. }
  13. .appear{
  14. display: block;
  15. }
  16. .invisible{
  17. visibility: hidden;
  18. }
  19. .row1{
  20. position:absolute;
  21. top:0;
  22. left:11rem;
  23. overflow: hidden;
  24. width:87.3rem;
  25. height:15rem;
  26. /* background-color: lavenderblush; */
  27. }
  28. .row2{
  29. position:absolute;
  30. top:18.8rem;
  31. right:11rem;
  32. overflow: hidden;
  33. width:87.3rem;
  34. height:15rem;
  35. /* background-color: lavenderblush; */
  36. }
  37. .above {
  38. left: 0;
  39. }
  40. .below {
  41. right: 0;
  42. }
  43. .treasures{
  44. position:absolute;
  45. top:0;
  46. height:15rem;
  47. }
  48. .treasure{
  49. /* position:absolute;
  50. top:0; */
  51. display: inline-block;
  52. width:14.3rem;
  53. height:15rem;
  54. }
  55. .treasure img{
  56. width:15rem;
  57. height:15rem;
  58. }
  59. .treasure:hover{
  60. cursor:pointer;
  61. }
  62. #guidetab{
  63. position:absolute;
  64. bottom:2.8rem;
  65. left:50%;
  66. transform: translate(-50%);
  67. width:40.8rem;
  68. height:1.1rem;
  69. display: flex;
  70. justify-content: space-between;
  71. }
  72. .museumname{
  73. font-size:0.8rem;
  74. cursor: pointer;
  75. }
  76. .discription{
  77. position:absolute;
  78. top:1.6rem;
  79. right:0.9rem;
  80. }
  81. .exhibition{
  82. position: absolute;
  83. border-width: 0;
  84. left:50%;
  85. top:0;
  86. -webkit-transform: translate(-50%);
  87. -ms-transform: translate(-50%);
  88. transform: translate(-50%);
  89. width:100%;
  90. height: 52rem;
  91. }
  92. .iframepng{
  93. position:absolute;
  94. top:0; left:0;
  95. width:100%;
  96. height:100%;
  97. }
  98. #caltural-relic-wall{
  99. position: absolute;
  100. top:8rem;
  101. left:0;
  102. width:100%;
  103. height:55rem;
  104. /* transform-origin: top left;
  105. transform: scale(1,1); */
  106. }
  107. .img-title{
  108. position:absolute;
  109. top:4rem;
  110. width:100rem;
  111. display:-webkit-box;
  112. display:-webkit-flex;
  113. display:-ms-flexbox;
  114. display:flex;
  115. -webkit-box-pack: center;
  116. -webkit-justify-content: center;
  117. -ms-flex-pack: center;
  118. justify-content: center;
  119. }
  120. .ex{
  121. top:7.9rem;
  122. }
  123. .tradition{
  124. top:0;
  125. }
  126. .revolution{
  127. top:52rem;
  128. }
  129. .nation{
  130. top:103rem;
  131. height:60rem;
  132. }
  133. .entitle{
  134. position:absolute;
  135. top:11rem;
  136. left:50%;
  137. transform:translate(-50%);
  138. height: 3.5rem;
  139. font-size: 2.8rem;
  140. font-family: STFangsong;
  141. font-weight: 400;
  142. line-height: 4.1rem;
  143. color: #D06814;
  144. /* opacity: 0.25; */
  145. }
  146. .wall{
  147. top:7.9rem;
  148. color: #ffffff;
  149. }
  150. .cards{
  151. position:absolute;
  152. top:17rem;
  153. left:0;
  154. width: 100%;
  155. height:25rem;
  156. display: -webkit-box;
  157. display: -webkit-flex;
  158. display: -ms-flexbox;
  159. display: flex;
  160. -webkit-box-pack: center;
  161. -webkit-justify-content: center;
  162. -ms-flex-pack: center;
  163. justify-content: center;
  164. /* background-color: lightgray; */
  165. }
  166. .card{
  167. overflow: hidden;
  168. top:0;
  169. width:18.3rem;
  170. height:25.9rem;
  171. margin:0 0.42rem 0;
  172. /* background-color: lightblue; */
  173. }
  174. .card:hover{
  175. overflow: visible;
  176. box-shadow: 5px 1rem 5px;
  177. transform: translate(-0.4rem,-0.4rem);
  178. }
  179. .card:hover .img7{
  180. width: 19rem;
  181. }
  182. .img5{
  183. width: 9rem;
  184. }
  185. .img6{
  186. width:10.2rem;
  187. }
  188. .img7{
  189. width:100%;
  190. border-radius: 5px;
  191. }
  192. .control{
  193. position:absolute;
  194. top:26.7rem;
  195. right:12.2rem;
  196. }
  197. .control:hover{
  198. cursor: pointer;
  199. }
  200. img.control{
  201. width:5.6rem;
  202. }
  203. .index{
  204. position:absolute;
  205. top:44.2rem;
  206. width:100%;
  207. display: flex;
  208. justify-content: center;
  209. }
  210. .index div{
  211. width:6px;
  212. height:6px;
  213. border:solid orange 1px;
  214. border-radius: 5px;
  215. margin:0 2px 0;
  216. }
  217. div.index_on{
  218. width:9px;
  219. background-color: orange;
  220. }
  221. div.disappear{
  222. display: none;
  223. }
  224. #poster{
  225. position:relative;
  226. width: 100rem;
  227. height:166rem;
  228. margin:0;
  229. border-width: 0;
  230. }
  231. .posterbackground{
  232. position:absolute;
  233. border-width: 0;
  234. width:100%;
  235. }