Files: c8ebe98ed356a8b95e516ca561f755e05ed43156 / book / html / layout / card.mcss
1021 bytesRaw
1 | Message -book-card { |
2 | section.avatar { |
3 | top: 2.7rem |
4 | } |
5 | |
6 | section.timestamp { |
7 | top: 6.7rem |
8 | } |
9 | |
10 | section.content { |
11 | margin-bottom: .5rem |
12 | |
13 | a { |
14 | display: flex |
15 | flex-wrap: wrap |
16 | |
17 | color: initial |
18 | :hover { text-decoration: none } |
19 | |
20 | div.toggle-layout { |
21 | position: absolute |
22 | top: 3.0rem |
23 | right: 1rem |
24 | border: none |
25 | border-radius: 0 |
26 | background-color: rgba(255,255,255,0.2) |
27 | color: #fff; |
28 | font-size: 1rem; |
29 | font-weight: 600; |
30 | line-height: .8rem |
31 | } |
32 | |
33 | div.details { |
34 | column-count: 2 |
35 | flex-grow: 1 |
36 | max-width: 25rem |
37 | |
38 | border: 1px gainsboro solid |
39 | padding: .5rem |
40 | |
41 | section.images img { |
42 | max-width: 200px |
43 | max-height: 200px |
44 | } |
45 | |
46 | section.title { |
47 | font-size: 1.5rem |
48 | margin-bottom: 0.3rem |
49 | } |
50 | |
51 | section.authors { |
52 | font-style: italic |
53 | margin-bottom: 1rem |
54 | } |
55 | } |
56 | } |
57 | } |
58 | } |
Built with git-ssb-web