tiny tweaks trying to fix wide team names not getting shortened

This commit is contained in:
Elijah Steres 2020-12-29 22:29:28 -05:00
parent 1cc38665e5
commit 53da277ee5

View File

@ -7,7 +7,7 @@ body {
.container { .container {
font-family: 'Alegreya', serif; font-family: 'Alegreya', serif;
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
grid-template-rows: 100px 330px; grid-template-rows: 100px 330px;
grid-gap: 50px 30px; /*space between rows, then columns*/ grid-gap: 50px 30px; /*space between rows, then columns*/
align-items: center; align-items: center;
@ -34,6 +34,7 @@ body {
justify-self: stretch; justify-self: stretch;
text-align: center; text-align: center;
color: white; color: white;
flex: 1;
} }
.game { .game {
@ -51,6 +52,7 @@ body {
border-top: none; border-top: none;
border-right: none; border-right: none;
border-bottom: none; border-bottom: none;
flex: 1;
} }
h2 { h2 {
@ -95,6 +97,7 @@ h2 {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
flex: 1;
} }
.team { .team {