#club-page-body { display: flex; flex-direction: column; width: 100%; padding: 10px 100px; } /* ================================= LEAGUE INFORMATION HEADER ================================= */ #club-header-container { height: 100px; width: fit-content; margin: 20px; background: linear-gradient(to right, white, rgb(245, 245, 245), rgb(227, 227, 227)); /* Gradient from white to gray */ padding: 10px 20px; /* Adjust padding as needed */ transform: skewX(-20deg); /* Skew the banner to create a triangular side */ cursor: pointer; /* Change cursor to pointer on hover */ box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4); display: flex; /* Use flexbox for layout */ align-items: center; /* Center content vertically */ } /* =========================== LEAGUE INFORMATION CHILD ITEMS =========================== */ /* Adds Red Diagonal Strip at the end of the #club-information-container */ #club-header-container::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 8px; /* Width of the red strip */ background-color: red; /* Red color */ } /* Styling for League Logo in Club Information Header */ #club-logo { margin: 0px 30px; transform: skewX(20deg); /* Skew the banner to create a triangular side */ height: 80%; } /* Styling for League Title in Club Information Header */ #club-title { transform: skewX(20deg); /* Skew the banner to create a triangular side */ margin-right: 20px; } /* Styling for FLag in Club Information Header */ #club-flag { transform: skewX(20deg); /* Skew the banner to create a triangular side */ height: 20px; margin-right: 200px; } /* ============================================= CARDS IN PAGE BODY ============================================= */ #club-page-contents-container { display: flex; flex-direction: row; } /* Styling for Standings and Top Scorers Cards */ .card-container { /* --- POSITION CONTAINER --- */ margin: 0 10px; margin-bottom: 20px; /* --- SIZE CONTAINER --- */ padding: 15px; /* --- STYLE CONTAINER --- */ background: linear-gradient(to top, rgb(216, 216, 216), rgb(236, 236, 236), rgb(241, 240, 240)); border: 1px solid gray; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5); }