46 lines
697 B
Plaintext
Raw Normal View History

const group-padding-y = 0.75rem
const group-padding-x = 0.75rem
2017-10-18 16:18:15 +00:00
2017-10-18 10:02:48 +00:00
.groups
2018-11-21 07:37:24 +00:00
display grid
2018-11-21 07:43:41 +00:00
grid-gap content-padding-half
2018-11-21 11:35:25 +00:00
> 600px
.groups
grid-template-columns repeat(auto-fit, 520px)
justify-content center
2017-10-18 10:02:48 +00:00
.group
2017-10-18 16:18:15 +00:00
horizontal
2017-10-18 10:02:48 +00:00
ui-element
position relative
2018-11-21 07:37:24 +00:00
// width 100%
// max-width 520px
2017-10-18 16:18:15 +00:00
padding group-padding-y group-padding-x
color text-color
:hover
2018-03-04 14:43:00 +00:00
color theme-white
background-color theme-black
text-shadow none
2017-10-18 16:18:15 +00:00
.group-info
vertical
2018-11-21 11:35:25 +00:00
overflow hidden
2017-10-18 10:02:48 +00:00
.group-name
2018-11-21 11:35:25 +00:00
// horizontal
// align-items center
clip-long-text
2017-10-18 10:02:48 +00:00
.group-tagline
opacity 0.6
2018-11-21 11:35:25 +00:00
clip-long-text
2017-10-18 10:02:48 +00:00
.group-member-count
position absolute
top 0.5rem
right 1rem
text-align right
font-size 0.8rem
opacity 0.5