Files: 3451510316992d414ec76ba5b29681fe359b7428 / styles / base / profile-preview.mcss
1010 bytesRaw
1 | ProfilePreview { |
2 | box-shadow: 0 0 10px rgba(0,0,0,0.3) |
3 | z-index: 1 |
4 | position: absolute |
5 | width: 500px |
6 | border-radius: 5px |
7 | section { |
8 | color: white |
9 | padding: 5px |
10 | code { |
11 | user-select: text |
12 | word-break: break-all |
13 | } |
14 | a { |
15 | color: white |
16 | } |
17 | -distanceWarning { |
18 | color: white |
19 | } |
20 | } |
21 | header { |
22 | display: flex |
23 | div.image { |
24 | margin: 5px |
25 | img { |
26 | width: 50px |
27 | height: 50px |
28 | } |
29 | } |
30 | div.main { |
31 | min-width: 0 |
32 | flex: 1 |
33 | margin: 5px |
34 | div.title { |
35 | display: flex |
36 | h1 { |
37 | flex: 1 |
38 | margin: 0 |
39 | margin-bottom: 3px |
40 | } |
41 | div.meta { |
42 | a { |
43 | margin-left: 5px |
44 | display: inline-block |
45 | } |
46 | } |
47 | } |
48 | section { |
49 | pre { |
50 | text-overflow: ellipsis |
51 | overflow: hidden |
52 | color: #b3b3b3 |
53 | margin: 2px 0 |
54 | font-size: 110% |
55 | -webkit-user-select: text |
56 | } |
57 | } |
58 | } |
59 | } |
60 | } |
61 |
Built with git-ssb-web