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 */
|
|
|
|
|
2020-12-31 07:27:39 +00:00
|
|
|
#link_div {
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link_div > a:link {
|
|
|
|
color: lightblue;
|
|
|
|
background-color: transparent;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link_div > a:visited {
|
|
|
|
color: lightblue;
|
|
|
|
background-color: transparent;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link_div > a:hover {
|
|
|
|
color: white;
|
|
|
|
background-color: transparent;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-12-29 00:48:50 +00:00
|
|
|
.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-31 06:33:03 +00:00
|
|
|
grid-template-rows: 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-31 06:33:03 +00:00
|
|
|
#header {
|
|
|
|
width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
margin-bottom: 50px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 06:33:03 +00:00
|
|
|
#header > .page_header {
|
2020-12-30 09:16:41 +00:00
|
|
|
margin: auto
|
|
|
|
}
|
|
|
|
|
2020-12-30 20:10:29 +00:00
|
|
|
#footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 75px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer > div {
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
font-family: 'Alegreya', serif;
|
|
|
|
font-size: 20px;
|
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
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;
|
2020-12-30 09:16:41 +00:00
|
|
|
margin-left: 8px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.weather {
|
|
|
|
float: right;
|
|
|
|
margin: 5px;
|
2020-12-30 09:16:41 +00:00
|
|
|
margin-right: 8px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 23:53:15 +00:00
|
|
|
"teams info" "players info" "update update";
|
|
|
|
grid-template-rows: 100px;
|
|
|
|
grid-row-gap: 14px;
|
2020-12-30 03:21:47 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2020-12-30 23:53:15 +00:00
|
|
|
justify-content: space-around;
|
2020-12-30 03:21:47 +00:00
|
|
|
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;
|
2020-12-30 23:53:15 +00:00
|
|
|
justify-content: space-around;
|
2020-12-30 03:21:47 +00:00
|
|
|
align-items: center;
|
2020-12-30 23:53:15 +00:00
|
|
|
height: 100%;
|
2020-12-30 23:57:06 +00:00
|
|
|
padding-right: 50px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2020-12-30 23:53:15 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
margin-top: 10px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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%
|
|
|
|
}
|