cache.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /* Containers Stats*/
  2. .stats-container {
  3. display: flex;
  4. flex-wrap: wrap;
  5. justify-content: center;
  6. gap: 20px;
  7. max-width: 1100px;
  8. margin: 0 auto;
  9. }
  10. /* Styles for cards */
  11. .card {
  12. background: #ffffff;
  13. border-radius: 10px;
  14. padding: 20px;
  15. width: calc(25% - 20px); /* 4 tarjetas por fila */
  16. text-align: center;
  17. box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  18. transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  19. }
  20. .card:hover {
  21. transform: translateY(-5px);
  22. box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
  23. }
  24. /* Iconos */
  25. .card i {
  26. font-size: 32px;
  27. color: #007bff;
  28. margin-bottom: 10px;
  29. }
  30. .card h3 {
  31. font-size: 18px;
  32. color: #495057;
  33. margin-bottom: 8px;
  34. }
  35. .card p {
  36. font-size: 22px;
  37. font-weight: bold;
  38. color: #212529;
  39. }
  40. .cache-legend {
  41. margin-top: 20px;
  42. padding: 15px;
  43. background: #ffffff;
  44. border-radius: 8px;
  45. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  46. }
  47. .cache-legend h3 {
  48. color: #333;
  49. margin-bottom: 10px;
  50. }
  51. .cache-legend p {
  52. font-size: 14px;
  53. color: #555;
  54. margin-bottom: 8px;
  55. }
  56. /* Responsive */
  57. @media (max-width: 1024px) {
  58. .card {
  59. width: calc(33.33% - 20px);
  60. }
  61. }
  62. @media (max-width: 768px) {
  63. .card {
  64. width: calc(50% - 20px);
  65. }
  66. }
  67. @media (max-width: 480px) {
  68. .card {
  69. width: 100%;
  70. }
  71. }