Files: 7c22ec2ce201b04fa7c787e4f7833eb28065327b / modules_basic / message / render.mcss
1360 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 | align-items: center |
24 | * { |
25 | margin-left: .4rem |
26 | } |
27 | |
28 | a { |
29 | $textSubtle |
30 | } |
31 | } |
32 | |
33 | section.content { |
34 | flex-basis: 100% |
35 | |
36 | (img) { |
37 | max-width: 100% |
38 | } |
39 | } |
40 | |
41 | section.raw-content { |
42 | margin-left: -7rem |
43 | flex-basis: 130% |
44 | pre { |
45 | border: 1px gainsboro solid |
46 | padding: .8rem |
47 | |
48 | span { |
49 | font-weight: 600 |
50 | } |
51 | a { |
52 | word-break: break-all |
53 | } |
54 | } |
55 | } |
56 | |
57 | section.action { |
58 | flex-basis: 100% |
59 | display: flex |
60 | justify-content: flex-end |
61 | |
62 | font-size: .9rem |
63 | a { |
64 | margin-left: .5em |
65 | } |
66 | } |
67 | |
68 | footer.backlinks { |
69 | flex-basis: 100% |
70 | } |
71 | |
72 | |
73 | -mini { |
74 | font-size: .9rem |
75 | justify-content: flex-start |
76 | padding: .25rem .5rem |
77 | min-height: inherit |
78 | |
79 | header.author { |
80 | order: 0 |
81 | position: initial |
82 | left: initial |
83 | } |
84 | |
85 | section.content { |
86 | order: 1 |
87 | flex-basis: initial |
88 | flex-grow: 1 |
89 | } |
90 | |
91 | section.meta { |
92 | order: 2 |
93 | } |
94 | |
95 | section.raw-content { |
96 | order: 3 |
97 | margin-left: 0 |
98 | } |
99 | } |
100 | } |
101 |
Built with git-ssb-web