120 lines
2.2 KiB
CSS
120 lines
2.2 KiB
CSS
|
|
.scoreboard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 800px;
|
|
margin: 0 auto;
|
|
background-color: #e0e0e0;
|
|
color: #333;
|
|
padding: 10px;
|
|
border: 4px solid #800080;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.timer-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
width: 120px;
|
|
height: 120px;
|
|
background-color: #fff;
|
|
border: 4px solid #800080;
|
|
border-radius: 50%;
|
|
margin: 10px;
|
|
}
|
|
|
|
.timer {
|
|
font-size: 38px;
|
|
color: #333;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.half-indicator {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #800080;
|
|
position: absolute;
|
|
bottom: 10px;
|
|
}
|
|
|
|
.border {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.team-details {
|
|
font-size: 48px;
|
|
color: white;
|
|
background-color: #000;
|
|
padding: 0px;
|
|
text-align: center;
|
|
max-height: 100px;
|
|
border-radius: 0px 0px 30px 30px;
|
|
}
|
|
|
|
.team {
|
|
flex: 1;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-radius: 10px 10px 10px 10px;
|
|
}
|
|
|
|
.team-info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.team-logo img {
|
|
max-width: 50px;
|
|
max-height: 50px;
|
|
border-radius: 50%;
|
|
background-color: #800080;
|
|
padding: 5px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.team-name {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
color: white;
|
|
margin-bottom: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.team-score {
|
|
font-size: 48px;
|
|
color: white;
|
|
background-color: #000;
|
|
padding: 10px;
|
|
text-align: center;
|
|
max-height: 100px;
|
|
border-radius: 0 0 10px 10px;
|
|
}
|
|
|
|
.score-history {
|
|
font-size: 14px;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Uckfield RFC's background color */
|
|
#home-team {
|
|
background-color: #ff0000;
|
|
}
|
|
|
|
/* Away Team's background color */
|
|
#away-team {
|
|
background-color: #0000ff;
|
|
}
|
|
|