style.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. background-color: rgb(105, 179, 179);
  6. display: flex;
  7. justify-content: center;
  8. align-items: center;
  9. margin: 0;
  10. min-height: 100vh;
  11. }
  12. #knopka {
  13. width: 70px;
  14. }
  15. .container, .container2 {
  16. background-color: #2c3e50;
  17. height: 200px;
  18. width: 70px;
  19. border-radius: 50px;
  20. display: flex;
  21. justify-content: space-between;
  22. align-items:center;
  23. padding: 15px 0;
  24. flex-direction: column;
  25. margin: 20px 0;
  26. }
  27. .container2 {
  28. height: 140px;
  29. }
  30. .circleRed {
  31. background-color: rgb(0, 0, 0, 0.3);
  32. width: 40px;
  33. height: 40px;
  34. border-radius: 50%;
  35. }
  36. .circleRed.active {
  37. background-color: red;
  38. box-shadow: 0 0 25px red;
  39. }
  40. .circleYellow{
  41. background-color: rgb(0, 0, 0, 0.3);
  42. width: 40px;
  43. height: 40px;
  44. border-radius: 50%;
  45. }
  46. .circleYellow.active {
  47. background-color: yellow;
  48. box-shadow: 0 0 25px yellow;
  49. }
  50. .circleGreen {
  51. background-color: rgb(0, 0, 0, 0.3);
  52. width: 40px;
  53. height: 40px;
  54. border-radius: 50%;
  55. }
  56. .circleGreen.active {
  57. background-color: green;
  58. box-shadow: 0 0 25px green;
  59. }