boulier.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: .8em;
  15. width: 100%;
  16. background-color: grey;
  17. z-index: 0;
  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. position: relative;
  29. z-index: 1;
  30. }
  31. .red {
  32. background-color: #e53935;
  33. border-color: #e53935;
  34. }
  35. .pink {
  36. background-color: #d81b60;
  37. border-color: #d81b60;
  38. }
  39. .purple {
  40. background-color: #5e35b1;
  41. border-color: #5e35b1;
  42. }
  43. .indigo {
  44. background-color: #3949ab;
  45. border-color: #3949ab;
  46. }
  47. .blue {
  48. background-color: #039be5;
  49. border-color: #039be5;
  50. }
  51. .cyan {
  52. background-color: #00acc1;
  53. border-color: #00acc1;
  54. }
  55. .green {
  56. background-color: #43a047;
  57. border-color: #43a047;
  58. }
  59. .lime {
  60. background-color: #c0ca33;
  61. border-color: #c0ca33;
  62. }
  63. .yellow {
  64. background-color: #fdd835;
  65. border-color: #fdd835;
  66. }
  67. .amber {
  68. background-color: #ffb300;
  69. border-color: #ffb300;
  70. }
  71. .orange {
  72. background-color: #fb8c00;
  73. border-color: #fb8c00;
  74. }