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.

161 lines
2.1KB

  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. /* leaderboard style */
  44. .board {
  45. font-size: 200%;
  46. background-color: #e0e0e0;
  47. color: #111111;
  48. width: 100%;
  49. }
  50. .board-container {
  51. width: 99%;
  52. border: 5px;
  53. border-style: solid;
  54. border-color: #505050;
  55. text-align: left;
  56. }
  57. .board-entry {
  58. width: 100%;
  59. padding-top: 0.25%;
  60. padding-bottom: 0.25%;
  61. border: 0px;
  62. border-bottom: 4px;
  63. border-style: solid;
  64. border-color: #208020;
  65. }
  66. .board-rank {
  67. width: 15%;
  68. font-size: 170%;
  69. margin-left: 4%;
  70. text-align: left;
  71. vertical-align: middle;
  72. color: #208020;
  73. }
  74. .board-name {
  75. width: 55%;
  76. font-size: 130%;
  77. text-align: left;
  78. overflow: hidden;
  79. text-overflow: ellipsis;
  80. white-space: nowrap;
  81. vertical-align: middle;
  82. }
  83. .board-name-a {
  84. width: 100%;
  85. color: #20c420;
  86. }
  87. .board-score {
  88. width: 20%;
  89. margin-left: 4%;
  90. font-size: 100%;
  91. vertical-align: middle;
  92. color: #667766;
  93. }
  94. .board-header {
  95. margin-top: 0.25%;
  96. margin-bottom: 0.25%;
  97. margin-left: -0.25%;
  98. font-weight: bold;
  99. text-align: center;
  100. font-size: 150%;
  101. color: #112211;
  102. }
  103. /* player style */
  104. .player {
  105. font-size: 200%;
  106. background-color: #e0e0e0;
  107. color: #111111;
  108. width: 100%;
  109. }
  110. .player-container {
  111. width: 99%;
  112. text-align: left;
  113. border: 5px;
  114. border-style: solid;
  115. border-color: #505050;
  116. }
  117. .player-name {
  118. width: 75%;
  119. font-size: 300%;
  120. padding-left: 1%;
  121. padding-right: 1%;
  122. overflow: hidden;
  123. vertical-align: middle;
  124. }
  125. .player-link {
  126. width: 100%;
  127. }
  128. .player-avatar {
  129. width: 20%;
  130. text-align: center;
  131. margin: 0.5%;
  132. border-style: solid;
  133. border-color: #505050;
  134. border: 5px;
  135. border-right: 5px;
  136. vertical-align: middle;
  137. }