CSS styling that rearranges containers added to club page

This commit is contained in:
Lucas Patenaude
2024-04-15 19:06:04 -06:00
parent 335f7ef403
commit c71866cceb
2 changed files with 102 additions and 111 deletions

View File

@@ -1,27 +1,6 @@
#club-page-body { #club-page-body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%;
}
#club-page-body {
padding: 50px;
}
#club-crest {
text-align: center;
}
#club-area-flag-row {
text-align: center;
}
#club-area-flag {
width : 150px;
}
#club-players-container {
padding: 30px;
} }
#club-information-container { #club-information-container {
@@ -40,6 +19,17 @@
/* Add any other styling you need for the club information container */ /* Add any other styling you need for the club information container */
} }
#club-page-contents-container {
display: flex;
flex-direction: row;
}
#club-players-container {
}
#club-information-container::after { #club-information-container::after {
content: ''; content: '';
position: absolute; position: absolute;

View File

@@ -7,6 +7,8 @@
<img id="league-flag" src="{{club.area.club_flag}}" alt="{{club.name}} Flag"> <img id="league-flag" src="{{club.area.club_flag}}" alt="{{club.name}} Flag">
</div> </div>
<div id="club-page-contents-container" class="information-container">
<!-- Container on Left Side containing Club History --> <!-- Container on Left Side containing Club History -->
<div id="club-history-container" class="information-container"> <div id="club-history-container" class="information-container">
@@ -16,7 +18,6 @@
<h2>Information</h2> <h2>Information</h2>
<!-- Club Information --> <!-- Club Information -->
<ul id="scorers-list"></ul>
<table id="club-information-table" class="table"> <table id="club-information-table" class="table">
<tbody> <tbody>
@@ -58,7 +59,6 @@
<h2>Competitions</h2> <h2>Competitions</h2>
<ul id="competitions-list"></ul>
<table id="players-table" class="table"> <table id="players-table" class="table">
<thead> <thead>
<tr> <tr>
@@ -86,7 +86,6 @@
<h2>Players</h2> <h2>Players</h2>
<ul id="players-list"></ul>
<table id="players-table" class="table"> <table id="players-table" class="table">
<thead> <thead>
<tr> <tr>
@@ -114,6 +113,8 @@
</div> </div>
</div>