-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyleblog.css
66 lines (54 loc) · 844 Bytes
/
styleblog.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
html {
font-family: "Roboto", "sans-serif";
}
body {
margin: 0;
background-color: #efefef;
}
header {
background-color: black;
color: white;
padding: 3rem 2rem;
}
header h1 {
font-size: 4rem;
text-align: center;
}
.container {
width: 800px;
margin: 0 auto;
}
section article {
transition: all 0.3s ease;
background-color: #fff;
margin: 1rem 0;
border-radius: 0.5rem;
padding: 0.25rem 0;
cursor: pointer;
}
section article:hover {
box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}
section article h2,
section article p {
margin: 1rem;
}
footer {
background-color: #222;
padding: 3rem;
color: white;
}
footer section {
float: right;
}
footer p {
margin: 0;
}
footer a {
transition: color 0.3s ease;
color: white;
text-decoration: none;
}
footer a:hover {
color: cornflowerblue;
}