guess.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. #top_part{
  2. width:100%;
  3. height:65%;
  4. position:relative;
  5. }
  6. #bottom_part{
  7. width:100%;
  8. height:35%;
  9. padding:2% 3%;
  10. }
  11. .box_border{
  12. box-shadow: 3px 3px 4px rgba(0,0,0,.4);
  13. border-radius:10px;
  14. background:#fff;
  15. }
  16. #image_wraper{
  17. position:relative;
  18. z-index:2;
  19. height:97%;
  20. width:96%;
  21. margin-top:0.5rem;
  22. margin-left:2%;
  23. overflow:hidden;
  24. border:1px solid #acacac;
  25. }
  26. #background_1{
  27. position:absolute;
  28. z-index:1;
  29. height:98%;
  30. width:94%;
  31. top:0;
  32. margin-left:3%;
  33. }
  34. #background_2{
  35. position:absolute;
  36. z-index:0;
  37. height:99%;
  38. width:92%;
  39. top:0;
  40. margin-left:4%;
  41. }
  42. .image_main{
  43. width:100%;
  44. height:100%;
  45. position:absolute;
  46. background:#fff;
  47. }
  48. .image{width:100%;height:85%;}
  49. .image button{width:100%;height:100%;}
  50. .user_info{
  51. width:100%;
  52. height:15%;
  53. position:relative;
  54. padding:0 1rem;
  55. }
  56. .buttons{
  57. position:absolute;
  58. height:100%;
  59. right:0;
  60. text-align:right;
  61. }
  62. .buttons button{
  63. position:absolute;
  64. width:30px;
  65. height:40px;
  66. top:50%;
  67. margin-top:-20px;
  68. }
  69. .add_friend{
  70. background:url(../images/guess_add.png) no-repeat;
  71. background-size:cover;
  72. right:50px;
  73. }
  74. .help{
  75. background:url(../images/guess_help.png) no-repeat;
  76. background-size:cover;
  77. right:5px;
  78. }
  79. /*#guess_next{
  80. width:80px;
  81. height:30px;
  82. position:fixed;
  83. right:20px;
  84. margin-top:-2px;
  85. background:url(../images/choice-next.png) no-repeat;
  86. background-size:contain;
  87. boeder-radius:5px;
  88. }*/
  89. .choice{
  90. position:relative;
  91. height:40px;
  92. line-height:40px;
  93. width:42%;
  94. display:inline-block;
  95. border-radius:20px;
  96. margin-left:5%;
  97. background:#fff;
  98. box-shadow:2px 2px 2px rgba(0,0,0,0.2);
  99. color:#343434;
  100. }
  101. .current{
  102. color:#fff;
  103. background:#05c0ab;
  104. }
  105. .choice img{
  106. height:30px;
  107. width:30px;
  108. margin:5px 5px 0;
  109. }
  110. .choice span{
  111. position:absolute;
  112. width:63%;
  113. left:30%;
  114. white-space:nowrap;
  115. overflow:hidden;
  116. text-overflow:ellipsis;
  117. }
  118. @media screen and (min-width:350px){
  119. #top_part{
  120. height:70%;
  121. }
  122. #bottom_part{
  123. height:30%;
  124. }
  125. .buttons button{
  126. width:40px;
  127. height:55px;
  128. margin-top:-28px;
  129. }
  130. .add_friend{
  131. right:60px;
  132. }
  133. .help{
  134. right:10px;
  135. }
  136. }
  137. /*·ÖÏí*/
  138. #gotoshare{
  139. position: fixed;
  140. z-index: 10;
  141. width: 100%;
  142. height: 100%;
  143. top: 0;
  144. left: 0;
  145. background: #000;
  146. opacity: 0.8;
  147. font-size: 1.5rem;
  148. color: #fff;
  149. display: none;
  150. }
  151. #gotoshare img{
  152. height: 8rem;
  153. position: absolute;
  154. right: 1rem;
  155. top: 1rem;
  156. }