collection.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. div#collection{
  2. display: inline-block;
  3. width: 50%;
  4. margin-right: 2em;
  5. margin-top: 2em;
  6. vertical-align: top;
  7. border: 0.1em solid #000000;
  8. border-radius: 2em;
  9. padding: 2em;
  10. background-color: #555555;
  11. box-shadow: 0 0 2em #000000;
  12. }
  13. @media screen and (max-width : 990px){
  14. div#collection{
  15. display: block;
  16. width: 90%;
  17. margin: 0.5em auto 0.5em auto;
  18. overflow-x: scroll;
  19. white-space: nowrap;
  20. border: 0.1em solid #000000;
  21. border-radius: 5%;
  22. background-color: #555555;
  23. }
  24. }
  25. div#collection div.monster{
  26. display: inline-block;
  27. width: 6em;
  28. height: 6em;
  29. border: 0.2em solid #000000;
  30. margin: 0.5em;
  31. position: relative;
  32. border-radius: 15%;
  33. }
  34. @media screen and (max-width : 990px){
  35. div#collection div.monster{
  36. height: 5em;
  37. width: 5em;
  38. border: 0.1em solid #000000;
  39. margin: 0.2em;
  40. border-radius: 10%;
  41. }
  42. }
  43. div#collection div.monster span.stars{
  44. position: absolute;
  45. z-index: 1;
  46. top: 0.4em;
  47. right: 0.5em;
  48. }
  49. @media screen and (max-width : 990px){
  50. div#collection div.monster span.stars{
  51. top: 0.3em;
  52. right: 0.4em;
  53. }
  54. }
  55. div#collection div.monster span.stars img.star{
  56. width: 1em;
  57. height: 1em;
  58. margin-left: -0.6em;
  59. filter: drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  60. }
  61. @media screen and (max-width : 990px){
  62. div#collection div.monster span.stars img.star{
  63. width: 0.9em;
  64. height: 0.9em;
  65. margin-left: -0.7em;
  66. }
  67. }
  68. div#collection div.monster img.monster{
  69. width: 5.5em;
  70. height: 5.5em;
  71. border-style: solid;
  72. border-width: 0.3em;
  73. position: absolute;
  74. border-radius: 15%;
  75. }
  76. @media screen and (max-width : 990px){
  77. div#collection div.monster img.monster{
  78. width: 4.6em;
  79. height: 4.6em;
  80. border-width: 0.2em;
  81. border-radius: 10%;
  82. }
  83. }
  84. div#collection div.monster span.level{
  85. color: #000000;
  86. font-weight: bold;
  87. text-shadow: 0 0 0.3em #ffffff, 0 0 0.3em #ffffff, 0 0 0.3em #ffffff, 0 0 0.3em #ffffff, 0 0 0.4em #ffffff, 0 0 0.4em #ffffff, 0 0 0.4em #ffffff, 0 0 0.4em #ffffff, 0 0 0.4em #ffffff;
  88. position: absolute;
  89. z-index: 1;
  90. bottom: 0.2em;
  91. left: 0.5em;
  92. }
  93. @media screen and (max-width : 990px){
  94. div#collection div.monster span.level{
  95. font-size: 90%;
  96. text-shadow: 0 0 0.2em #ffffff, 0 0 0.2em #ffffff, 0 0 0.2em #ffffff, 0 0 0.3em #ffffff;
  97. left: 0.4em;
  98. }
  99. }
  100. div#portrait_container{
  101. display: inline-block;
  102. width: 35%;
  103. vertical-align: top;
  104. background-color: #f5e7c8;
  105. border: 0.1em solid #000000;
  106. border-radius: 2em;
  107. padding: 1em;
  108. height: 26em;
  109. margin-top: 2em;
  110. box-shadow: 0 0 2em #000000;
  111. }
  112. @media screen and (max-width : 990px){
  113. div#portrait_container{
  114. display: block;
  115. width: 80%;
  116. margin: 0.5em auto 0.5em auto;
  117. }
  118. }
  119. div#portrait_container div#portrait{
  120. text-align: center;
  121. }
  122. div#portrait_container div#portrait img#portrait_img{
  123. width: 8em;
  124. height: 8em;
  125. border-style: solid;
  126. border-width: 0.3em;
  127. border-radius: 15%;
  128. filter: drop-shadow(0 0 0.1em #000000);
  129. }
  130. div#portrait_container div#portrait h4#portrait_title{
  131. font-size: 130%;
  132. font-weight: bold;
  133. margin: 0.2em 0.2em 0.5em 0.2em;
  134. text-shadow: 0 0 0.1em #000000;
  135. }
  136. div#portrait_container div#portrait h5#portrait_details{
  137. margin: 0 0.2em 0.5em 0.2em;
  138. text-shadow: 0 0 0.1em #000000;
  139. }
  140. div#portrait_container div#portrait h5#portrait_details img.portrait_star{
  141. width: 2em;
  142. height: 2em;
  143. filter: drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  144. }
  145. div#portrait_container div#portrait h5#portrait_details img.portrait_star_translucent{
  146. opacity: 0.2;
  147. }
  148. div#portrait_container div#portrait table#portrait_table{
  149. width: 80%;
  150. margin: auto;
  151. border-collapse: collapse;
  152. }
  153. div#portrait_container div#portrait table#portrait_table td{
  154. padding: 0.5em;
  155. }
  156. div#portrait_container div#portrait table#portrait_table td.left{
  157. text-align: right;
  158. }
  159. div#portrait_container div#portrait table#portrait_table td.right{
  160. text-align: left;
  161. }
  162. div#portrait_container div#portrait table#portrait_table input[type="number"]{
  163. width: 4em;
  164. }
  165. div#new{
  166. width: 50%;
  167. height: 50%;
  168. position: fixed;
  169. left: 25%;
  170. top: 10%;
  171. z-index: 2;
  172. display: none;
  173. }
  174. div#new #new_table{
  175. width: 80%;
  176. margin: auto;
  177. border-collapse: collapse;
  178. }
  179. div#new #new_table td{
  180. padding: 0.5em;
  181. }
  182. div#new #new_table td.left{
  183. text-align: right;
  184. }
  185. div#new #new_table td.right{
  186. text-align: left;
  187. }
  188. div#new #new_table td.center{
  189. text-align: center;
  190. }
  191. div#new #new_table td.center img.new_img{
  192. width: 2.5em;
  193. height: 2.5em;
  194. border-style: solid;
  195. border-width: 0.2em;
  196. border-radius: 50%;
  197. }
  198. div#new #new_table input[type="number"]{
  199. width: 4em;
  200. }