The crux.sexy website
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

308 lines
4.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. body {
  57. overflow-x: hidden;
  58. }
  59. @import url("https://fonts.googleapis.com/css?family=Source+Code+Pro:400,200,700");
  60. .game {
  61. font-size: 100px;
  62. }
  63. .nightly {
  64. background-color: #310909;
  65. color: #cd79cd;
  66. }
  67. .box {
  68. margin: 5vw;
  69. flex-wrap: center;
  70. }
  71. .heading {
  72. font-size: 100px;
  73. color: #7991cd;
  74. }
  75. .body {
  76. font-size: 40px;
  77. color: #7991cd;
  78. }
  79. .footer {
  80. position: sticky;
  81. top: 95%;
  82. color: #58678e;
  83. }
  84. a {
  85. font-size: 40px;
  86. color: #b6acd8;
  87. text-decoration: none;
  88. }
  89. a:hover {
  90. color: #726899;
  91. }
  92. .goodyeet {
  93. color: #7991cd;
  94. background-color: #344b85;
  95. border-width: 3px;
  96. }
  97. .badyeet {
  98. color: #cd7984;
  99. background-color: #752020;
  100. border-width: 3px;
  101. }
  102. @media (min-aspect-ratio: 1/1) {
  103. .button {
  104. width: 15vw;
  105. height: 8vw;
  106. font-size: 3vw;
  107. }
  108. }
  109. @media (max-aspect-ratio: 1/1) {
  110. .button {
  111. width: 50vw;
  112. height: 20vw;
  113. font-size: 10vw;
  114. }
  115. }
  116. .flex-container {
  117. display: flex;
  118. flex-direction: row;
  119. justify-content: center;
  120. flex-wrap: wrap;
  121. position: static;
  122. top: 0%;
  123. max-height: 60%;
  124. }
  125. .flex-container:hover .game-button {
  126. opacity: 0.25;
  127. }
  128. .flex-container:hover .game-button:hover {
  129. opacity: 1;
  130. }
  131. @keyframes fadein {
  132. from { opacity: 0; }
  133. to { opacity: 1; }
  134. }
  135. .game-button {
  136. user-select: none;
  137. position: relative;
  138. transition: 0.2s;
  139. transform: scale(1, 1);
  140. }
  141. @media (max-aspect-ratio: 1/1) {
  142. .game-button .game-logo {
  143. width: 40vw;
  144. }
  145. }
  146. @media (min-aspect-ratio: 1/1) {
  147. .game-button .game-logo {
  148. width: 40vh;
  149. }
  150. }
  151. .game-logo {
  152. transition: 0.3s;
  153. opacity: 0.5;
  154. }
  155. .game-button:hover {
  156. transition: 0.2s;
  157. transform: scale(1.25, 1.25);
  158. }
  159. .game-button:hover > .game-logo {
  160. opacity: 1;
  161. }
  162. .game-title {
  163. position: absolute;
  164. color: red;
  165. left: 50%;
  166. top: 50%;
  167. transform: translate(-50%, -50%) scale(1, 1);
  168. z-index: 1;
  169. font-family: 'Source Code Pro';
  170. transition: 0.4s ease-out;
  171. }
  172. @media (max-aspect-ratio: 1/1) {
  173. .game-title {
  174. font-size: 6vh;
  175. }
  176. }
  177. @media (min-aspect-ratio: 1/1) {
  178. .game-title {
  179. font-size: 9vh;
  180. }
  181. }
  182. .game-button:hover > .game-title {
  183. transform: translate(-50%, -50%) scale(1.25, 1.25);
  184. transition: 0.4s ease-out;
  185. }
  186. .game-description {
  187. width: 80%;
  188. display: none;
  189. position: fixed;
  190. left: 50%;
  191. transform: translate(-50%, 0);
  192. font-size: 48px;
  193. color: gray;
  194. font-family: 'Source Code Pro', monospace;
  195. }
  196. @media (max-aspect-ratio: 1/1) {
  197. .game-title {
  198. font-size: 6vh;
  199. }
  200. .game-description {
  201. bottom: 10%;
  202. }
  203. }
  204. @media (min-aspect-ratio: 1/1) {
  205. .game-title {
  206. font-size: 9vh;
  207. }
  208. .game-description {
  209. bottom: 10%;
  210. }
  211. }
  212. .game-button:hover + .game-description {
  213. display: inline;
  214. }
  215. .title {
  216. color: gray;
  217. position: fixed;
  218. left: 50%;
  219. top: 10%;
  220. transform: translate(-50%, 0);
  221. font-family: 'Source Code Pro', monospace;
  222. }
  223. @media (max-aspect-ratio: 1/1) {
  224. .title {
  225. font-size: 10vh;
  226. top: 5%;
  227. }
  228. }
  229. @media (min-aspect-ratio: 1/1) {
  230. .title {
  231. font-size: 10vh;
  232. top: 10%;
  233. }
  234. }
  235. .switcher {
  236. text-align: center;
  237. background-color: pink;
  238. min-width: 300px;
  239. min-height: 100px;
  240. position: fixed;
  241. right: -100px;
  242. top: 0px;
  243. transform: rotate(45deg);
  244. }
  245. .switcher-text {
  246. position: relative;
  247. color: black;
  248. font-size: 24px;
  249. top: 25px;
  250. }
  251. .discord {
  252. text-align: center;
  253. background-color: pink;
  254. min-width: 300px;
  255. min-height: 100px;
  256. position: fixed;
  257. left: -100px;
  258. top: 0px;
  259. transform: rotate(-45deg);
  260. }
  261. .discord-text {
  262. position: relative;
  263. color: black;
  264. font-size: 24px;
  265. top: 25px;
  266. }