(Couchor created the page Template:Match.css using a non-default content model "Sanitized CSS") |
No edit summary |
||
Line 1: | Line 1: | ||
.match { | |||
height: 100%; | |||
display: flex; | |||
justify-content: center; | |||
width: 100%; | |||
position: relative; | |||
text-align: center; | |||
} | |||
.match:hover .match-details { | |||
visibility: visible; | |||
} | |||
.match .team { | |||
display: flex; | |||
width: 100%; | |||
height: 28px; | |||
position: relative; | |||
} | |||
.bracket .match { | |||
flex-direction: column; | |||
} | |||
.match .team.reverse { | |||
flex-direction: row-reverse; | |||
} | |||
.match .teamName { | |||
width: 100%; | |||
} | |||
.match .score { | |||
width: 25px; | |||
} | |||
.match .team > div { | |||
border: 1px solid #000; | |||
} | |||
.match .match-details .team > div { | |||
border: none; | |||
} | |||
.match-details { | |||
width: 100%; | |||
position: absolute; | |||
visibility: hidden; | |||
right: 0; | |||
transform: translateX(100%) translateY(-25%); | |||
border: 1px solid #000; | |||
background-color: #fff; | |||
z-index: 1; | |||
box-shadow: 0px 0px 4px #000; | |||
} | |||
.match-details > div:not(:last-child) { | |||
border-bottom: 1px solid #000; | |||
} | |||
.match-details .details-header { | |||
display: flex; | |||
background-color: #dddcdc; | |||
/*border-bottom: 1px solid #000;*/ | |||
text-align: center; | |||
} | |||
.match-details .details-header .team:first-child { | |||
border-right: 1px solid #000; | |||
} | |||
.match-details .details-game { | |||
display: flex; | |||
width: 100%; | |||
justify-content: space-around; | |||
} | |||
.match-details .details-picks { | |||
display: flex; | |||
gap: 4px; | |||
} | |||
.match-details .details-duration { | |||
display: grid; | |||
grid-template-columns: 15px 1fr 15px; | |||
grid-gap: 4px; | |||
} |
Revision as of 21:52, 4 May 2023
.match {
height: 100%;
display: flex;
justify-content: center;
width: 100%;
position: relative;
text-align: center;
}
.match:hover .match-details {
visibility: visible;
}
.match .team {
display: flex;
width: 100%;
height: 28px;
position: relative;
}
.bracket .match {
flex-direction: column;
}
.match .team.reverse {
flex-direction: row-reverse;
}
.match .teamName {
width: 100%;
}
.match .score {
width: 25px;
}
.match .team > div {
border: 1px solid #000;
}
.match .match-details .team > div {
border: none;
}
.match-details {
width: 100%;
position: absolute;
visibility: hidden;
right: 0;
transform: translateX(100%) translateY(-25%);
border: 1px solid #000;
background-color: #fff;
z-index: 1;
box-shadow: 0px 0px 4px #000;
}
.match-details > div:not(:last-child) {
border-bottom: 1px solid #000;
}
.match-details .details-header {
display: flex;
background-color: #dddcdc;
/*border-bottom: 1px solid #000;*/
text-align: center;
}
.match-details .details-header .team:first-child {
border-right: 1px solid #000;
}
.match-details .details-game {
display: flex;
width: 100%;
justify-content: space-around;
}
.match-details .details-picks {
display: flex;
gap: 4px;
}
.match-details .details-duration {
display: grid;
grid-template-columns: 15px 1fr 15px;
grid-gap: 4px;
}