-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
102 lines (83 loc) · 1.58 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
* {
box-sizing: border-box;
}
img {
display: block;
width: 100%;
height: auto;
}
figure {
margin: 0;
}
p {
margin: 0;
}
body {
background: black;
font-family: 'Open Sans', sans-serif;
margin: 0;
}
.container {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.post {
width: 540px;
height: 742px;
margin: 20px 0 20px 0;
}
.post > .post-header {
background-color: #ffffff;
height: 73px;
padding: 14px;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
border-radius: 3px 3px 0 0;
}
.post > .post-header > .user-info {
display: flex;
flex-direction: row;
align-items: center;
}
.post > .post-header > .user-info > .avatar {
max-width: 45px;
overflow: hidden;
margin-right: 10px;
border-radius: 50%;
}
.post > .post-header > .user-info > .name {
display: flex;
flex-flow: column
}
.post > .post-header > .user-info > .name span:first-child {
font-weight: bold;
}
.post > .post-content > img {
vertical-align: middle;
}
.post > .post-actions {
background: white;
height: 69px;
padding: 14px;
font-size: 22px;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}
.post > .post-actions > .reactions i {
padding-right: 6px;
}
.post > .post-description {
background: white;
height: 194px;
padding: 0px 14px 14px 14px;
border-radius: 0 0 3px 3px;
}
.post > .post-description p:last-child {
padding-top: 25px;
}