Files: 0d7ab4023cc3d953c3edb70e8ca7d2c67ed4881e / styles / profile-header.mcss
597 bytesRaw
1 | ProfileHeader { |
2 | display: flex; |
3 | width: 100%; |
4 | max-width: 700px; |
5 | margin: 20px auto; |
6 | |
7 | div.image { |
8 | width: 200px; |
9 | max-height: 200px; |
10 | padding: 5px; |
11 | background: white; |
12 | box-shadow: 0 0 10px #AAA; |
13 | margin-right: 20px; |
14 | img { |
15 | width: 100% |
16 | } |
17 | } |
18 | |
19 | div.main { |
20 | flex: 1 |
21 | div.title { |
22 | display: flex |
23 | h1 { |
24 | flex: 1 |
25 | } |
26 | } |
27 | section { |
28 | -description { |
29 | font-size: 120% |
30 | max-height: 350px |
31 | overflow: auto |
32 | -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0)); |
33 | } |
34 | } |
35 | } |
36 | } |
37 |
Built with git-ssb-web