Design and logic for user-facing site https://exmods.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

199 lines
2.8KB

  1. /* low priority fallback styles */
  2. body {
  3. background-color: #404040;
  4. color: #20c420;
  5. padding: 5%;
  6. }
  7. head {
  8. display: none;
  9. }
  10. h1 {
  11. text-align: center;
  12. padding-top: 2%;
  13. color: #20c420;
  14. }
  15. h2, h3, h4, h5 {
  16. text-align: center;
  17. color: #20c420;
  18. }
  19. .title {
  20. font-size: 120%;
  21. font-weight: bold;
  22. color: #20c420;
  23. }
  24. a {
  25. text-decoration:none;
  26. color: #208020;
  27. }
  28. ul {
  29. text-align: left;
  30. padding-left: 5%;
  31. }
  32. li {
  33. text-align: left;
  34. }
  35. span {
  36. display: inline-block;
  37. }
  38. iframe.iframe-player {
  39. display: block;
  40. text-align: center;
  41. margin: auto;
  42. }
  43. .text-content {
  44. width: 92%;
  45. text-align: default;
  46. line-height: 142%;
  47. font-size: 101%;
  48. display: inline-block;
  49. color: #202020;
  50. background-color: #D8DFD8;
  51. padding: 0.5%;
  52. padding-left: 1%;
  53. padding-right: 1%;
  54. margin: 4%;
  55. margin-top: 1%;
  56. margin-bottom: 1%;
  57. border: 0;
  58. border-left: 4px;
  59. border-right: 4px;
  60. border-style: solid;
  61. border-color: #208020;
  62. }
  63. .tab { margin-left: 40px; }
  64. footer {
  65. width: 92%;
  66. background-color: #D8DFD8;
  67. padding: 0.5%;
  68. padding-left: 1%;
  69. padding-right: 1%;
  70. margin: 1%;
  71. margin-left: 4%;
  72. margin-right: 4%;
  73. text-align: right;
  74. border: 4px;
  75. border-style: solid;
  76. border-color: #208020;
  77. }
  78. /* leaderboard style */
  79. .board {
  80. font-size: 200%;
  81. background-color: #e0e0e0;
  82. color: #111111;
  83. width: 100%;
  84. }
  85. .board-container {
  86. width: 99%;
  87. border: 5px;
  88. border-style: solid;
  89. border-color: #505050;
  90. text-align: left;
  91. }
  92. .board-entry {
  93. width: 100%;
  94. padding-top: 0.25%;
  95. padding-bottom: 0.25%;
  96. border: 0px;
  97. border-bottom: 4px;
  98. border-style: solid;
  99. border-color: #208020;
  100. }
  101. .board-rank {
  102. width: 15%;
  103. font-size: 170%;
  104. margin-left: 4%;
  105. text-align: left;
  106. vertical-align: middle;
  107. color: #208020;
  108. }
  109. .board-name {
  110. width: 55%;
  111. font-size: 130%;
  112. text-align: left;
  113. overflow: hidden;
  114. text-overflow: ellipsis;
  115. white-space: nowrap;
  116. vertical-align: middle;
  117. }
  118. .board-name-a {
  119. width: 100%;
  120. color: #20c420;
  121. }
  122. .board-score {
  123. width: 20%;
  124. margin-left: 4%;
  125. font-size: 100%;
  126. vertical-align: middle;
  127. color: #667766;
  128. }
  129. .board-header {
  130. margin-top: 0.25%;
  131. margin-bottom: 0.25%;
  132. margin-left: -0.25%;
  133. font-weight: bold;
  134. text-align: center;
  135. font-size: 150%;
  136. color: #112211;
  137. }
  138. /* player style */
  139. .player {
  140. font-size: 200%;
  141. background-color: #e0e0e0;
  142. color: #111111;
  143. width: 100%;
  144. }
  145. .player-container {
  146. width: 99%;
  147. text-align: left;
  148. border: 5px;
  149. border-style: solid;
  150. border-color: #505050;
  151. }
  152. .player-name {
  153. width: 75%;
  154. font-size: 300%;
  155. padding-left: 1%;
  156. padding-right: 1%;
  157. overflow: hidden;
  158. vertical-align: middle;
  159. }
  160. .player-link {
  161. width: 100%;
  162. }
  163. .player-avatar {
  164. width: 20%;
  165. text-align: center;
  166. margin: 0.5%;
  167. border-style: solid;
  168. border-color: #505050;
  169. border: 5px;
  170. border-right: 5px;
  171. vertical-align: middle;
  172. }