generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
93 lines (79 loc) · 1.31 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
body {
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.post {
display: flex;
flex-direction: column;
align-items: center;
width: 400px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.post-header {
display: flex;
align-items: center;
padding: 12px 8px;
width: 100%;
}
.profile-pic {
width: 40px;
height: 40px;
padding: 8px 8px;
border-radius: 50%;
margin-right: 10px;
}
.user-info {
flex-grow: 1;
}
.username {
font-weight: 500;
margin: 0;
}
.location {
font-size: 0.9em;
color: #888;
margin: 0;
}
.options {
color: #888;
padding: 8px 8px;
}
.post-image {
width: 100%;
}
.post-actions {
display: flex;
padding: 8px 8px;
width: 95%;
justify-content: space-between;
}
.post-actions i {
font-size: 1.5em;
cursor: pointer;
color: #333;
}
.bookmark {
margin-left: auto;
}
.post-likes {
padding: 8px 8px;
font-size: 0.9em;
color: #333;
}
.post-caption {
padding: 8px 8px;
font-size: 0.9em;
color: #333;
}
.post-caption strong {
font-weight: 500;
}