|
Tags: Blanking Manual revert |
(24 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| .stat-infobox {
| |
| width: 175px;
| |
| min-height: 150px; /* Set minimum height instead of fixed height */
| |
| background-color: #f0f0f0;
| |
| border-radius: 10px;
| |
| text-align: center;
| |
| position: relative;
| |
| display: flex;
| |
| flex-direction: column;
| |
| justify-content: center;
| |
| align-items: center;
| |
| transition: width 0.3s ease;
| |
| margin-bottom: 10px;
| |
| }
| |
|
| |
|
| .stat-infobox-hover {
| |
| display: block;
| |
| position: relative; /* Adjusted from absolute to relative to follow normal flow */
| |
| width: 100%; /* Ensures the table inside fills the width of the infobox */
| |
| background-color: #fff;
| |
| border: 1px solid #ccc;
| |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
| |
| padding: 10px;
| |
| border-radius: 15px;
| |
| opacity: 1;
| |
| }
| |
|
| |
| .stat-infobox-table {
| |
| width: 100%;
| |
| border-collapse: separate;
| |
| margin-top: 10px;
| |
| overflow: hidden; /* Ensure the table doesn't overflow */
| |
| }
| |