Ein Projekt das es ermöglicht Beerpong über das Internet von zwei unabhängigen positionen aus zu spielen. Entstehung im Rahmen einer Praktikumsaufgabe im Fach Interaktion.
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.

style.css 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @font-face {
  2. font-family: 'Lato';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: local('Lato Regular'), local('Lato-Regular'), url(Lato.woff2) format('woff2');
  6. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
  7. }
  8. @font-face {
  9. font-family: 'Quicksand';
  10. font-style: normal;
  11. font-weight: 400;
  12. src: local('Quicksand'), local('Quicksand'), url(Quicksand.woff2) format('woff2');
  13. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
  14. }
  15. ::selection {
  16. background: transparent;
  17. }
  18. body {
  19. background: #A5DAD2;
  20. font-family: Quicksand, san-serif;
  21. }
  22. .bgWhite {
  23. background: #F5F2F5;
  24. }
  25. .colorWhite {
  26. color: #F5F2F5 !important;
  27. }
  28. .bgDark {
  29. background: #516D66;
  30. }
  31. .colorDark {
  32. color: #516D66;
  33. }
  34. .bgRed {
  35. background: #F286A0;
  36. }
  37. .colorRed {
  38. color: #F286A0 !important;
  39. }
  40. .gameBoard, .scoreBoard {
  41. font-weight: 400;
  42. }
  43. .gameBoard {
  44. width: 100%;
  45. }
  46. .gameBoard td {
  47. text-align: center;
  48. color: #516D66;
  49. font-size: 8em;
  50. cursor: pointer;
  51. transition: all 0.5s;
  52. }
  53. .gameCell {
  54. width: 181px;
  55. height: 181px;
  56. }
  57. .gameCell:not(.marked):hover {
  58. box-shadow: 0 0 42px #555;
  59. }
  60. .gameBoard td.gameCell.notActive:hover, .gameBoard td.gameCell.notActive:active {
  61. box-shadow: none !important;
  62. cursor: default;
  63. }
  64. .scoreBoard {
  65. color: #516D66;
  66. height: 100px;
  67. }
  68. .boardCol {
  69. width: 5px;
  70. cursor: default !important;
  71. }
  72. .boardRow {
  73. height: 5px;
  74. cursor: default !important;
  75. }
  76. .scoreBoard span.active {
  77. border-bottom: 4px solid #F286A0;
  78. }