-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (54 loc) · 1015 Bytes
/
Copy pathstyle.css
File metadata and controls
63 lines (54 loc) · 1015 Bytes
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
body {
background-color: orange;
font-family:
-apple-system, BlinkMacSystemFont,
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
margin: 0;
}
h1 {
font-size: 60px;
text-align: center;
}
.scores {
background-color: #fec55e;
border-radius: 6px;
padding: 1rem;
display: inline;
}
.field {
display: flex;
flex-wrap: wrap;
min-width: 720px;
max-width: 720px;
margin: 0 auto;
}
.field__hole {
padding: 20px;
position: relative;
width: 200px;
background-color: orange;
overflow: hidden;
}
.field__hole::after {
content: url(./dirt.svg);
text-align: center;
position: absolute;
left: 0;
right: 0;
bottom: -30px;
background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, orange 50%);
}
.mole {
display: block;
margin: 0 auto;
transition-duration: 0.3s;
transform: translateY(100%);
}
.mole:hover {
cursor: pointer;
}
.mole_over-ground {
transform: translateY(20%);
}