2020-12-29 00:48:50 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Alegreya&display=swap');
|
2020-12-30 07:48:39 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@700&display=swap');
|
2020-12-29 00:48:50 +00:00
|
|
|
body {
|
|
|
|
background-image: url("prism.png");
|
|
|
|
}
|
|
|
|
/* Background pattern from Toptal Subtle Patterns */
|
|
|
|
|
|
|
|
.container {
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
display: grid;
|
2020-12-30 06:31:19 +00:00
|
|
|
grid-template-columns: repeat(3, minmax(500px, 1fr));
|
2020-12-30 03:21:47 +00:00
|
|
|
grid-template-rows: 100px 330px;
|
2020-12-29 00:48:50 +00:00
|
|
|
grid-gap: 50px 30px; /*space between rows, then columns*/
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
|
|
|
grid-auto-rows: 300px;
|
|
|
|
grid-auto-flow: row;
|
|
|
|
}
|
|
|
|
|
2020-12-30 03:21:47 +00:00
|
|
|
#title {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
2020-12-30 07:48:39 +00:00
|
|
|
.link{
|
|
|
|
position: relative;
|
|
|
|
top: 10px;
|
2020-12-29 00:48:50 +00:00
|
|
|
}
|
|
|
|
|
2020-12-30 08:08:32 +00:00
|
|
|
.h1 {
|
|
|
|
margin: auto;
|
|
|
|
width: 45%;
|
|
|
|
color: white;
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
}
|
|
|
|
|
2020-12-30 07:48:39 +00:00
|
|
|
.page_header {
|
|
|
|
color: white;
|
|
|
|
font-family: 'Goldman', cursive;
|
|
|
|
}
|
|
|
|
|
2020-12-29 00:48:50 +00:00
|
|
|
.emptyslot {
|
|
|
|
border: 2px dashed white;
|
|
|
|
border-radius: 15px;
|
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
2020-12-30 03:29:28 +00:00
|
|
|
flex: 1;
|
2020-12-29 00:48:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.game {
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
color: white;
|
2020-12-30 03:21:47 +00:00
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background: #2f3136; /*discord dark theme background-secondary - the same color as the embeds*/
|
|
|
|
border: 4px solid;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-color: rgb(113, 54, 138); /*matteo purple™*/
|
|
|
|
border-top: none;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: none;
|
2020-12-30 03:29:28 +00:00
|
|
|
flex: 1;
|
2020-12-29 00:48:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
width: 100%;
|
|
|
|
background-color: #4f545c; /*discord's background-tertiary*/
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
height: max-content;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.inning {
|
|
|
|
float: left;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather {
|
|
|
|
float: right;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body {
|
|
|
|
margin: 10px;
|
|
|
|
display: grid;
|
2020-12-30 03:57:07 +00:00
|
|
|
grid-template-columns: 60% 40%;
|
2020-12-30 03:21:47 +00:00
|
|
|
grid-template-areas:
|
2020-12-30 06:31:19 +00:00
|
|
|
"teams info"
|
2020-12-30 03:21:47 +00:00
|
|
|
"players players"
|
|
|
|
"update update";
|
|
|
|
grid-template-rows: 130px;
|
|
|
|
grid-row-gap: 10px;
|
|
|
|
grid-column-gap: 10px;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
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;
|
2020-12-30 03:29:28 +00:00
|
|
|
flex: 1;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.team {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.team_name {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: #4f545c;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
margin-left: 15%;
|
2020-12-30 03:57:07 +00:00
|
|
|
margin-right: 10px;
|
2020-12-30 03:21:47 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.batting {
|
|
|
|
font-size: 10pt;
|
|
|
|
text-align: left;
|
|
|
|
height: max-content;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
background: #4f545c; /*discord's background-accent*/
|
|
|
|
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;
|
2020-12-30 03:21:47 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
height: max-content;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.player {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2020-12-30 06:31:19 +00:00
|
|
|
max-width: 250px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player_name {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update {
|
|
|
|
grid-area: update;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update_emoji, .update_text {
|
|
|
|
display: inline
|
|
|
|
}
|
|
|
|
|
|
|
|
.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%
|
|
|
|
}
|