-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylo.css
71 lines (65 loc) · 1.06 KB
/
stylo.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
71
html {
font-family: "Montserrat", sans-serif;
}
body {
margin: 0;
background-color: #efefef;
}
header {
background-color: #364552;
color: white;
padding: 2rem 1rem;
}
header h1 {
font-size: 4rem;
text-align: center;
}
.container {
width: 400px;
margin: 0 auto;
}
section article {
transition: box-shadow 0.3s ease;
background-color: #fff;
margin: 2rem 0;
border-radius: 0.5rem;
padding: 0.25rem 0;
cursor: pointer;
}
section article:hover {
box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.7);
}
section article h2,
section article p {
margin: 1rem;
}
footer {
background-color: #222;
padding: 3rem;
color: #fff;
}
footer section {
float: right;
}
footer p {
margin: 0;
}
footer a {
transition: color 0.3s ease;
color: white;
text-decoration: none;
-webkit-transition: color 0.3s ease;
-moz-transition: color 0.3s ease;
-ms-transition: color 0.3s ease;
-o-transition: color 0.3s ease;
}
footer a:hover {
color: cornflowerblue;
}
.post h2 {
color: rgb(55, 45, 146);
}
br {
background-color: black;
padding: 2rem 1rem;
}