boulier.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .grid {
  2. column-gap: 0;
  3. grid-template-columns: repeat(auto-fit,minmax(0%,1fr));
  4. }
  5. .cell {
  6. position: relative;
  7. margin: 0;
  8. height: 2.6em;
  9. }
  10. .line {
  11. position: absolute;
  12. top: 50%;
  13. transform: translateY(-50%);
  14. height: .6em;
  15. width: 100%;
  16. background-color: grey;
  17. z-index: -1;
  18. }
  19. /* Boule et couleur */
  20. .ball {
  21. border-radius:50%;
  22. width: 2.5em;
  23. height: 2.5em;
  24. border:2px solid;
  25. margin-left: auto;
  26. margin-right: auto;
  27. cursor: pointer;
  28. }
  29. .red {
  30. background-color: #e53935;
  31. border-color: #e53935;
  32. }
  33. .pink {
  34. background-color: #d81b60;
  35. border-color: #d81b60;
  36. }
  37. .purple {
  38. background-color: #5e35b1;
  39. border-color: #5e35b1;
  40. }
  41. .indigo {
  42. background-color: #3949ab;
  43. border-color: #3949ab;
  44. }
  45. .blue {
  46. background-color: #039be5;
  47. border-color: #039be5;
  48. }
  49. .cyan {
  50. background-color: #00acc1;
  51. border-color: #00acc1;
  52. }
  53. .green {
  54. background-color: #43a047;
  55. border-color: #43a047;
  56. }
  57. .lime {
  58. background-color: #c0ca33;
  59. border-color: #c0ca33;
  60. }
  61. .yellow {
  62. background-color: #fdd835;
  63. border-color: #fdd835;
  64. }
  65. .amber {
  66. background-color: #ffb300;
  67. border-color: #ffb300;
  68. }
  69. .orange {
  70. background-color: #fb8c00;
  71. border-color: #fb8c00;
  72. }