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.

140 lines
2.3 KiB

  1. @import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600;700&display=swap');
  2. *{
  3. font-family: 'Cabin', sans-serif;
  4. font-size: large;
  5. color: white;
  6. }
  7. body
  8. {
  9. overflow: hidden;
  10. background-image: url('../img/Bg.png');
  11. background-size: cover;
  12. }
  13. /* ### Stapel-"Karte ziehen" ### */
  14. .stack-draw
  15. {
  16. max-width: 25vh;
  17. min-width: 20vh;
  18. position: absolute;
  19. top: 47vh;
  20. right: min(90%, (53% + 10vh));
  21. transform: translate(50%, -50%);
  22. }
  23. /* ### Stapel-"Karte legen" ### */
  24. .stack-put
  25. {
  26. max-width: 25vh;
  27. min-width: 20vh;
  28. position: absolute;
  29. top: 47vh;
  30. left: min(90%, (53% + 10vh));
  31. transform: translate(-50%, -50%);
  32. }
  33. #first-put-anim
  34. {
  35. top: 30vh;
  36. opacity: 0;
  37. }
  38. #first-put
  39. {
  40. opacity: 0;
  41. }
  42. .playerDeck{
  43. display: flex;
  44. justify-content: center;
  45. position: absolute;
  46. bottom: 0;
  47. left: 0;
  48. width: 100%;
  49. height: 30%;
  50. }
  51. .pictureCard
  52. {
  53. position: absolute;
  54. width: 8vw;
  55. box-shadow: 3px 3px rgba(0, 0, 0, 0.2);
  56. background-color: rgb(0, 0, 0);
  57. border: 0.2vw solid black;
  58. border-radius: 1.5vw;
  59. transition: top 0.5s, width 0.5s, transform 0.5s, left 0.5s, opacity 0.5s;
  60. }
  61. .pictureCard img{
  62. width: 100%;
  63. }
  64. #sayUno{
  65. position: absolute;
  66. bottom: 0vh;
  67. left: 3vh;
  68. width: 100%;
  69. opacity: 0;
  70. }
  71. .uno{
  72. position: absolute;
  73. bottom: 10.5vw;
  74. left: 11vw;
  75. width: 25vw;
  76. transition: width ease-in-out 0.5s;
  77. transform: translate(-50%, 50%);
  78. }
  79. #sayUno-glow{
  80. opacity: 0.3;
  81. transition: width ease-in-out 0.5s, opacity 0.5s;
  82. }
  83. .selectColor {
  84. display: flex;
  85. align-items: center;
  86. opacity: 0;
  87. }
  88. .cc{
  89. position: absolute;
  90. width: 10vw;
  91. z-index: 1000;
  92. }
  93. #cc-blue{
  94. top: 20vw;
  95. left: 50vw;
  96. transition: top 0.5s, left 0.5s;
  97. }
  98. #cc-green{
  99. top: 20vw;
  100. right: 50vw;
  101. transition: top 0.5s, right 0.5s;
  102. }
  103. #cc-yellow{
  104. top: 10vw;
  105. right: 50vw;
  106. transition: top 0.5s, right 0.5s;
  107. }
  108. #cc-red{
  109. top: 10vw;
  110. left: 50vw;
  111. transition: top 0.5s, left 0.5s;
  112. }
  113. #cc-blue:hover{
  114. top: calc(20vw + 15px);
  115. left: calc(50vw + 15px);
  116. }
  117. #cc-red:hover{
  118. top: calc(10vw - 15px);
  119. left: calc(50vw + 15px);
  120. }
  121. #cc-yellow:hover{
  122. top: calc(10vw - 15px);
  123. right: calc(50vw + 15px);
  124. }
  125. #cc-green:hover{
  126. top: calc(20vw + 15px);
  127. right: calc(50vw + 15px);
  128. }