1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 22:44:14 +00:00

Moved bout number to center

This commit is contained in:
2019-01-24 20:21:52 +00:00
parent 6bbb0b2e2c
commit 8eb7e9c7fa
6 changed files with 29 additions and 23 deletions

View File

@@ -5,7 +5,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -28,7 +28,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -51,7 +51,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -74,7 +74,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -86,7 +86,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -109,7 +109,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>

View File

@@ -5,7 +5,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -17,7 +17,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -41,7 +41,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -66,7 +66,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -78,7 +78,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -101,7 +101,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>

View File

@@ -5,7 +5,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -28,7 +28,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>

View File

@@ -5,7 +5,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -17,7 +17,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>
@@ -41,7 +41,7 @@
<li>&nbsp;</li> <li>&nbsp;</li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li> <li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li> <li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li> <li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li> <li>&nbsp;</li>

View File

@@ -22,7 +22,7 @@ main, ul {
ul { ul {
flex-direction:column; flex-direction:column;
width: 100px; width: 125px;
list-style:none; list-style:none;
padding:0; padding:0;
} }
@@ -53,13 +53,18 @@ li:first-child,li:last-child {
} }
.game-top + li { .game-top + li {
border-right:1px solid #aaa; min-height:30px; border-right:1px solid #aaa; min-height:60px;
} }
.bracket-winner { .bracket-winner {
border-bottom:1px solid #aaa; border-bottom:1px solid #aaa;
} }
.bout-number {
text-align: center;
padding-top: 15px;
}
.game-bottom { .game-bottom {
border-top:1px solid #aaa; border-top:1px solid #aaa;
} }

View File

@@ -9,7 +9,7 @@ main {
.round { .round {
display:flex; display:flex;
flex-direction:column; flex-direction:column;
width: 100px; width: 200px;
list-style:none; list-style:none;
padding:0; padding:0;
} }
@@ -40,11 +40,12 @@ li:first-child,li:last-child {
} }
.game-top + li { .game-top + li {
border-right:1px solid #aaa; min-height:30px; border-right:1px solid #aaa; min-height:60px;
} }
.bout-number + li { .bout-number {
valign: center; text-align: center;
padding-top: 20px;
} }
.bracket-winner { .bracket-winner {
border-bottom:1px solid #aaa; border-bottom:1px solid #aaa;