-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
209 lines (171 loc) · 3.57 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-size: 62.5%; /* 1rem = 10px */
}
body{
font-family: "Lato", sans-serif;
font-weight: 400;
line-height: 1.7;
color: #777;
}
.main-title{
text-align: center;
margin-top: 4rem;
margin-bottom: 8rem;
text-shadow:
1px 0px 1px #ccc, 0px 1px 1px #eee,
2px 1px 1px #ccc, 1px 2px 1px #eee,
3px 2px 1px #ccc, 2px 3px 1px #eee,
4px 3px 1px #ccc, 3px 4px 1px #eee,
5px 4px 1px #ccc, 4px 5px 1px #eee,
6px 5px 1px #ccc, 5px 6px 1px #eee,
7px 6px 1px #ccc;
}
.main-title h1{
font-size: 7rem;
text-transform: uppercase;
font-weight: 800;
color: #555;
}
.main-title h2{
font-size: 4rem;
font-weight: 300;
text-transform: uppercase;
}
.svg-img{
display: block;
margin: auto;
}
svg{
display: block;
margin: auto;
}
#clock{
animation: clockHand 5s infinite linear;
transform-box: fill-box;
transform-origin: bottom;
}
#leftTree, #righTree{
animation: tree 2s ease-in-out infinite alternate;
transform-box: fill-box;
transform-origin: bottom;
}
#man{
animation: manBody 1s ease-in-out infinite alternate;
transform-box: fill-box;
transform-origin: bottom;
}
#pc-circle{
fill: #6ace66;
stroke-width: 4;
animation: change-light 4s linear infinite alternate;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 35px;
line-height: 35px;
background-color: #f5f5f5;
font-size: 1.3rem;
}
@keyframes clockHand{
from{
transform: rotateZ(0deg);
}
from{
transform: rotateZ(-360deg);
}
}
@keyframes manBody{
from{
transform: rotateX(0deg);
}
to{
transform: rotateX(10deg);
}
}
@keyframes tree{
from{
transform: rotateZ(10deg);
}
to{
transform: rotateZ(-20deg);
}
}
@keyframes change-light {
0% {
stroke: #cd61f8;
}
25% {
stroke: #6ace66;
}
75% {
stroke: #2995c0;
}
100% {
stroke: #e92949;
}
}
/* Media Queries */
@media (min-width: 640px){
.main-title h1{
font-size: 5rem;
text-transform: uppercase;
font-weight: 700;
color: #555;
}
.main-title h2{
font-size: 3rem;
font-weight: 300;
text-transform: uppercase;
}
}
@media (min-width: 768px){
.main-title h1{
font-size: 6rem;
text-transform: uppercase;
font-weight: 800;
color: #555;
}
.main-title h2{
font-size: 4rem;
font-weight: 300;
text-transform: uppercase;
}
}
@media (min-width: 1024px){
.main-title h1{
font-size: 7rem;
text-transform: uppercase;
font-weight: 900;
color: #555;
}
.main-title h2{
font-size: 5rem;
font-weight: 300;
text-transform: uppercase;
}
}
@media (min-width: 1200px){
.main-title h1{
font-size: 8rem;
text-transform: uppercase;
font-weight: 900;
color: #555;
}
.main-title h2{
font-size: 5rem;
font-weight: 300;
text-transform: uppercase;
}
.main-title{
text-align: center;
margin-top: 4rem;
margin-bottom: 4rem;
}
}