generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
70 lines (70 loc) · 1.28 KB
/
styles.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
body {
font-family: 'Alatsi';
background: grey;
margin: 0;
}
header {
background: linear-gradient(to right, #ad0876, #ff53f9 ,#ffdafe, #ff53f9, #ad0876);
text-align: center;
padding: 12px;
margin: 0;
}
header h1 {
margin: 0;
}
div.post1 {
background: linear-gradient(to right,#ffdafe ,white, #ffdafe);
margin: auto;
width: 33%;
height: 25%;
margin-top: 58px;
border-radius: 15px;
}
div.title {
width: 100%;
height: 60px;
display: inline-flex;
justify-content: space-between;
}
img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.text {
margin: auto;
}
.date {
margin: 5px 5px 0px 0px;
}
p {
padding: 10px;
height: auto;
margin: 0 auto;
}
div.post2 {
background: linear-gradient(to right,#ffdafe ,white, #ffdafe);
margin: auto;
width: 33%;
height: 25%;
margin-top: 58px;
border-radius: 15px;
}
div.post3 {
background: linear-gradient(to right,#ffdafe ,white, #ffdafe);
margin: auto;
width: 33%;
height: 25%;
margin-top: 58px;
border-radius: 15px;
}
div.post4 {
background: linear-gradient(to right,#ffdafe ,white, #ffdafe);
margin: auto;
width: 33%;
height: 25%;
margin-top: 58px;
border-radius: 15px;
margin-bottom: 30px;
}