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
65 lines (48 loc) · 749 Bytes
/
Copy pathstyles.css
File metadata and controls
65 lines (48 loc) · 749 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
body{
background:lightgray;
margin:0;
font-family: sans-serif;
}
div{
box-sizing: border-box;
}
header{
background-color: white;
padding: 10px;
}
header h1{
margin:0;
}
div.Container {
width: 600px;
margin: auto;
}
div.Post {
background:white;
margin-top: 10px;
padding:10px 0px 10px 0px;
}
div.Post img{
width: 100%;
height: 600px;
object-fit: cover;
}
div.Post .post-header div:first-child{
display:inline-block;
width:80%;
}
div.Post .post-header div:last-child{
display:inline-block;
width: 20%;
text-align: right;
padding: 10px;
color: grey;
}
div.Post h2,
div.Post p{
padding: 10px;
margin:0;
}
h2{
font-size: 20px;
}