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.

style.css 2.1KB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. }