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