Files: ce3f17d7e8e549f9803001103f9227955dd597f7 / styles / profile-list.mcss
798 bytesRaw
1 | ProfileList { |
2 | a.profile { |
3 | display: flex; |
4 | padding: 4px; |
5 | font-size: 110%; |
6 | margin: 4px 0; |
7 | background: rgba(255, 255, 255, 0.22); |
8 | border-radius: 5px; |
9 | position: relative |
10 | text-decoration: none |
11 | transition: background-color 0.2s |
12 | |
13 | background-repeat: no-repeat |
14 | background-position: right |
15 | |
16 | :hover { |
17 | background: rgba(255, 255, 255, 0.4); |
18 | } |
19 | |
20 | div.avatar { |
21 | img { |
22 | width: 40px |
23 | height: 40px |
24 | } |
25 | } |
26 | |
27 | div.main { |
28 | display: flex |
29 | flex-direction: column |
30 | flex: 1 |
31 | margin-left: 10px |
32 | justify-content: center |
33 | div.name { |
34 | font-weight: bold |
35 | font-size: 110% |
36 | color: #333 |
37 | -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0)) |
38 | } |
39 | } |
40 | } |
41 | } |
42 |
Built with git-ssb-web