AllChannels {
display: flex
flex-wrap: wrap
justify-content: center
overflow: auto
padding: 10px
a.channel {
display: flex
padding: 8px 10px
font-size: 110%
margin: 4px
border-radius: 5px
position: relative
width: 200px
background-repeat: no-repeat
background-position: right
-subscribed {
background-image: svg(subscribed)
span.name {
font-weight: bold
}
border-left: 2px solid rgb(81, 192, 103)
border-top-left-radius: 0
border-bottom-left-radius: 0
}
@svg subscribed {
width: 20px
height: 12px
content: " "
}
:hover {
text-decoration: none
a {
transition: opacity 0.05s
opacity: 1
}
}
span.name {
flex: 1
white-space: nowrap
min-width: 0
overflow: hidden
text-overflow: ellipsis
}
a {
display: inline
opacity: 0
font-size: 80%
background-color: rgb(112, 112, 112)
transition: opacity 0.2s, background-color 0.4s
padding: 9px 10px
color: white
margin: -8px -10px -8px 4px
border-radius: 5px;
border-left: 2px solid rgba(255, 255, 255, 0.9)
text-decoration: none
-unsubscribe {
:hover {
background: rgb(212, 112, 112)
}
}
}
}
}