generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (84 loc) · 1.41 KB
/
style.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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
}
.post {
background: #fff;
border: 1px solid #ddd;
width: 350px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.post-header {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ddd;
}
.profile-pic {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.profile-info h3 {
font-size: 14px;
margin-bottom: 2px;
}
.profile-info p {
font-size: 12px;
color: #888;
}
.post-options {
margin-left: auto;
cursor: pointer;
font-size: 18px;
}
.icon{font-size: 40px;}
post-img {
min-width: 100%;
display: block;
}
.post-body {
padding: 10px;
}
.post-actions {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.icons i {
margin-right: 15px;
font-size: 18px;
cursor: pointer;
}
.save-icon i {
font-size: 18px;
cursor: pointer;
}
.post-info {
padding: 10px 0;
font-size: 14px;
}
.post-info p {
margin-bottom: 10px;
line-height: 1.5;
}
.profile-info{
padding-left: 6px;
}
img{
min-width: 100%;
height: auto;
}