Files: 3b8af4cbe35ccf838eead48bbab57bb35ac00709 / message / html / layout / mini.mcss
1059 bytesRaw
1 | Message -mini { |
2 | font-size: .9rem |
3 | justify-content: flex-start |
4 | padding: .25rem .5rem |
5 | min-height: inherit |
6 | |
7 | display: flex |
8 | flex-wrap: wrap |
9 | |
10 | /* TODO - bring style inline with default.mcss */ |
11 | |
12 | section.timestamp { |
13 | order: 0 |
14 | position: initial |
15 | left: initial |
16 | min-width: 5.5rem |
17 | } |
18 | |
19 | header.author { |
20 | order: 1 |
21 | margin-right: .5rem |
22 | |
23 | position: initial |
24 | left: initial |
25 | top: initial |
26 | } |
27 | |
28 | |
29 | section.content { |
30 | order: 2 |
31 | flex-basis: initial |
32 | flex-grow: 1 |
33 | |
34 | cursor: pointer |
35 | margin-top: 0 |
36 | } |
37 | |
38 | section.meta { |
39 | order: 3 |
40 | |
41 | display: flex |
42 | justify-content: flex-end |
43 | align-items: center |
44 | |
45 | |
46 | i, div, a { |
47 | margin-left: .5rem |
48 | } |
49 | } |
50 | |
51 | section.raw-content { |
52 | order: 4 |
53 | margin-left: 0 |
54 | |
55 | pre { |
56 | border: 1px gainsboro solid |
57 | padding: .8rem |
58 | background-color: #f5f5f5 |
59 | color: #c121dc |
60 | padding: .3rem |
61 | white-space: pre-wrap |
62 | word-wrap: break-word |
63 | |
64 | span { |
65 | font-weight: 600 |
66 | } |
67 | a { |
68 | word-break: break-all |
69 | } |
70 | } |
71 | } |
72 | } |
73 |
Built with git-ssb-web