-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.css
More file actions
49 lines (43 loc) · 807 Bytes
/
App.css
File metadata and controls
49 lines (43 loc) · 807 Bytes
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
/*Default (desktop) styles*/
body {
margin: 0;
font-family: Arial, sans-serif;
background: gray;
}
/*Containers*/
.container {
width: 80%;
margin: 0;
padding: 20px;
}
.post-card {
background: white;
color: black;
padding: 15px;
border-radius: 10px;
}
/*Responsive image in posts*/
.post-card img {
max-width: 100%;
border-radius: 10px
}
/*Mobile styles*/
@media (max-width: 768px) {
.container {
width: 95%;
padding: 10px;
}
input, textarea, button {
font-size: 16px;
width: 100%;
margin-bottom: 10px;
}
img {
max-width: 100%;
height: auto'
}
.mobile-stack {
display: flex;
flex-direction: column;
}
}