Old ngn4 website
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.

239 lines
3.5 KiB

8 years ago
  1. body, html, div {
  2. padding: 0;
  3. margin: 0;
  4. color: #777;
  5. }
  6. body, html {
  7. background-color: #555;
  8. background-size: cover;
  9. font-family: sans-serif;
  10. height: 100%;
  11. width: 100%;
  12. overflow: hidden;
  13. }
  14. a {
  15. display: inline-block;
  16. padding: 0.125em 0.25em;
  17. background-color: rgba(64, 64, 64, 0.5);
  18. color: #ccc;
  19. text-decoration: none;
  20. cursor: pointer;
  21. }
  22. hr {
  23. border: 1px solid rgba(96, 96, 96, 0.5);
  24. }
  25. div.ngn4-panel {
  26. background-color: rgba(0, 0, 0, 0.75);
  27. }
  28. div.ngn4-menu {
  29. position: absolute;
  30. left: 0;
  31. right: 0;
  32. overflow-y: visible;
  33. }
  34. div.ngn4-menu h1 {
  35. margin: 0;
  36. padding: 0.25em 0.5em;
  37. display: inline-block;
  38. font-size: 1em;
  39. }
  40. div.ngn4-geninfo {
  41. padding: 0.5em;
  42. position: absolute;
  43. left: 15%;
  44. right: 15%;
  45. top: 4em;
  46. min-height: calc(100% - 7em);
  47. text-align: center;
  48. overflow-x: hidden;
  49. overflow-y: auto;
  50. }
  51. div.ngn4-geninfo#loading-screen {
  52. overflow-y: hidden;
  53. }
  54. div.ngn4-geninfo a {
  55. margin: 0.25em;
  56. border: 1px solid #000;
  57. }
  58. div.ngn4-geninfo a.selected {
  59. background-color: rgba(192, 128, 32, 0.125);
  60. color: #fff;
  61. border: 1px solid #c82;
  62. }
  63. div.ngn4-footer {
  64. position: absolute;
  65. bottom: 0;
  66. left: 0;
  67. right: 0;
  68. background-color: rgba(192, 128, 32, 0.8);
  69. color: #fff;
  70. font-size: 1.5em;
  71. padding: 0.5em;
  72. }
  73. div.ngn4-footer a {
  74. border: 1px solid #000;
  75. }
  76. .vertical-center center {
  77. vertical-align: middle;
  78. position: absolute;
  79. top: calc(50% - 0.5em);
  80. height: 100%;
  81. width: 100%;
  82. font-size: 3em;
  83. }
  84. #gi-name {
  85. padding-top: 2em;
  86. color: #aaa;
  87. font-size: 2em;
  88. }
  89. #gi-race {
  90. color: #555;
  91. font-size: 0.9em;
  92. }
  93. #gi-button {
  94. background-color: rgba(32, 32, 32, 0.9);
  95. color: #ccc;
  96. border: 1px solid #000;
  97. font-size: 1.5em;
  98. margin: 0.5em;
  99. }
  100. #gi-button:focus {
  101. border: 1px solid #c82;
  102. outline: 0;
  103. }
  104. /* DROPDOWN FUNCTIONALITY */
  105. #menu-items div.item {
  106. position: relative;
  107. display: inline-block;
  108. margin: 0;
  109. padding: 0.25em 0.5em;
  110. background: none;
  111. color: #ccc;
  112. text-decoration: none;
  113. cursor: pointer;
  114. }
  115. #menu-items div.item div {
  116. display: none;
  117. position: absolute;
  118. top: 1.65em;
  119. margin-left: -0.5em;
  120. min-width: 12ch;
  121. z-index: 10;
  122. background: none;
  123. }
  124. #menu-items div.item:hover {
  125. background-color: rgba(192, 128, 32, 0.5);
  126. color: #fff;
  127. }
  128. #menu-items div.item:hover div {
  129. display: block;
  130. }
  131. #menu-items div.item div a {
  132. padding: 0.25em;
  133. margin: 0;
  134. background-color: rgba(0, 0, 0, 0.75);
  135. display: block;
  136. }
  137. #menu-items div.item div a:hover {
  138. background-color: rgba(192, 128, 32, 0.75);
  139. color: #fff;
  140. }
  141. @media screen and (max-width: 980px) {
  142. body {
  143. font-size: 1em;
  144. }
  145. div.ngn4-geninfo {
  146. position: absolute;
  147. left: 0.5em;
  148. right: 0.5em;
  149. top: 3em;
  150. height: calc(100% - 4.5em);
  151. overflow-y: auto;
  152. }
  153. div.ngn4-menu {
  154. overflow-y: visible;
  155. white-space: nowrap;
  156. }
  157. div.ngn4-menu .item, div.ngn4-menu h1 {
  158. font-size: 1.5em;
  159. }
  160. div.ngn4-footer {
  161. font-size: 0.75em;
  162. left: 0;
  163. right: 0;
  164. top: 0;
  165. bottom: 0;
  166. overflow-y: auto;
  167. }
  168. div.ngn4-footer a {
  169. padding: 1em;
  170. }
  171. #gi-name {
  172. padding-top: 0.25em;
  173. }
  174. #gi-button {
  175. padding: 0.5em;
  176. }
  177. }
  178. .noselect {
  179. -webkit-touch-callout: none; /* iOS Safari */
  180. -webkit-user-select: none; /* Chrome/Safari/Opera */
  181. -khtml-user-select: none; /* Konqueror */
  182. -moz-user-select: none; /* Firefox */
  183. -ms-user-select: none; /* IE/Edge */
  184. user-select: none; /* non-prefixed version, currently
  185. not supported by any browser */
  186. }