The crux.sexy 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.
 
 
 
 
 

232 line
3.5 KiB

  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. b, u, i, center,
  7. dl, dt, dd, ol, ul, li,
  8. fieldset, form, label, legend,
  9. table, caption, tbody, tfoot, thead, tr, th, td,
  10. article, aside, canvas, details, embed,
  11. figure, figcaption, footer, header, hgroup,
  12. menu, nav, output, ruby, section, summary,
  13. time, mark, audio, video {
  14. margin: 0;
  15. padding: 0;
  16. border: 0;
  17. font-size: 100%;
  18. font: inherit;
  19. vertical-align: baseline;
  20. }
  21. /* HTML5 display-role reset for older browsers */
  22. article, aside, details, figcaption, figure,
  23. footer, header, hgroup, menu, nav, section {
  24. display: block;
  25. }
  26. body {
  27. line-height: 1;
  28. }
  29. ol, ul {
  30. list-style: none;
  31. }
  32. blockquote, q {
  33. quotes: none;
  34. }
  35. blockquote:before, blockquote:after,
  36. q:before, q:after {
  37. content: '';
  38. content: none;
  39. }
  40. table {
  41. border-collapse: collapse;
  42. border-spacing: 0;
  43. }
  44. body, html {
  45. height: 100%;
  46. width: 100%;
  47. }
  48. body {
  49. display: flex;
  50. justify-content: center;
  51. text-align: center;
  52. flex-direction: column;
  53. font-family: sans-serif;
  54. background-color: #100d1e;
  55. }
  56. @import url("https://fonts.googleapis.com/css?family=Source+Code+Pro:400,200,700");
  57. .game {
  58. font-size: 100px;
  59. }
  60. .nightly {
  61. background-color: #5b285f;
  62. color: #cd79cd;
  63. }
  64. .box {
  65. margin: 5vw;
  66. flex-wrap: center;
  67. }
  68. .heading {
  69. font-size: 100px;
  70. color: #7991cd;
  71. }
  72. .body {
  73. font-size: 40px;
  74. color: #7991cd;
  75. }
  76. .footer {
  77. position: sticky;
  78. top: 95%;
  79. color: #58678e;
  80. }
  81. a {
  82. font-size: 40px;
  83. color: #b6acd8;
  84. text-decoration: none;
  85. }
  86. a:hover {
  87. color: #726899;
  88. }
  89. .goodyeet {
  90. color: #7991cd;
  91. background-color: #344b85;
  92. border-width: 3px;
  93. }
  94. .badyeet {
  95. color: #cd7984;
  96. background-color: #752020;
  97. border-width: 3px;
  98. }
  99. @media (min-aspect-ratio: 1/1) {
  100. .button {
  101. width: 15vw;
  102. height: 8vw;
  103. font-size: 3vw;
  104. }
  105. }
  106. @media (max-aspect-ratio: 1/1) {
  107. .button {
  108. width: 50vw;
  109. height: 20vw;
  110. font-size: 10vw;
  111. }
  112. }
  113. .flex-container {
  114. display: flex;
  115. flex-direction: row;
  116. justify-content: center;
  117. flex-wrap: wrap;
  118. }
  119. .game-button {
  120. user-select: none;
  121. position: relative;
  122. width: 40vh;
  123. transition: 0.2s;
  124. }
  125. .game-logo {
  126. width: 40vh;
  127. opacity: 0.5;
  128. }
  129. .game-button:hover {
  130. transform: scale(1.25, 1.25);
  131. }
  132. .game-button:hover > .game-logo {
  133. opacity: 1;
  134. }
  135. .game-title {
  136. position: absolute;
  137. color: red;
  138. font-size: 9vh;
  139. left: 50%;
  140. top: 50%;
  141. transform: translate(-50%, -50%);
  142. z-index: 1;
  143. transition: 0.4s ease-out;
  144. font-family: 'Source Code Pro';
  145. }
  146. .game-button:hover > .game-title {
  147. font-size: 10vh;
  148. }
  149. .game-description {
  150. display: none;
  151. position: fixed;
  152. left: 50%;
  153. top: 80%;
  154. transform: translate(-50%, 0);
  155. font-size: 48px;
  156. color: gray;
  157. font-family: 'Source Code Pro', monospace;
  158. }
  159. .game-button:hover + .game-description {
  160. display: inline;
  161. }
  162. .title {
  163. font-size: 100px;
  164. color: gray;
  165. position: fixed;
  166. left: 50%;
  167. top: 10%;
  168. transform: translate(-50%, 0);
  169. font-family: 'Source Code Pro', monospace;
  170. }
  171. .switcher {
  172. text-align: center;
  173. background-color: pink;
  174. min-width: 300px;
  175. min-height: 100px;
  176. position: fixed;
  177. right: -100px;
  178. top: 0px;
  179. transform: rotate(45deg);
  180. }
  181. .switcher-text {
  182. position: relative;
  183. color: black;
  184. font-size: 24px;
  185. top: 25px;
  186. }
  187. .discord {
  188. text-align: center;
  189. background-color: pink;
  190. min-width: 300px;
  191. min-height: 100px;
  192. position: fixed;
  193. left: -100px;
  194. top: 0px;
  195. transform: rotate(-45deg);
  196. }
  197. .discord-text {
  198. position: relative;
  199. color: black;
  200. font-size: 24px;
  201. top: 40px;
  202. }