The crux.sexy website
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

445 рядки
6.8 KiB

  1. @import url("https://fonts.googleapis.com/css?family=Source+Code+Pro:400,200,700");
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, canvas, details, embed,
  12. figure, figcaption, footer, header, hgroup,
  13. menu, nav, output, ruby, section, summary,
  14. time, mark, audio, video {
  15. margin: 0;
  16. padding: 0;
  17. border: 0;
  18. font-size: 100%;
  19. font: inherit;
  20. vertical-align: baseline;
  21. }
  22. /* HTML5 display-role reset for older browsers */
  23. article, aside, details, figcaption, figure,
  24. footer, header, hgroup, menu, nav, section {
  25. display: block;
  26. }
  27. body {
  28. line-height: 1;
  29. }
  30. ol, ul {
  31. list-style: none;
  32. }
  33. blockquote, q {
  34. quotes: none;
  35. }
  36. blockquote:before, blockquote:after,
  37. q:before, q:after {
  38. content: '';
  39. content: none;
  40. }
  41. table {
  42. border-collapse: collapse;
  43. border-spacing: 0;
  44. }
  45. body, html {
  46. height: 100%;
  47. width: 100%;
  48. }
  49. body {
  50. display: flex;
  51. justify-content: center;
  52. text-align: center;
  53. flex-direction: column;
  54. font-family: sans-serif;
  55. background-color: #100d1e;
  56. }
  57. body {
  58. overflow-x: hidden;
  59. }
  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-small {
  129. opacity: 0.25;
  130. }
  131. .flex-container:hover .game-button:hover {
  132. opacity: 1;
  133. }
  134. .flex-container:hover .game-button-small:hover {
  135. opacity: 1;
  136. }
  137. @keyframes fadein {
  138. from { opacity: 0; }
  139. to { opacity: 1; }
  140. }
  141. .game-button {
  142. user-select: none;
  143. position: relative;
  144. transition: 0.2s;
  145. transform: scale(1, 1);
  146. }
  147. .game-button-small {
  148. user-select: none;
  149. position: relative;
  150. transition: 0.2s;
  151. transform: scale(1, 1);
  152. }
  153. @media (max-aspect-ratio: 1/1) {
  154. .game-button .game-logo {
  155. width: 40vw;
  156. }
  157. .game-button-small .game-logo {
  158. width: 10vw;
  159. }
  160. }
  161. @media (min-aspect-ratio: 1/1) {
  162. .game-button .game-logo {
  163. width: 40vh;
  164. }
  165. .game-button-small .game-logo {
  166. width: 10vh;
  167. }
  168. }
  169. .game-logo {
  170. transition: 0.3s;
  171. opacity: 0.5;
  172. }
  173. .game-button:hover {
  174. transition: 0.2s;
  175. transform: scale(1.25, 1.25);
  176. }
  177. .game-button:hover > .game-logo {
  178. opacity: 1;
  179. }
  180. .game-title {
  181. position: absolute;
  182. color: red;
  183. left: 50%;
  184. top: 50%;
  185. transform: translate(-50%, -50%) scale(1, 1);
  186. z-index: 1;
  187. font-family: 'Source Code Pro', monospace;
  188. transition: 0.4s ease-out;
  189. }
  190. @media (max-aspect-ratio: 1/1) {
  191. .game-title {
  192. font-size: 6vh;
  193. }
  194. }
  195. @media (min-aspect-ratio: 1/1) {
  196. .game-title {
  197. font-size: 9vh;
  198. }
  199. }
  200. .game-button:hover > .game-title {
  201. transform: translate(-50%, -50%) scale(1.25, 1.25);
  202. transition: 0.4s ease-out;
  203. }
  204. .game-description {
  205. width: 80%;
  206. display: none;
  207. position: fixed;
  208. left: 50%;
  209. transform: translate(-50%, 0);
  210. font-size: 48px;
  211. color: gray;
  212. font-family: 'Source Code Pro', monospace;
  213. }
  214. @media (max-aspect-ratio: 1/1) {
  215. .game-title {
  216. font-size: 6vh;
  217. }
  218. .game-description {
  219. bottom: 10%;
  220. }
  221. }
  222. @media (min-aspect-ratio: 1/1) {
  223. .game-title {
  224. font-size: 9vh;
  225. }
  226. .game-description {
  227. bottom: 10%;
  228. }
  229. }
  230. .game-button:hover + .game-description {
  231. display: inline;
  232. }
  233. .title {
  234. color: gray;
  235. position: fixed;
  236. left: 50%;
  237. top: 10%;
  238. transform: translate(-50%, 0);
  239. font-family: 'Source Code Pro', monospace;
  240. }
  241. @media (max-aspect-ratio: 1/1) {
  242. .title {
  243. font-size: 10vh;
  244. top: 5%;
  245. }
  246. }
  247. @media (min-aspect-ratio: 1/1) {
  248. .title {
  249. font-size: 10vh;
  250. top: 10%;
  251. }
  252. }
  253. .switcher {
  254. text-align: center;
  255. background-color: pink;
  256. min-width: 300px;
  257. min-height: 100px;
  258. position: fixed;
  259. right: -100px;
  260. top: 0px;
  261. transform: rotate(45deg);
  262. }
  263. .switcher-text {
  264. position: relative;
  265. color: black;
  266. font-size: 24px;
  267. top: 25px;
  268. }
  269. .changelog-banner {
  270. text-align: center;
  271. background-color: pink;
  272. min-width: 300px;
  273. min-height: 100px;
  274. position: fixed;
  275. left: -100px;
  276. top: 0px;
  277. transform: rotate(-45deg);
  278. }
  279. .changelog-text {
  280. position: relative;
  281. color: black;
  282. font-size: 24px;
  283. top: 45px;
  284. }
  285. .discord-footer {
  286. position: fixed;
  287. max-width: 50vw;
  288. max-height: 7vh;
  289. left: 50%;
  290. top: 5%;
  291. transform: translate(-50%, -50%);
  292. }
  293. #discord-image {
  294. width: 100%;
  295. height: 10vh;
  296. transition: 0.2s !important;
  297. }
  298. #discord-image:hover {
  299. transition: 0.2s;
  300. transform: scale(1.25, 1.25);
  301. --shadowcolor: rgba(113, 51, 128, 1);
  302. filter: drop-shadow(0px 0px 5px var(--shadowcolor)) drop-shadow(0px 0px 5px var(--shadowcolor)) drop-shadow(0px 0px 5px var(--shadowcolor));
  303. }
  304. .back-text {
  305. position: relative;
  306. color: black;
  307. font-size: 36px;
  308. top: 25px;
  309. }
  310. .version {
  311. font-size: 36px;
  312. color: gray;
  313. font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
  314. }
  315. .about-button {
  316. position: fixed;
  317. left: 50%;
  318. top: 12%;
  319. transform: translate(-50%, 0%);
  320. width: 30vh;
  321. height: 8vh;
  322. border-radius: 5vh;
  323. font-size: 8vh !important;
  324. color: gray;
  325. letter-spacing: 2pt;
  326. user-select: none;
  327. transition: 0.2s;
  328. background: #222;
  329. }
  330. .about-button#about-disable {
  331. top: 24.8%;
  332. }
  333. .about-button:hover {
  334. transition: 0.2s !important;
  335. text-shadow: 0px 0px 5px #713380, 0px 0px 5px #713380;
  336. box-shadow: 0px 0px 10px 4px #713380;
  337. transform: translate(-50%, 0%) scale(1.25, 1.25);
  338. }
  339. #about {
  340. position: fixed;
  341. display: none;
  342. width: 80vw;
  343. height: 50vh;
  344. top: 50%;
  345. left: 50%;
  346. padding-left: 25vw;
  347. padding-right: 25vw;
  348. padding-top: 50vh;
  349. padding-bottom: 50vh;
  350. transform: translate(-50%, -50%);
  351. z-index: 1;
  352. font-size: 48px;
  353. color: gray;
  354. }
  355. body.about-enable #about {
  356. display: flex;
  357. flex-direction: column;
  358. }
  359. body #about-disable {
  360. display: none;
  361. }
  362. body.about-enable #about-disable{
  363. display: block;
  364. }
  365. #about div, #about a {
  366. font-size: 32pt;
  367. flex: 1 0;
  368. }
  369. body > *:not(#about) {
  370. transition: 0.2s;
  371. }
  372. body.about-enable > *:not(#about) {
  373. transition: 1s;
  374. filter: blur(25px);
  375. }
  376. .preload * {
  377. -webkit-transition: none !important;
  378. -moz-transition: none !important;
  379. -ms-transition: none !important;
  380. -o-transition: none !important;
  381. }