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 */
|
|
|
|
|
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™*/
|
|
|
|
}
|
|
|
|
|
2021-01-01 01:19:57 +00:00
|
|
|
div, button {
|
2020-12-31 07:27:39 +00:00
|
|
|
font-family: 'Alegreya', serif;
|
2020-12-31 22:56:08 +00:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link_div {
|
2020-12-31 19:49:51 +00:00
|
|
|
text-align: right;
|
2020-12-31 07:27:39 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
2020-12-31 19:49:51 +00:00
|
|
|
right: 30px;
|
2020-12-31 07:27:39 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 22:56:08 +00:00
|
|
|
#link_div > a {
|
2020-12-31 07:27:39 +00:00
|
|
|
background-color: transparent;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-12-31 22:56:08 +00:00
|
|
|
#link_div > a:link, #link_div > a:visited {
|
2020-12-31 07:27:39 +00:00
|
|
|
color: lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
#link_div > a:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-12-29 00:48:50 +00:00
|
|
|
.container {
|
|
|
|
display: grid;
|
2020-12-30 06:31:19 +00:00
|
|
|
grid-template-columns: repeat(3, minmax(500px, 1fr));
|
2020-12-29 00:48:50 +00:00
|
|
|
grid-gap: 50px 30px; /*space between rows, then columns*/
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
2021-01-01 22:03:04 +00:00
|
|
|
grid-auto-rows: 360px;
|
2020-12-29 00:48:50 +00:00
|
|
|
grid-auto-flow: row;
|
|
|
|
}
|
|
|
|
|
2020-12-31 06:33:03 +00:00
|
|
|
#header {
|
|
|
|
width: 100%;
|
2020-12-31 22:56:08 +00:00
|
|
|
height: 150px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
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-31 22:56:08 +00:00
|
|
|
#filters {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
width: max-content;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2021-01-01 01:19:57 +00:00
|
|
|
#filters > * {
|
2020-12-31 22:56:08 +00:00
|
|
|
padding: 4px 8px;
|
|
|
|
margin: 0px 8px;
|
|
|
|
font-size: 16pt;
|
2021-01-01 01:19:57 +00:00
|
|
|
background: rgba(0,0,0,0);
|
2020-12-31 22:56:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#filters > .filter {
|
|
|
|
border-radius: 8px;
|
2021-01-01 01:19:57 +00:00
|
|
|
min-width: 100px;
|
2020-12-31 22:56:08 +00:00
|
|
|
text-align: center;
|
2021-01-01 01:19:57 +00:00
|
|
|
border: none;
|
2020-12-31 22:56:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#selected_filter {
|
|
|
|
background: rgb(113, 54, 138);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
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;
|
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;
|
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%;
|
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;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.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";
|
2021-01-01 21:24:02 +00:00
|
|
|
grid-template-rows: 90px;
|
|
|
|
grid-row-gap: 8px;
|
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%;
|
2021-01-01 22:03:04 +00:00
|
|
|
margin: 5px 0px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.team_name {
|
|
|
|
overflow: hidden;
|
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;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2020-12-31 18:41:32 +00:00
|
|
|
.leagueoruser {
|
|
|
|
font-size: 10pt;
|
|
|
|
text-align: right;
|
|
|
|
height: max-content;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
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;
|
2021-01-01 21:24:02 +00:00
|
|
|
align-items: start;
|
|
|
|
height: max-content;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player {
|
|
|
|
display: flex;
|
2021-01-01 21:24:02 +00:00
|
|
|
align-items: end;
|
2020-12-30 03:21:47 +00:00
|
|
|
width: 100%;
|
2021-01-01 21:24:02 +00:00
|
|
|
flex-direction: column;
|
2021-01-01 22:03:04 +00:00
|
|
|
margin: 5px 0px;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player_name {
|
|
|
|
overflow: hidden;
|
2021-01-01 21:24:02 +00:00
|
|
|
text-align: start;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 95%;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.update {
|
|
|
|
grid-area: update;
|
2020-12-30 23:53:15 +00:00
|
|
|
margin-right: 10px;
|
2021-01-01 22:03:04 +00:00
|
|
|
margin-top: 5px;
|
2021-01-01 21:24:02 +00:00
|
|
|
min-height: 50px;
|
2021-01-01 22:03:04 +00:00
|
|
|
height: 100%;
|
|
|
|
background: var(--background-secondary);
|
|
|
|
border-radius: 4px;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2020-12-30 03:21:47 +00:00
|
|
|
}
|
|
|
|
|
2021-01-01 21:24:02 +00:00
|
|
|
.player_type {
|
|
|
|
width: 100%;
|
|
|
|
text-align: start;
|
2021-01-01 22:03:04 +00:00
|
|
|
font-weight: bolder;
|
2021-01-01 21:24:02 +00:00
|
|
|
}
|
2020-12-31 18:41:32 +00:00
|
|
|
|
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%
|
|
|
|
}
|
2021-01-01 03:32:31 +00:00
|
|
|
|
|
|
|
@media only screen and (max-device-width: 800px) {
|
|
|
|
.container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(1, minmax(700px, 90%));
|
|
|
|
grid-template-rows: 400px;
|
|
|
|
grid-gap: 50px 30px; /*space between rows, then columns*/
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
|
|
|
grid-auto-rows: 400px;
|
|
|
|
grid-auto-flow: row;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.emptyslot {
|
|
|
|
border: none;
|
|
|
|
border-radius: 15px;
|
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.batting {
|
|
|
|
font-size: 15pt;
|
|
|
|
text-align: left;
|
|
|
|
height: max-content;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leagueoruser {
|
|
|
|
font-size: 15pt;
|
|
|
|
text-align: right;
|
|
|
|
height: max-content;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.team_name, .score {
|
|
|
|
font-size: 23px
|
|
|
|
}
|
|
|
|
|
|
|
|
.players {
|
|
|
|
font-size: 20px;
|
|
|
|
grid-area: players;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
padding-right: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update_emoji, .update_text {
|
|
|
|
display: inline;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|