2024-04-09 21:36:32 -06:00
|
|
|
/* Container for all page contents */
|
|
|
|
|
#page-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center; /* Center the content horizontally */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styling for text at top of the page */
|
|
|
|
|
#leagues-header {
|
2024-04-09 23:49:45 -06:00
|
|
|
font-family: 'Scottsdale-Italic';
|
2024-04-09 21:36:32 -06:00
|
|
|
display: inline-block; /* Ensure the width is based on content */
|
|
|
|
|
border-bottom: 1.5px solid #999696; /* Adjust the color and thickness as needed */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Position cards in the center of the screen */
|
|
|
|
|
#card-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Stylize League Cards */
|
|
|
|
|
#league-card {
|
2024-04-09 16:25:38 -06:00
|
|
|
width: 500px; /* Set width of the banner to 100% of viewport width */
|
|
|
|
|
height: 150px;
|
2024-04-09 21:36:32 -06:00
|
|
|
margin: 20px;
|
|
|
|
|
text-align: center; /* Center the content horizontally */
|
2024-04-09 16:25:38 -06:00
|
|
|
background: linear-gradient(to right, white, rgb(245, 245, 245), rgb(227, 227, 227)); /* Gradient from white to gray */
|
|
|
|
|
padding: 10px; /* Adjust padding as needed */
|
|
|
|
|
position: relative; /* Needed for absolute positioning */
|
|
|
|
|
overflow: hidden; /* Hide the overflowing skewed content */
|
|
|
|
|
transform: skewX(-20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for smooth transformation and box-shadow */
|
|
|
|
|
cursor: pointer; /* Change cursor to pointer on hover */
|
2024-04-09 21:36:32 -06:00
|
|
|
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
|
|
|
|
|
|
2024-04-11 06:59:14 -06:00
|
|
|
display: flex; /* Use flexbox for layout */
|
|
|
|
|
justify-content: center; /* Center content horizontally */
|
|
|
|
|
align-items: center; /* Center content vertically */
|
2024-04-09 16:25:38 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-11 06:59:14 -06:00
|
|
|
/* Counter skew contents to keep inner content straight*/
|
|
|
|
|
#card-contents {
|
|
|
|
|
display: flex; /* Use flexbox for layout */
|
|
|
|
|
align-items: center; /* Align items vertically */
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-04-09 21:36:32 -06:00
|
|
|
#league-card:hover {
|
2024-04-09 16:25:38 -06:00
|
|
|
transform: skewX(-20deg) scale(1.05); /* Increase scale on hover to make it pop */
|
|
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Add box-shadow on hover for depth effect */
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-09 21:36:32 -06:00
|
|
|
#league-card::after {
|
2024-04-09 16:25:38 -06:00
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 1%; /* Width of the red strip */
|
|
|
|
|
background-color: red; /* Red color */
|
2024-04-09 21:36:32 -06:00
|
|
|
}
|
2024-04-11 06:59:14 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#logo {
|
|
|
|
|
width: 30%; /* Set width for logo */
|
|
|
|
|
max-height: 100px;
|
2024-04-11 07:02:22 -06:00
|
|
|
max-width: 100px;
|
|
|
|
|
margin-right: 20px;
|
2024-04-11 06:59:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title-wrapper {
|
|
|
|
|
width: 70%; /* Set width for title wrapper */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#title-logo {
|
|
|
|
|
max-height: 80px;
|
2024-04-11 07:02:22 -06:00
|
|
|
max-width: 250px;
|
2024-04-11 06:59:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|