forked from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
75 lines (63 loc) · 1.06 KB
/
styles.css
File metadata and controls
75 lines (63 loc) · 1.06 KB
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
*{
margin: 0;
padding: 0;
border: 0;
}
#home{
width: 100%;
height: 100%;
background-color: rgb(230, 225, 225);
}
#home .contenedor{
width: 100%;
height: auto;
}
#home .contenedor header{
width: 100%;
background-color: white;
padding-top: 10px;
padding-bottom: 10px;
}
#home .contenedor header h1{
width: 500px;
margin: 0 auto;
}
#inicio .contenedor .contenido{
width: 100%;
height: 80vh;
overflow-y:scroll;
}
.post{
width: 30%;
margin: 20px auto;
}
.post .post-header{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10px;
box-sizing: border-box;
}
.post .post-body{
width: 100%;
height: auto;
}
.post .post-body img{
width: 100%;
height: 400px;
object-fit: cover;
object-position: center;
}
.post .post-footer{
width: 100%;
height: auto;
padding: 10px 10px;
box-sizing: border-box;
background-color: white;
margin-top:-4px;
}
.post .post-footer{
text-align: justify;
text-transform: capitalize;
}