You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 4.8 kB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. @charset "utf-8";
  2. .display-none{
  3. display:none;
  4. }
  5. .title{
  6. border: none;
  7. background: none;
  8. font-size: 2em;
  9. font-weight: bold;
  10. }
  11. ul{
  12. margin: 0;
  13. padding: 0;
  14. list-style: none;
  15. }
  16. /*队伍的整个盒子*/
  17. .formation-box{
  18. }
  19. /*辅助行*/
  20. .formation-assist{
  21. }
  22. /*队伍行*/
  23. .formation-team{
  24. }
  25. /*单个怪物*/
  26. .monster{
  27. width: 100px;
  28. height: 100px;
  29. margin: 0;
  30. display: block;
  31. float: left;
  32. background-image: url(images/001.png);
  33. background-repeat: no-repeat;
  34. position: relative;
  35. margin: 4px; /*留给队长边框的*/
  36. }
  37. /*怪物属性*/
  38. .property,.subproperty{
  39. position:absolute;
  40. left:0;top:0;
  41. width: 100px;
  42. height: 100px;
  43. background-repeat: no-repeat;
  44. background-image: url(images/CARDFRAME2.PNG);
  45. background-position: 100px 100px; /*默认都不显示*/
  46. }
  47. /*怪物-加值*/
  48. .monster .addition{
  49. color: yellow;
  50. font-size: 20px;
  51. line-height: 20px;
  52. font-weight: bold;
  53. text-shadow: black 0 0 1px, black 2px 2px 0;
  54. position: absolute;
  55. left:0;
  56. }
  57. .monster .addition .hp::before,
  58. .monster .addition .atk::before,
  59. .monster .addition .def::before,
  60. .monster .addition ._297::before{
  61. content: "+";
  62. }
  63. .monster .addition ._297{ /*297默认不显示*/
  64. display:none;
  65. }
  66. .monster .addition.has297 .hp,
  67. .monster .addition.has297 .atk,
  68. .monster .addition.has297 .def{ /*当是297时隐藏3维*/
  69. display:none;
  70. }
  71. .monster .addition.has297 ._297{ /*当是297时显示297*/
  72. display:block;
  73. }
  74. /*怪物-觉醒*/
  75. .monster .awoken-icon{
  76. color: yellow;
  77. font-size: 18px;
  78. line-height: 24px;
  79. font-weight: bold;
  80. text-shadow: black 0 0 4px;
  81. text-align: center;
  82. background-image: url(images/awoken-bg.png);
  83. background-size: 27px 30px;
  84. width: 27px;
  85. height: 30px;
  86. position: absolute;
  87. right: 0;
  88. }
  89. .monster .awoken-icon.awoken-none{
  90. display:none;
  91. }
  92. /*怪物-等级*/
  93. .monster .level{
  94. color: white;
  95. font-size: 18px;
  96. text-shadow: black 2px 2px 0;
  97. position: absolute;
  98. left: 5px;
  99. bottom: 0;
  100. }
  101. .monster .level::before{
  102. content: "Lv";
  103. }
  104. /*辅助和队伍的每一只框架*/
  105. .assist, .team, .acquisitus-awoken-icon {
  106. display: block;
  107. float: left;
  108. position: relative;
  109. width: 108px;
  110. }
  111. /*
  112. .assist:first-of-type, .team:first-of-type {
  113. margin-left: 0px;
  114. }
  115. */
  116. /*队伍的背景色*/
  117. .formation-assist, .formation-team{
  118. display: inline-block;
  119. }
  120. .formation-A-box .formation-team{
  121. background-color:pink;
  122. }
  123. .formation-B-box .formation-team{
  124. background-color:lightblue;
  125. }
  126. .formation-A-bigbox, .formation-B-bigbox{
  127. position: relative;
  128. font-size:0;
  129. }
  130. .formation-B-bigbox{
  131. margin-top:15px;
  132. }
  133. /*队伍A、B的文字*/
  134. .formation-A-bigbox::after, .formation-B-bigbox::before{
  135. font-size: 30px;
  136. font-weight: bold;
  137. text-align: center;
  138. line-height: 50px;
  139. white-space: pre-wrap;
  140. display: inline-block;
  141. width: 108px;
  142. height: 108px;
  143. }
  144. .formation-A-bigbox::after{
  145. color:red;
  146. background-color:pink;
  147. content: "队伍\A A";
  148. }
  149. .formation-B-bigbox::before{
  150. color:blue;
  151. background-color:lightblue;
  152. content: "队伍\A B";
  153. vertical-align:top;
  154. }
  155. .formation-A-box, .formation-B-box{
  156. display: inline-block;
  157. vertical-align:bottom;
  158. }
  159. .formation-A-box .assist::after, .formation-B-box .assist::before{
  160. text-align: center;
  161. font-size: 18px;
  162. font-weight: bold;
  163. display: block;
  164. position: relative;
  165. }
  166. .formation-A-box .assist::after{
  167. color:red;
  168. content: "▼辅助";
  169. }
  170. .formation-B-box .assist::before{
  171. color:blue;
  172. content: "▲辅助";
  173. }
  174. .a-awoken-icon-1 li{
  175. background-image: url(images/sha.png);
  176. background-size: 50px 21px;
  177. width: 50px;
  178. height: 21px;
  179. margin-right: 4px;
  180. }
  181. .a-awoken-icon-2 li{
  182. background-image: url(images/fangzuo.png);
  183. background-size: 21px 21px;
  184. width: 21px;
  185. height: 21px;
  186. margin-left: 6px;
  187. }
  188. .a-awoken-icon-ul li{
  189. float:left;
  190. }
  191. /*队长的边框*/
  192. .formation-A-box .formation-team .team-leader .monster, .formation-B-box .formation-team .team-leader .monster{
  193. border-radius: 10px;
  194. border-width:4px;
  195. border-style:solid;
  196. margin: 0;
  197. }
  198. .formation-A-box .formation-team .team-leader .monster{
  199. border-color: red;
  200. }
  201. .formation-B-box .formation-team .team-leader .monster{
  202. border-color: blue;
  203. }
  204. /*编辑窗口*/
  205. .blur-bg{
  206. filter:blur(5px);
  207. }
  208. .edit-box{
  209. background-color: rgba(0,100,100,0.2);
  210. text-shadow: white 0 0 2px;
  211. position: absolute;
  212. left:0;
  213. top:0;
  214. width:100%;
  215. height:100%;
  216. padding: 10px;
  217. }
  218. .edit-box-title{
  219. text-align: center;
  220. font-size: 25px;
  221. font-weight: bold;
  222. content: "修改怪物";
  223. }
  224. .edit-box .edit-box-title::before{
  225. content: "修改怪物";
  226. }
  227. .edit-box .search-box .mid-label::before{
  228. content: "请输入怪物ID后点击搜索按钮";
  229. }
  230. .edit-box .button-box .button-done::after{
  231. content: "确认修改";
  232. }

智龙迷城队伍图制作工具

Contributors (1)