Frontend for viewing Dungeon Defender layouts
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

style.css 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. body {
  2. font-family: sans-serif;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. #header, #header h1 {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. #header {
  11. height: 70px;
  12. padding: 10px 20px;
  13. background-image: linear-gradient(bottom, rgb(255,255,255) 28%, rgb(244,245,242) 64%);
  14. background-image: -o-linear-gradient(bottom, rgb(255,255,255) 28%, rgb(244,245,242) 64%);
  15. background-image: -moz-linear-gradient(bottom, rgb(255,255,255) 28%, rgb(244,245,242) 64%);
  16. background-image: -webkit-linear-gradient(bottom, rgb(255,255,255) 28%, rgb(244,245,242) 64%);
  17. background-image: -ms-linear-gradient(bottom, rgb(255,255,255) 28%, rgb(244,245,242) 64%);
  18. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.28, rgb(255,255,255)), color-stop(0.64, rgb(244,245,242)));
  19. border-bottom: 1px solid rgb(244, 245, 242);
  20. }
  21. #header h1 {
  22. float: left;
  23. }
  24. #header #buttons {
  25. float: right;
  26. height: 40px;
  27. margin: 15px;
  28. }
  29. #header #createlayout {
  30. color: #300;
  31. }
  32. #header #savelayout {
  33. color: #030;
  34. }
  35. #header button {
  36. font-variant: small-caps;
  37. font-weight: bold;
  38. text-transform: lowercase;
  39. padding: 10px;
  40. }
  41. #header img {
  42. vertical-align: bottom;
  43. }
  44. #header span {
  45. display: inline-block;
  46. padding-bottom: 10px;
  47. margin-left: 20px;
  48. color: #300;
  49. }
  50. #sidebar {
  51. float: left;
  52. width: 200px;
  53. padding: 10px;
  54. min-height: 1024px;
  55. border-right: 1px solid rgb(244, 245, 242);
  56. }
  57. #sidebar > div {
  58. text-align: center;
  59. margin-bottom: 20px;
  60. }
  61. h2 {
  62. margin: 0;
  63. color: #300;
  64. }
  65. #notecontent {
  66. width: 100%;
  67. height: 300px;
  68. max-width: 100%;
  69. }
  70. #palette p {
  71. font-size: x-small;
  72. margin-top: 0;
  73. }
  74. #stats p {
  75. margin: 0;
  76. padding: 3px 0;
  77. }
  78. #mapcontainer {
  79. position: relative;
  80. width: 1024px;
  81. height: 1024px;
  82. margin-left: 221px;
  83. }
  84. #du_wrapper.over {
  85. background-color: #600;
  86. color: white;
  87. }
  88. .tower, .core, #palette .tower.monk { width: 40px; height: 40px; }
  89. .tower.monk, #palette .tower.monk.ui-draggable-dragging { width: 95px; height: 95px; }
  90. .tower.monk { z-index: 97; }
  91. .tower.huntress { z-index: 98; }
  92. .tower.squire { z-index: 99; }
  93. .tower.apprentice { z-index: 100; }
  94. body .tower.ui-draggable-dragging { z-index: 101; }
  95. .mask {
  96. position: fixed;
  97. top: 0;
  98. left: 0;
  99. right: 0;
  100. bottom: 0;
  101. background-color: #999;
  102. z-index: 200;
  103. opacity: 0.8;
  104. }
  105. .dialog {
  106. position: fixed;
  107. background-color: white;
  108. border: 2px solid rgb(244, 245, 242);
  109. z-index: 201;
  110. overflow: auto;
  111. text-align: center;
  112. padding: 0;
  113. }
  114. .dialog .container {
  115. padding: 50px;
  116. }
  117. #layoutpicker {
  118. top: 150px;
  119. left: 200px;
  120. right: 200px;
  121. bottom: 100px;
  122. }
  123. #savedialog {
  124. top: 200px;
  125. left: 50%;
  126. height: 300px;
  127. width: 500px;
  128. margin-left: -250px;
  129. }
  130. #layoutpicker .container button {
  131. margin: 30px;
  132. }
  133. #layoutpicker button p {
  134. margin: 5px;
  135. font-size: large;
  136. }
  137. #layoutpicker button img {
  138. width: 200px;
  139. height: 100px;
  140. }
  141. .initiallyhidden {
  142. display: none;
  143. }
  144. .error {
  145. color: red;
  146. font-weight: bold;
  147. }
  148. .dialog .close {
  149. float: right;
  150. margin: 0;
  151. background: white url('images/close.png') no-repeat left center;
  152. padding: 10px 10px 10px 25px;
  153. border: 0;
  154. cursor: pointer;
  155. }
  156. .dialog .close:hover {
  157. text-decoration: underline;
  158. }