app/assets/stylesheets/leagues.sass
#match-comms
.comm
border-bottom: 1px solid $border-color
.card-header
padding: 0.3rem
border-bottom: 0
.card-body
padding: 1rem
.footer
font-size: 0.8rem
border-top: 1px solid $border-color
.created-at
opacity: 0.6
.edited-at
opacity: 0.4
font-style: italic
.actions
.action
color: inherit
cursor: pointer
text-decoration: none
.comm-deleted
background: #f8d7da
border-bottom: 1px solid $border-color
.card-header
padding: 0.3rem
border-bottom: 0
table.matches-table
background: #ffffff
margin-bottom: 0
th
border-top: none
&.home-team
text-align: right
&.vs
text-align: center
&.away-team
text-align: left
td
&.name
width: 4%
font-size: 0.8rem
&.home-team
width: 45%
text-align: right
&.vs
width: 2%
&.away-team
width: 45%
text-align: left
&.match-page
width: 4%
font-size: 0.8rem
.round
$pill-size: 1.4rem
$font-size: 0.85rem
display: flex
flex-flow: row nowrap
white-space: nowrap
background: #d9d9d9
text-align: center
color: #6c757c
border-radius: 1rem
margin: 2px auto
font-size: $font-size
line-height: $pill-size
width: min-content
.score
width: $pill-size
height: $pill-size
border-radius: 50%
&.won
font-weight: bold
color: #ffffff
background: #89c789
.separator
padding: 0 0.3rem
.roster-round
$pill-size: 1.4rem
$font-size: 0.85rem
display: flex
flex-flow: row nowrap
white-space: nowrap
height: $pill-size
line-height: $pill-size
font-size: $font-size
font-weight: bold
letter-spacing: 2px
padding-left: calc(#{$pill-size * 0.5} + 2px) // Account for letter-spacing
padding-right: $pill-size * 0.5
color: #ffffff
border-radius: 1rem
margin: 2px 0
&.won
background: #89c789
&.loss
background: #f16161
&.tied
background: #c1c1c1