-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.css
93 lines (80 loc) · 1.22 KB
/
site.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
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0;
color: #fff;
background-color: #1d3f59;
font: 1.5rem/1.5 'Open Sans', sans-serif;
}
.prose {
max-width: 900px;
margin: 0 auto;
padding: 40px;
}
h1 {
margin: 0 0 40px;
line-height: 1.2;
font-size: 3.5rem;
font-weight: normal;
}
h2 {
font-size: 2rem;
font-weight: normal;
}
a {
color: #ffd47b;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.pond {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
text-align: center;
}
.left-pond {
left: 0;
right: 50%;
}
.right-pond {
right: 0;
left: 50%;
}
.fish {
position: absolute;
width: 50px;
height: 30px;
border-radius: 50%;
margin: -15px 0 0 -20px;
background-color: currentColor;
}
/* tail */
.fish::before {
content: '';
display: block;
position: absolute;
left: -10px;
width: 0;
height: 0;
border-left: solid 25px currentColor;
border-top: solid 15px transparent;
border-bottom: solid 15px transparent;
}
/* eye */
.fish::after {
content: '';
display: block;
position: absolute;
top: 8px;
left: 34px;
width: 6px;
height: 6px;
background-color: #fff;
border-radius: 50%;
}