2020-12-29 00:48:50 +00:00
|
|
|
|
2021-01-01 22:03:04 +00:00
|
|
|
:root {
|
|
|
|
--background-main: #2f3136; /*discord dark theme background-secondary - the same color as the embeds*/
|
|
|
|
--background-secondary: #4f545c; /*discord's background-tertiary*/
|
|
|
|
--background-accent: #4f545c; /*discord's background-accent*/
|
|
|
|
--highlight: rgb(113, 54, 138); /*matteo purple™*/
|
|
|
|
}
|
|
|
|
|
2020-12-29 00:48:50 +00:00
|
|
|
.game {
|
2020-12-30 03:21:47 +00:00
|
|
|
align-self: stretch;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-01-01 22:03:04 +00:00
|
|
|
background:var(--background-main);
|
2020-12-30 03:21:47 +00:00
|
|
|
border: 4px solid;
|
|
|
|
border-radius: 4px;
|
2021-01-01 22:03:04 +00:00
|
|
|
border-color: var(--highlight);
|
2020-12-30 03:21:47 +00:00
|
|
|
border-top: none;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: none;
|
2021-01-04 22:57:13 +00:00
|
|
|
height: min-content;
|
2021-01-05 05:51:23 +00:00
|
|
|
<<<<<<< HEAD
|
2021-01-05 05:26:33 +00:00
|
|
|
width: 100%;
|
|
|
|
min-width: 32rem;
|
|
|
|
max-width: 44rem;
|
2021-01-05 05:51:23 +00:00
|
|
|
=======
|
2021-01-05 03:55:53 +00:00
|
|
|
min-width: 500px;
|
2021-01-05 05:51:23 +00:00
|
|
|
>>>>>>> upstream/indev
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
width: 100%;
|
2021-01-01 22:03:04 +00:00
|
|
|
background-color: var(--background-secondary);
|
2020-12-30 03:21:47 +00:00
|
|
|
border-top-right-radius: 4px;
|
|
|
|
height: max-content;
|
2021-01-03 20:09:31 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2021-01-03 20:09:31 +00:00
|
|
|
.header > div {
|
|
|
|
margin: 0.3rem 0.5rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
2021-01-03 20:09:31 +00:00
|
|
|
margin: 0.5rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
display: grid;
|
2021-01-03 20:09:31 +00:00
|
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
2020-12-30 03:21:47 +00:00
|
|
|
grid-template-areas:
|
2021-01-03 20:09:31 +00:00
|
|
|
"teams teams info" "players players info" "update update update";
|
2021-01-04 22:57:13 +00:00
|
|
|
grid-template-rows: minmax(5.75rem, min-content) minmax(4rem, min-content) minmax(4rem, min-content);
|
2021-01-03 20:09:31 +00:00
|
|
|
grid-row-gap: 0.5rem;
|
|
|
|
grid-column-gap: 0.75rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2020-12-30 06:31:19 +00:00
|
|
|
.teams {
|
|
|
|
grid-area: teams;
|
2020-12-30 03:21:47 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
2021-01-03 02:41:00 +00:00
|
|
|
min-width: 95%;
|
|
|
|
max-width: 100%;
|
|
|
|
width: min-content;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.team {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2021-01-03 20:09:31 +00:00
|
|
|
margin: 0.25rem 0rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.team_name {
|
|
|
|
overflow: hidden;
|
2021-01-02 00:37:55 +00:00
|
|
|
text-overflow: ellipsis;
|
2021-01-01 21:24:02 +00:00
|
|
|
white-space: nowrap;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
2020-12-30 06:31:19 +00:00
|
|
|
grid-area: info;
|
2020-12-30 03:21:47 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2020-12-30 23:53:15 +00:00
|
|
|
justify-content: space-around;
|
2020-12-30 03:21:47 +00:00
|
|
|
background: #4f545c;
|
2021-01-03 20:09:31 +00:00
|
|
|
padding: 0.75rem 0rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.batting {
|
|
|
|
font-size: 10pt;
|
|
|
|
text-align: left;
|
|
|
|
height: max-content;
|
2021-01-03 20:09:31 +00:00
|
|
|
margin: 0.3rem 0.5rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 18:41:32 +00:00
|
|
|
.leagueoruser {
|
|
|
|
font-size: 10pt;
|
|
|
|
text-align: right;
|
|
|
|
height: max-content;
|
2021-01-03 20:09:31 +00:00
|
|
|
margin: 0.3rem 0.5rem;
|
2020-12-31 18:41:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2020-12-30 03:21:47 +00:00
|
|
|
.outs {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outs_title {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outs_count {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.out {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.team_name, .score {
|
|
|
|
font-size: 25px
|
|
|
|
}
|
|
|
|
|
|
|
|
.score {
|
2021-01-01 22:03:04 +00:00
|
|
|
background: var(--background-accent);
|
2020-12-30 03:21:47 +00:00
|
|
|
width: 40px;
|
2020-12-30 03:57:07 +00:00
|
|
|
min-width: 40px;
|
2020-12-30 03:21:47 +00:00
|
|
|
height: 40px;
|
|
|
|
border-radius: 20px;
|
2020-12-30 03:57:07 +00:00
|
|
|
margin-left: 10px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.players {
|
2020-12-30 06:31:19 +00:00
|
|
|
grid-area: players;
|
2021-01-03 20:09:31 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
grid-column-gap: 0.5rem;
|
|
|
|
margin-left: 0.3rem;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2021-01-03 20:09:31 +00:00
|
|
|
.players > div {
|
|
|
|
margin: 0.25rem 0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.player_type {
|
|
|
|
text-align: end;
|
|
|
|
font-weight: bolder;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player_name {
|
|
|
|
overflow: hidden;
|
2021-01-02 00:37:55 +00:00
|
|
|
text-overflow: ellipsis;
|
2021-01-01 21:24:02 +00:00
|
|
|
text-align: start;
|
|
|
|
white-space: nowrap;
|
2021-01-03 20:09:31 +00:00
|
|
|
width: 100%;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.update {
|
|
|
|
grid-area: update;
|
2021-01-03 20:09:31 +00:00
|
|
|
min-height: 3.5rem;
|
|
|
|
padding: 0rem 0.75rem;
|
2021-01-01 22:03:04 +00:00
|
|
|
height: 100%;
|
|
|
|
background: var(--background-secondary);
|
|
|
|
border-radius: 4px;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-01-02 00:37:55 +00:00
|
|
|
justify-content: start;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2021-01-02 00:37:55 +00:00
|
|
|
.update_emoji {
|
2021-01-03 20:09:31 +00:00
|
|
|
margin-right: 0.75rem;
|
2021-01-02 01:06:33 +00:00
|
|
|
margin-left: 2px;
|
2021-01-02 00:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.update_text {
|
|
|
|
text-align: start;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.field {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2020-12-30 06:31:19 +00:00
|
|
|
.base {
|
2020-12-30 03:21:47 +00:00
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
2020-12-30 06:31:19 +00:00
|
|
|
.base_2 {
|
2020-12-30 03:21:47 +00:00
|
|
|
margin-bottom: -25%
|
|
|
|
}
|
2021-01-01 03:32:31 +00:00
|
|
|
|
|
|
|
@media only screen and (max-device-width: 800px) {
|
2021-01-04 22:57:13 +00:00
|
|
|
.game {
|
2021-01-01 03:32:31 +00:00
|
|
|
font-size: 15pt;
|
|
|
|
}
|
|
|
|
|
2021-01-04 22:57:13 +00:00
|
|
|
.batting, .leagueoruser {
|
|
|
|
font-size: 14pt;
|
|
|
|
padding: 3px;
|
2021-01-01 03:32:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.team_name, .score {
|
2021-01-04 22:57:13 +00:00
|
|
|
font-size: 25px
|
2021-01-01 03:32:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.players {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update_emoji, .update_text {
|
|
|
|
display: inline;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|