forked from fauxparse/hello-summer
-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathhello.css
114 lines (98 loc) · 1.64 KB
/
hello.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
* purple-color: #5f259f;
* pink-color: #f04e99;
*/
body {
margin: 0;
padding: 0;
font: 1em/1.5em "Open Sans", sans-serif;
background-color: #5f259f;
color: #fff;
}
a {
color: #00aeef;
text-decoration: none;
font-weight: bold;
}
header {
text-align: center;
padding: 2rem;
}
header p:nth-child(1) {
font-weight: bold;
font-size: 2rem;
margin: 0;
}
header p:nth-child(2) {
margin: .5rem 0 0;
letter-spacing: .2em;
text-transform: uppercase;
letter-spacing: .2em;
}
main {
background-color: white;
color: black;
padding: 2rem 0 4rem;
}
h1 {
font-family: "Covered By Your Grace", cursive;
font-size: 4rem;
text-align: center;
}
main img {
display: block;
width: 12rem;
max-width: 50%;
margin: 0 auto 1rem;
height: auto;
border-radius: 50%;
}
main p {
width: 30rem;
max-width: 80%;
margin: 0 auto 1rem;
}
.social {
list-style: none;
margin: 1rem auto 0;
padding: 0;
width: 15rem;
max-width: 80%;
}
.social li {
margin: 0;
padding: 0;
}
.social li a {
display: block;
position: relative;
padding-left: 3rem;
line-height: 2rem;
vertical-align: middle;
color: #999;
transition: color 0.2s ease;
}
.social li a:hover {
color: #f04e99;
}
.social li a::before {
position: absolute;
left: 0;
top: 0;
width: 1em;
height: 1em;
font: normal 2rem/1em "FontAwesome";
}
.social li a[rel="github"]::before { content: '\f09b'; }
.social li a[rel="home"]::before { content: '\f015'; }
.social li a[rel="twitter"]::before { content: '\f099'; }
footer {
margin: 0;
padding: 1rem 0 4rem;
text-align: center;
}
footer img {
height: 4rem;
width: auto;
margin: 0 1rem;
}