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.

196 lines
2.7KB

  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. border: 0;
  57. border-left: 4px;
  58. border-right: 4px;
  59. border-style: solid;
  60. border-color: #208020;
  61. }
  62. .tab { margin-left: 40px; }
  63. footer {
  64. width: 92%;
  65. background-color: #D8DFD8;
  66. padding: 0.5%;
  67. margin: 0;
  68. margin-left: 4%;
  69. margin-right: 4%;
  70. text-align: right;
  71. border: 4px;
  72. border-style: solid;
  73. border-color: #208020;
  74. }
  75. /* leaderboard style */
  76. .board {
  77. font-size: 200%;
  78. background-color: #e0e0e0;
  79. color: #111111;
  80. width: 100%;
  81. }
  82. .board-container {
  83. width: 99%;
  84. border: 5px;
  85. border-style: solid;
  86. border-color: #505050;
  87. text-align: left;
  88. }
  89. .board-entry {
  90. width: 100%;
  91. padding-top: 0.25%;
  92. padding-bottom: 0.25%;
  93. border: 0px;
  94. border-bottom: 4px;
  95. border-style: solid;
  96. border-color: #208020;
  97. }
  98. .board-rank {
  99. width: 15%;
  100. font-size: 170%;
  101. margin-left: 4%;
  102. text-align: left;
  103. vertical-align: middle;
  104. color: #208020;
  105. }
  106. .board-name {
  107. width: 55%;
  108. font-size: 130%;
  109. text-align: left;
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. white-space: nowrap;
  113. vertical-align: middle;
  114. }
  115. .board-name-a {
  116. width: 100%;
  117. color: #20c420;
  118. }
  119. .board-score {
  120. width: 20%;
  121. margin-left: 4%;
  122. font-size: 100%;
  123. vertical-align: middle;
  124. color: #667766;
  125. }
  126. .board-header {
  127. margin-top: 0.25%;
  128. margin-bottom: 0.25%;
  129. margin-left: -0.25%;
  130. font-weight: bold;
  131. text-align: center;
  132. font-size: 150%;
  133. color: #112211;
  134. }
  135. /* player style */
  136. .player {
  137. font-size: 200%;
  138. background-color: #e0e0e0;
  139. color: #111111;
  140. width: 100%;
  141. }
  142. .player-container {
  143. width: 99%;
  144. text-align: left;
  145. border: 5px;
  146. border-style: solid;
  147. border-color: #505050;
  148. }
  149. .player-name {
  150. width: 75%;
  151. font-size: 300%;
  152. padding-left: 1%;
  153. padding-right: 1%;
  154. overflow: hidden;
  155. vertical-align: middle;
  156. }
  157. .player-link {
  158. width: 100%;
  159. }
  160. .player-avatar {
  161. width: 20%;
  162. text-align: center;
  163. margin: 0.5%;
  164. border-style: solid;
  165. border-color: #505050;
  166. border: 5px;
  167. border-right: 5px;
  168. vertical-align: middle;
  169. }