-
Notifications
You must be signed in to change notification settings - Fork 13
/
App.css
123 lines (102 loc) · 1.74 KB
/
App.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.App {
text-align: center;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
body{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.navbar{
width:100%;
height:80px;
background-color: coral;
display: flex;
justify-content: center;
align-items: center;
}
.navbar .links{
font-size: 25px;
color: white;
}
.links a{
margin: 10px;
text-decoration: none;
color: white;
}
.links a:hover{
cursor: pointer;
font-weight: bold;
}
.uploadPost{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 500px;
width: 500px;
border: 2px solid coral;
}
.CreatePost {
display: flex;
justify-content: center;
align-items: center;
height: calc(100vh -80px);
}
.uploadPost input {
width: 80%;
height: 50px;
margin: 10px;
outline: none;
font-size: 20px;
}
.uploadPost textarea{
height: 120px;
width: 80%;
margin: 10px;
}
button{
margin: 10px;
}
.MainPage{
display: flex;
justify-content: center;
height: calc(100vh -80px);
}
.PostContainer{
height: calc(100vh -80px);
width: 60%;
max-width: 50%;
padding:30px;
margin-top: 50px;
display: flex;
justify-content: center;
flex-direction: column;
background-color: lightblue;
box-shadow: 2px 1px 8px black;
border:1px solid lightslategrey
}
.Post{
width:100%;
margin-top:20px;
display: flex;
flex-direction: column;
justify-content: flex-start;
padding-left: 10px;
border:1px solid lightslategrey;
}
.post-title{
text-transform: capitalize;
cursor: pointer;
}
.Post.individual{
background-color: rgb(170, 164, 162);
max-width: 60%;
margin: auto;
margin-top: 20px;
}
.like_btn{
width:13%;
float: left;
margin-bottom: 10px;
}