forked from chicagoing/learn-html-css
-
Notifications
You must be signed in to change notification settings - Fork 1
/
finished-example.css
executable file
·94 lines (77 loc) · 1.08 KB
/
finished-example.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
font-family: sans-serif;
margin: 0;
color: #333;
}
h1,
h2 {
font-family: Bitter, sans-serif;
}
h1 {
color: white;
font-size: 48px;
margin-bottom: 0;
}
p, ul, ol {
line-height: 1.5;
}
a {
color: #38A88F;
}
header {
text-align: center;
background: pink;
background: url(images/background.jpg);
background-size: cover;
background-attachment: fixed;
}
header img {
border-radius: 50%;
border: 3px solid #fff;
padding: 10px;
}
.padded {
padding: 50px 100px;
}
#about {
background: #FFCA59;
}
ul.websites {
padding: 0;
margin-bottom: 1em;
}
ul.websites li {
list-style: none;
display: inline-block;
}
.websites a {
background: #38A88F;
padding: 10px 20px;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-size: 24px;
display: block;
}
.websites a:hover {
background: #666;
}
.links h2 {
color: #FF572B;
}
.contact {
background: #666;
text-align: center;
background: url(images/dark_embroidery.png);
}
.contact h2 {
color: white;
}
.contact img {
border-radius: 50%;
width: 100px;
margin: 10px;
}
.contact img:hover {
opacity: .5;
}