not really known
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.

641 lines
13 KiB

  1. article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
  2. *,
  3. *::after,
  4. *::before {
  5. box-sizing: border-box;
  6. }
  7. html {
  8. background: #000;
  9. }
  10. body {
  11. font-family: 'Barlow', Helvetica, Arial, sans-serif;
  12. font-weight: 500;
  13. min-height: 100vh;
  14. color: #57585c;
  15. color: var(--color-text);
  16. background-color: #000;
  17. background-color: var(--color-bg);
  18. -webkit-font-smoothing: antialiased;
  19. -moz-osx-font-smoothing: grayscale;
  20. }
  21. /* Fade effect */
  22. .js body {
  23. opacity: 0;
  24. transition: opacity 0.6s;
  25. }
  26. .js body.render {
  27. opacity: 1;
  28. }
  29. a {
  30. text-decoration: none;
  31. color: var(--color-link);
  32. outline: none;
  33. }
  34. a:hover,
  35. a:focus {
  36. color: var(--color-link-hover);
  37. outline: none;
  38. }
  39. .hidden {
  40. position: absolute;
  41. overflow: hidden;
  42. width: 0;
  43. height: 0;
  44. pointer-events: none;
  45. }
  46. .message {
  47. position: relative;
  48. z-index: 100;
  49. display: none;
  50. padding: 1em;
  51. text-align: center;
  52. color: var(--color-bg);
  53. background: var(--color-text);
  54. }
  55. /* Icons */
  56. .icon {
  57. display: block;
  58. width: 1.5em;
  59. height: 1.5em;
  60. margin: 0 auto;
  61. fill: currentColor;
  62. }
  63. .icon--keyboard {
  64. display: none;
  65. }
  66. main {
  67. position: relative;
  68. width: 100%;
  69. }
  70. .content {
  71. position: relative;
  72. display: grid;
  73. justify-content: center;
  74. align-items: center;
  75. align-content: center;
  76. margin: 0 auto;
  77. min-height: 100vh;
  78. }
  79. .content--fixed {
  80. position: fixed;
  81. z-index: 10000;
  82. top: 0;
  83. left: 0;
  84. display: grid;
  85. align-content: space-between;
  86. width: 100%;
  87. max-width: none;
  88. min-height: 0;
  89. height: 100vh;
  90. padding: 1.5em;
  91. pointer-events: none;
  92. grid-template-columns: 50% 50%;
  93. grid-template-rows: auto auto 4em;
  94. grid-template-areas: 'header ...'
  95. '... ...'
  96. 'github demos';
  97. }
  98. .content--fixed a {
  99. pointer-events: auto;
  100. }
  101. /* Header */
  102. .codrops-header {
  103. position: relative;
  104. z-index: 100;
  105. display: flex;
  106. flex-direction: row;
  107. align-items: flex-start;
  108. align-items: center;
  109. align-self: start;
  110. grid-area: header;
  111. justify-self: start;
  112. }
  113. .codrops-header__title {
  114. font-size: 1em;
  115. font-weight: 500;
  116. margin: 0;
  117. padding: 0.75em 0;
  118. }
  119. .info {
  120. margin: 0 0 0 1.25em;
  121. color: var(--color-info);
  122. }
  123. .github {
  124. display: block;
  125. align-self: end;
  126. grid-area: github;
  127. justify-self: start;
  128. }
  129. .demos {
  130. position: relative;
  131. display: block;
  132. align-self: end;
  133. text-align: center;
  134. grid-area: demos;
  135. }
  136. .demo {
  137. margin: 0 0.15em;
  138. }
  139. .demo:hover,
  140. .demo:focus {
  141. opacity: 0.5;
  142. }
  143. .demo span {
  144. white-space: nowrap;
  145. text-transform: lowercase;
  146. pointer-events: none;
  147. }
  148. .demo span::before {
  149. content: '#';
  150. }
  151. a.demo--current {
  152. pointer-events: none;
  153. color: var(--color-link-hover);
  154. }
  155. /* Top Navigation Style */
  156. .codrops-links {
  157. position: relative;
  158. display: flex;
  159. justify-content: center;
  160. margin: 0 1em 0 0;
  161. text-align: center;
  162. white-space: nowrap;
  163. }
  164. .codrops-icon {
  165. display: inline-block;
  166. margin: 0.15em;
  167. padding: 0.25em;
  168. }
  169. /* Canvas positions */
  170. .content__inner {
  171. grid-area: 1 / 1 / 1 / 1;
  172. position: relative;
  173. display: flex;
  174. flex-direction: column;
  175. align-items: center;
  176. justify-content: center;
  177. align-content: center;
  178. }
  179. .scene {
  180. position: absolute;
  181. }
  182. .scene--left {
  183. width: 100vmin;
  184. height: 100vmin;
  185. transform: translate3d(-50vmin,0,0);
  186. }
  187. .scene--full {
  188. width: 100%;
  189. height: 100vh;
  190. }
  191. .scene--up {
  192. height: 150vmin;
  193. width: 150vmin;
  194. top: -50vh;
  195. left: 50%;
  196. margin-left: -75vmin;
  197. }
  198. @media screen and (min-width: 55em) {
  199. .icon--keyboard {
  200. position: absolute;
  201. right: 0.55em;
  202. bottom: -30%;
  203. display: block;
  204. width: 54px;
  205. height: 46px;
  206. fill: var(--color-link);
  207. }
  208. .demos {
  209. display: flex;
  210. padding-right: 80px;
  211. justify-self: end;
  212. }
  213. .demo {
  214. display: block;
  215. width: 17px;
  216. height: 17px;
  217. margin: 0 4px;
  218. border-radius: 50%;
  219. background: var(--color-link);
  220. }
  221. a.demo--current {
  222. background: var(--color-link-hover);
  223. }
  224. .demo span {
  225. line-height: 1;
  226. position: absolute;
  227. right: 100%;
  228. display: none;
  229. margin: 0 1em 0 0;
  230. }
  231. .demo--current span {
  232. display: block;
  233. }
  234. }
  235. @media screen and (max-width: 55em) {
  236. .message {
  237. /* display: block; */
  238. }
  239. .content {
  240. flex-direction: column;
  241. height: auto;
  242. }
  243. .content--fixed {
  244. position: relative;
  245. z-index: 1000;
  246. display: block;
  247. padding: 0.85em;
  248. }
  249. .content:not(.content--fixed) {
  250. margin-bottom: 6em;
  251. }
  252. .codrops-header {
  253. flex-direction: column;
  254. align-items: center;
  255. }
  256. .codrops-header__title {
  257. font-weight: bold;
  258. padding-bottom: 0.25em;
  259. text-align: center;
  260. }
  261. .info {
  262. margin: 0;
  263. }
  264. .github {
  265. display: block;
  266. margin: 1em auto;
  267. }
  268. .codrops-links {
  269. margin: 0;
  270. }
  271. }
  272. body {
  273. -moz-osx-font-smoothing: grayscale;
  274. background: #B9B9B9;
  275. background: #FFF;
  276. color: #0459ed; }
  277. .logo {
  278. width: auto;
  279. flex: 0;
  280. padding: 5px;
  281. color: #0459ed;
  282. font-size: 50px;
  283. text-transform: uppercase;
  284. font-family: 'Poppins', sans-serif;
  285. font-weight: 900;
  286. background: #0459ed;
  287. color: #FFF; }
  288. .logo {
  289. width: auto;
  290. flex: 0;
  291. padding: 20px;
  292. font-size: 50px;
  293. text-transform: uppercase;
  294. font-family: 'Poppins', sans-serif;
  295. font-weight: 900;
  296. background: #0459ed;
  297. color: #FFF !important; }
  298. .logo {
  299. float: left;
  300. margin: 0 0 60px 40px;
  301. font-size: 30px;
  302. border-bottom-left-radius: 8px;
  303. border-bottom-right-radius: 8px; }
  304. .logo:hover {
  305. color: #FFF !important;
  306. text-decoration: none; }
  307. .logo div {
  308. line-height: 30px; }
  309. a {
  310. color: #b3b3b3; }
  311. a:hover {
  312. color: #999999; }
  313. .button--enter, .game__submit {
  314. height: 70px;
  315. width: 100%;
  316. margin-top: 0em;
  317. border: 0;
  318. outline: 0;
  319. font-size: 20px;
  320. font-family: 'Poppins', sans-serif;
  321. font-weight: 500; }
  322. .button--enter, .game__submit {
  323. color: #FFF;
  324. overflow: hidden;
  325. border-radius: 8px;
  326. background: #0459ed;
  327. transition: all 0.5s; }
  328. .button--enter:hover, .game__submit:hover {
  329. background: #0346bb;
  330. transform: scale(1.05); }
  331. .button--enter,
  332. .button__top,
  333. .button__bottom {
  334. transition: all 0.7s; }
  335. .button--enter .button__top,
  336. .button--enter .button__bottom {
  337. height: 100%;
  338. width: 100%;
  339. padding: 20px;
  340. text-align: center;
  341. font-size: 20px;
  342. display: block; }
  343. .button--enter.is--active .button__top {
  344. margin-top: -140px; }
  345. .button__top {
  346. background-color: #0459ed;
  347. color: #FFF;
  348. border: none;
  349. border-radius: 5px;
  350. font-family: 'Poppins', sans-serif;
  351. font-weight: 500;
  352. height: 100%;
  353. width: 100%;
  354. padding: 20px;
  355. text-align: center;
  356. font-size: 20px;
  357. display: block;
  358. }
  359. .login__input:focus{
  360. outline: none;
  361. }
  362. .button__bottom {
  363. color: #FFF;
  364. background: #30ce4b; }
  365. .button__bottom:hover {
  366. text-decoration: none;
  367. color: #FFF; }
  368. .button__spacer {
  369. background: linear-gradient(#0459ed, #30ce4b);
  370. height: 70px;
  371. width: 100%; }
  372. .btn-5 {
  373. border: 0 solid;
  374. outline: 1px solid;
  375. outline-color: rgba(255, 255, 255, 0.5);
  376. outline-offset: 0px;
  377. text-shadow: none;
  378. transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1); }
  379. .game__sidebar:hover .btn-5 {
  380. outline-color: rgba(255, 255, 255, 0);
  381. outline-offset: 15px;
  382. text-shadow: 1px 1px 2px #427388; }
  383. .field--nickname input {
  384. font-size: 20px;
  385. padding: 20px;
  386. border: none;
  387. border: 1px solid #ddd;
  388. border-radius: 8px; }
  389. .field--nickname label {
  390. font-size: 20px; }
  391. .login__input {
  392. float: left;
  393. padding: 0 0 15px 0;
  394. padding-left: 0;
  395. font-size: 100px;
  396. font-family: 'Josefin Sans', sans-serif;
  397. vertical-align: baseline;
  398. min-width: 100px;
  399. margin: 0 15px 10px 0;
  400. background: transparent;
  401. box-shadow: 0;
  402. font-weight: 300;
  403. border: none;
  404. color: #4286fc; }
  405. .lobby__rooms {
  406. padding: 0;
  407. margin: 0; }
  408. .lobby__room {
  409. z-index: 2;
  410. height: auto;
  411. overflow: auto;
  412. padding: 15px;
  413. margin: -2px 0 0 0;
  414. list-style: none;
  415. font-size: 24px;
  416. background: #FFF;
  417. color: #0459ed;
  418. border: 2px solid #0459ed;
  419. transition: all 0.5s; }
  420. .lobby__room:hover {
  421. transform: scale(1.05); }
  422. .lobby__room:first-child {
  423. z-index: 1;
  424. padding: 15px 0;
  425. border: none;
  426. font-weight: 600;
  427. background: transparent; }
  428. .lobby__room:first-child:hover {
  429. transform: scale(1); }
  430. .lobby__room:first-child .lobby__room-status {
  431. background: transparent;
  432. color: #0459ed; }
  433. .lobby__room-name {
  434. width: 50%;
  435. float: left;
  436. display: block;}
  437. .lobby__room-occupancy {
  438. width: 40%;
  439. text-align: center;
  440. float: left;
  441. display: block; }
  442. .lobby__room-status {
  443. padding: 3px 10px 2px;
  444. float: right;
  445. text-align: right;
  446. width: 10%;
  447. text-align: center;
  448. background: #0459ed;
  449. color: #FFF;
  450. border-radius: 8px;
  451. border: none;
  452. font-size: 20px;
  453. font-family: 'Poppins', sans-serif;
  454. font-weight: 500;
  455. float: left;
  456. display: block; }
  457. .game [class^="col"] {
  458. height: 100vh; }
  459. .game__main {
  460. display: flex;
  461. flex-direction: column;
  462. padding: 0 40px 40px;
  463. clear: both; }
  464. .game__sidebar {
  465. position: relative;
  466. display: flex;
  467. flex-direction: column;
  468. padding: 40px;
  469. color: #FFF;
  470. background: #0459ed;
  471. border: 40px solid #fff;
  472. border-right-width: 80px;
  473. overflow: hidden;
  474. border-radius: 8px; }
  475. .game__room {
  476. z-index: 2;
  477. margin: 0 0 5px 0;
  478. font-size: 24px;
  479. font-weight: 400;
  480. font-family: 'Poppins', sans-serif; }
  481. .game__capacity {
  482. z-index: 2;
  483. margin: 0 0 20px; }
  484. .game__players {
  485. z-index: 2;
  486. padding: 0;
  487. margin: 0; }
  488. .game__player {
  489. margin: 0 0 5px 0;
  490. list-style-position: inside; }
  491. .game__player-name {
  492. margin: 0 10px 0 0;
  493. font-weight: 700; }
  494. .game__player-ready {
  495. float: right; }
  496. .scene {
  497. z-index: 1;
  498. top: 0;
  499. left: 0; }
  500. .game__user-name,
  501. .game__user-score {
  502. text-align: center; }
  503. .game__user-name {
  504. margin: 0 0 20px 0;
  505. font-size: 32px;
  506. font-weight: 400; }
  507. .game__user-score {
  508. z-index: 2;
  509. width: auto;
  510. padding: 20px;
  511. margin: 20px 0 25px;
  512. font-size: 20px;
  513. font-weight: 700;
  514. font-family: 'Poppins', sans-serif;
  515. color: #FFF;
  516. border: 2px solid #FFF; }
  517. .game__user-score div + div {
  518. font-size: 24px; }
  519. .game__round {
  520. z-index: 2;
  521. margin: 0 0 20px 0;
  522. font-size: 24px;
  523. font-weight: 700;
  524. font-family: 'Poppins', sans-serif; }
  525. .game__phrase {
  526. flex-direction: column;
  527. align-items: center;
  528. justify-content: center;
  529. margin: 0 0 30px 0; }
  530. .game__phrase--entry,
  531. .game__phrase--clue {
  532. padding: 0 0 15px 0;
  533. padding-left: 0;
  534. font-size: 100px;
  535. font-family: 'Josefin Sans', sans-serif;
  536. vertical-align: baseline; }
  537. .game__phrase--entry {
  538. background: transparent;
  539. box-shadow: 0;
  540. text-align: right;
  541. font-weight: 300;
  542. border-bottom: 2px dashed #4286fc;
  543. color: #4286fc; }
  544. .game__phrase--entry:focus {
  545. outline: 0; }
  546. .game__phrase--entry[contenteditable="true"]:focus, .game__phrase--entry[contenteditable="true"]:active {
  547. color: #0459ed;
  548. border-bottom: 2px dashed #0459ed; }
  549. .game__phrase--clue {
  550. font-weight: 900; }
  551. .game__submit {
  552. margin: 0 0 30px;
  553. max-width: 540px; }
  554. .game__exit {
  555. text-decoration: underline; }
  556. .game__timer {
  557. z-index: 2;
  558. float: right;
  559. margin: 0 0 20px 0; }
  560. /*# sourceMappingURL=app.css.map */