forked from lucaspatenaude/ScoreSpot
CSS arrangement updated. More comments added to .hbs and .css files
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#club-history-container {
|
||||
width: 20%;
|
||||
}
|
||||
@@ -3,6 +3,12 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/*
|
||||
=================================
|
||||
LEAGUE INFORMATION HEADER
|
||||
=================================
|
||||
*/
|
||||
|
||||
#club-information-container {
|
||||
height: 100px;
|
||||
width: fit-content;
|
||||
@@ -15,31 +21,73 @@
|
||||
|
||||
display: flex; /* Use flexbox for layout */
|
||||
align-items: center; /* Center content vertically */
|
||||
|
||||
/* Add any other styling you need for the club information container */
|
||||
}
|
||||
|
||||
#club-information-container::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 8px; /* Width of the red strip */
|
||||
background-color: red; /* Red color */
|
||||
}
|
||||
/*
|
||||
===========================
|
||||
LEAGUE INFORMATION CHILD ITEMS
|
||||
===========================
|
||||
*/
|
||||
|
||||
/* Adds Red Diagonal Strip at the end of the #club-information-container */
|
||||
#club-information-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;
|
||||
}
|
||||
|
||||
#club-history-container {
|
||||
width: 20%;
|
||||
}
|
||||
/* Styling for Standings and Top Scorers Cards */
|
||||
#club-history-container, #club-stats-and-players-container
|
||||
{
|
||||
/* --- POSITION CONTAINER --- */
|
||||
margin: 0 10px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
#club-stats-and-players-container {
|
||||
width: 80%;
|
||||
/* --- 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);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,3 +98,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#club-stats-and-players-container {
|
||||
width: 80%;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/*
|
||||
#club-top-scorers-container {
|
||||
flex: 1;
|
||||
background-color: #dcdcdc; /* Example background color */
|
||||
width: 40%;
|
||||
/* Add any other styling you need for the top scorers container */
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user