cardgame.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. /** CSS used to show a 5x3 table of cells hiding a big image */
  2. #home-card {
  3. overflow: hidden;
  4. }
  5. .enjoy-cardgame-active {
  6. position: relative;
  7. left: 50%;
  8. top: 90%;
  9. width: 40px;
  10. height: 40px;
  11. margin-top: -35px;
  12. margin-left: 10px;
  13. background-image: url('card-acces-active.svg');
  14. background-color: transparent;
  15. background-repeat: no-repeat;
  16. background-position: center fixed;
  17. -webkit-background-size: cover;
  18. background-size: cover;
  19. cursor: pointer;
  20. z-index: 1000;
  21. }
  22. .enjoy-cardgame {
  23. position: relative;
  24. left: 50%;
  25. top: 90%;
  26. width: 40px;
  27. height: 40px;
  28. margin-top: -35px;
  29. margin-left: 10px;
  30. background-image: url('card-acces.svg');
  31. background-color: transparent;
  32. background-repeat: no-repeat;
  33. background-position: center fixed;
  34. -webkit-background-size: cover;
  35. background-size: cover;
  36. cursor: pointer;
  37. z-index: 1000;
  38. }
  39. .card-one {
  40. position: absolute;
  41. transform: rotate(160deg);
  42. background-image: url('card1.jpg');
  43. background-position: center center;
  44. left: 130%;
  45. top: 50px;
  46. width: 220px;
  47. height: 330px;
  48. margin-left: -110px;
  49. background-color: #CECEF6;
  50. border: solid 2px green;
  51. cursor: pointer;
  52. border-radius: 20px;
  53. -webkit-transition: all 1s ease-in-out;
  54. transition: all 1s ease-in-out;
  55. opacity: 0.1;
  56. }
  57. .card-one-2 {
  58. transform: rotate(0deg);
  59. left: 50%;
  60. opacity: 1;
  61. }
  62. .cardgame-pack {
  63. position: relative;
  64. width: 100%;
  65. height: 450px;
  66. background-image: url('cardpack450.jpg');
  67. background-color: transparent;
  68. background-position: -500px bottom;
  69. -webkit-transition: all 1s ease-in-out;
  70. transition: all 1s ease-in-out;
  71. }
  72. .cardgame-open {
  73. background-position: 0px 0px;
  74. }
  75. .linescissors {
  76. position: absolute;
  77. left: 60px;
  78. top: 135px;
  79. width: 220px;
  80. height: 6px;
  81. transform: rotate(-26deg);
  82. border-top: dotted 3px gray;
  83. }
  84. .messagePackDeck {
  85. position: absolute;
  86. text-align: center;
  87. right: 20px;
  88. top: 30px;
  89. width: 200px;
  90. padding: 20px;
  91. font-size: 22px;
  92. border-radius: 15px;
  93. background-color: #8A0886;
  94. color: white;
  95. }
  96. .viewDeckBottom {
  97. position: absolute;
  98. left: 3px;
  99. bottom: 5px;
  100. width: 73px;
  101. height: 60px;
  102. background-image: url('galerie.png');
  103. background-color: transparent;
  104. background-repeat: no-repeat;
  105. background-position: center fixed;
  106. -webkit-background-size: cover;
  107. background-size: cover;
  108. display: none;
  109. cursor: pointer;
  110. }
  111. .messagePackDeckBottom {
  112. position: absolute;
  113. text-align: center;
  114. left: 85px;
  115. bottom: 10px;
  116. right: 20px;
  117. padding: 14px;
  118. font-size: 16px;
  119. border-radius: 15px;
  120. background-color: #8A0886;
  121. color: white;
  122. }
  123. .scissorsrightinit {
  124. transform: rotate(160deg);
  125. position: absolute;
  126. left: 260px;
  127. top: 50px;
  128. width: 60px;
  129. height: 60px;
  130. background-image: url('scissorsright.gif');
  131. background-color: transparent;
  132. background-repeat: no-repeat;
  133. background-position: center fixed;
  134. -webkit-background-size: cover;
  135. background-size: cover;
  136. cursor: pointer;
  137. z-index: 1000;
  138. -webkit-transition: all 3s ease-in-out;
  139. transition: all 3s ease-in-out;
  140. }
  141. .scissorsrightinitfinal {
  142. left: 10px;
  143. top: 170px;
  144. }
  145. .puzzlecardone {
  146. position: absolute;
  147. display: none;
  148. left: 5%;
  149. top: 2%;
  150. width: 90%;
  151. height: 80%;
  152. background-color: gray;
  153. background-repeat: no-repeat;
  154. background-position: center fixed;
  155. -webkit-background-size: cover;
  156. background-size: cover;
  157. border: solid 1px green;
  158. overflow: hidden;
  159. }
  160. .puzzleMin {
  161. float: left;
  162. position: relative;
  163. left: 10px;
  164. top: 10px;
  165. margin-right: 10px;
  166. margin-bottom: 10px;
  167. width: 150px;
  168. height: 100px;
  169. -webkit-transition: all 1s ease-in-out;
  170. transition: all 1s ease-in-out;
  171. }
  172. .puzzleMinOther {
  173. float: left;
  174. position: relative;
  175. left: 10px;
  176. top: 10px;
  177. margin-right: 10px;
  178. margin-bottom: 10px;
  179. width: 150px;
  180. height: 100px;
  181. background-image: url('b-back.jpg');
  182. background-repeat: no-repeat;
  183. background-position: center center;
  184. -webkit-background-size: cover;
  185. background-size: cover;
  186. display: none;
  187. -webkit-transition: all 1s ease-in-out;
  188. transition: all 1s ease-in-out;
  189. }
  190. .pimg01 {
  191. background-image: url('img01.jpg');
  192. }
  193. .pimg02 {
  194. background-image: url('img02.jpg');
  195. }
  196. .pimg03 {
  197. background-image: url('img03.jpg');
  198. }
  199. .pimg04 {
  200. background-image: url('img04.jpg');
  201. }
  202. .puzzlepart1 {
  203. position: relative;
  204. border-right: dotted 3px green;
  205. border-bottom: dotted 3px green;
  206. float: left;
  207. left: 0%;
  208. top: 0%;
  209. width: 20%;
  210. height: 33.34%;
  211. background-image: url('b-back.jpg');
  212. background-color: transparent;
  213. background-position: center center;
  214. }
  215. .puzzlepartstar {
  216. background-image: url('animstar.png');
  217. }