Files: a48b8e932c4ae4ce8ffaf7d73f6a8ab26057700c / modules_basic / message / render.mcss
1103 bytesRaw
1 | Message { |
2 | padding: 1rem .5rem 1rem 7.5rem |
3 | border-top: solid 1px gainsboro |
4 | min-height: 5rem |
5 | |
6 | position: relative |
7 | display: flex |
8 | flex-direction: row |
9 | flex-wrap: wrap |
10 | justify-content: flex-end |
11 | |
12 | header.author { |
13 | position: absolute |
14 | left: .5rem |
15 | } |
16 | |
17 | section.title { |
18 | flex-grow: 1 |
19 | font-size: .9rem |
20 | } |
21 | |
22 | section.meta { |
23 | display: flex |
24 | a { |
25 | margin-left: .2rem |
26 | $textSubtle |
27 | } |
28 | |
29 | input{ |
30 | margin-right: 0 |
31 | order: 99 |
32 | } |
33 | } |
34 | |
35 | section.content { |
36 | flex-basis: 100% |
37 | |
38 | (img) { |
39 | max-width: 100% |
40 | } |
41 | } |
42 | |
43 | section.action { |
44 | flex-basis: 100% |
45 | display: flex |
46 | justify-content: flex-end |
47 | |
48 | font-size: .9rem |
49 | a { |
50 | margin-left: .5em |
51 | } |
52 | } |
53 | |
54 | footer.backlinks { |
55 | flex-basis: 100% |
56 | } |
57 | |
58 | |
59 | -mini { |
60 | font-size: .9rem |
61 | justify-content: flex-start |
62 | padding: .25rem .5rem |
63 | min-height: inherit |
64 | |
65 | header.author { |
66 | order: 0 |
67 | position: initial |
68 | left: initial |
69 | } |
70 | |
71 | section.content { |
72 | order: 1 |
73 | flex-basis: initial |
74 | flex-grow: 1 |
75 | } |
76 | |
77 | section.meta { |
78 | order: 2 |
79 | } |
80 | } |
81 | } |
82 |
Built with git-ssb-web