|
|
|
@ -69,10 +69,10 @@ nav { |
|
|
|
/* Allow items to wrap onto multiple lines */ |
|
|
|
/* Allow items to wrap onto multiple lines */ |
|
|
|
justify-content: flex-start; |
|
|
|
justify-content: flex-start; |
|
|
|
/* Align items to the start */ |
|
|
|
/* Align items to the start */ |
|
|
|
|
|
|
|
gap: 8px; /* This adds spacing between items in all directions */ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
nav a { |
|
|
|
nav a { |
|
|
|
margin-right: 6px; |
|
|
|
|
|
|
|
color: #707070; |
|
|
|
color: #707070; |
|
|
|
padding: 8px 12px; |
|
|
|
padding: 8px 12px; |
|
|
|
background-color: #fae7ce; |
|
|
|
background-color: #fae7ce; |
|
|
|
@ -866,3 +866,73 @@ h-margin { |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
|
|
|
|
|
.table-row-6-colums-tournament { |
|
|
|
|
|
|
|
grid-template-columns: 15% 15% 15% 1fr 30%; |
|
|
|
|
|
|
|
grid-template-rows: auto auto auto auto auto auto; |
|
|
|
|
|
|
|
row-gap: 6px; |
|
|
|
|
|
|
|
align-items: center; /* Ensures vertical alignment */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Tournament level cell styling */ |
|
|
|
|
|
|
|
.tournament-level-cell { |
|
|
|
|
|
|
|
display: contents; /* This removes the div as a container and places its children directly in the grid */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Make level display big and position it */ |
|
|
|
|
|
|
|
.level-display { |
|
|
|
|
|
|
|
grid-column: 1; |
|
|
|
|
|
|
|
grid-row: 1; |
|
|
|
|
|
|
|
font-size: 1.4em !important; /* Increase font size for level */ |
|
|
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Place category and age in second column */ |
|
|
|
|
|
|
|
.category-display { |
|
|
|
|
|
|
|
grid-column: 2; |
|
|
|
|
|
|
|
grid-row: 1 / span 2; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.age-display { |
|
|
|
|
|
|
|
grid-column: 2; |
|
|
|
|
|
|
|
grid-row: 1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Column 2 (club name) spans across remaining columns */ |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(2) { |
|
|
|
|
|
|
|
grid-column: 1 / span 4; |
|
|
|
|
|
|
|
grid-row: 3; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Column 3 (teams) */ |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(3) { |
|
|
|
|
|
|
|
grid-column: 3; |
|
|
|
|
|
|
|
grid-row: 1 / span 2; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Column 4 (duration) */ |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(4) { |
|
|
|
|
|
|
|
grid-column: 4; |
|
|
|
|
|
|
|
grid-row: 1 / span 2; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Column 5 (date) */ |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(5) { |
|
|
|
|
|
|
|
grid-column: 5; |
|
|
|
|
|
|
|
grid-row: 1 / span 2; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Column 6 (register) */ |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(6) { |
|
|
|
|
|
|
|
grid-column: 5; |
|
|
|
|
|
|
|
grid-row: 3; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.table-row-6-colums-tournament |
|
|
|
|
|
|
|
> div:nth-child(6):not(:last-child) |
|
|
|
|
|
|
|
~ div:nth-child(2), |
|
|
|
|
|
|
|
.table-row-6-colums-tournament > div:nth-child(2):nth-last-child(4) { |
|
|
|
|
|
|
|
grid-column: 1 / span 5; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|