-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (127 loc) · 2.4 KB
/
style.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
115
116
117
118
119
120
121
122
123
124
125
126
127
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: #f2bd2f;
}
.container {
height: 31.25em;
width: 31.25em;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}
.shell {
position: absolute;
height: 10.62em;
width: 17.5em;
background-image: radial-gradient(#9b4a2a 40%, transparent 40%), radial-gradient(#833825 40%, transparent 40%);
background-color: #703225;
background-position: 0 0, 5em 5em;
background-size: 10em 10em;
border-radius: 50% 50% 10% 10%/75% 75% 10% 10%;
top: 9.37em;
left: 4.37em;
}
.shell:before {
position: absolute;
content: "";
height: 4.37em;
width: 4.37em;
background-color: #005f37;
border-radius: 4.37em 4.37em 0 0;
bottom: 0;
right: 0;
}
.neck {
height: 3.75em;
width: 7.5em;
background-color: #009f40;
border-radius: 5em 0 9.37em 5em;
position: absolute;
left: 14.06em;
top: 7.5em;
}
.neck:before {
content: "";
position: absolute;
height: 1.25em;
width: 4.37em;
background-color: #009f40;
top: -1.18em;
left: 3.12em;
}
.neck::after {
content: "";
position: absolute;
height: 5.62em;
width: 5.62em;
background-color: #009f40;
bottom: 4.87em;
left: 3.12em;
border-radius: 2.5em 2.5em 1.87em 0;
}
.belt {
background: linear-gradient(
to right,
#e9a100 30%,
#e77702 30%,
#e77702 90%,
#e9a100 90%
);
height: 1.25em;
width: 5em;
position: absolute;
top: 6.56em;
left: 16.87em;
}
.leg {
background-color: #009f40;
height: 4.37em;
width: 2.5em;
position: absolute;
border-radius: 1.25em 1.25em 0 0;
top: 18.75em;
}
.leg::before {
content: "";
height: 1.25em;
width: 0.93em;
position: absolute;
background-color: #d5cd8e;
bottom: -0.06em;
left: -0.06em;
border-radius: 0.62em 0.62em 0 0;
box-shadow: 0.87em 0 #d5cd8e;
}
.leg-1 {
left: 6.25em;
}
.leg-2 {
left: 15.31em;
}
.leg-3 {
background-color: #005f37;
left: 9.37em;
}
.leg-4 {
background-color: #005f37;
left: 20em;
}
.eye {
position: absolute;
background-color: #43484d;
height: 0.62em;
width: 1.25em;
border-radius: 0.62em 0.62em 0 0;
top: 3.12em;
left: 18.75em;
}
@media screen and (min-width: 800px) {
.container {
font-size: 1.4em;
}
}