-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (81 loc) · 1.52 KB
/
style.css
File metadata and controls
89 lines (81 loc) · 1.52 KB
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
/* styles.css */
*{
margin: 0;
}
.masterx{
display: flex;
flex-direction: column;
background-image: url(./garden.jpg);
background-repeat: no-repeat;
background-position-x: center;
background-size: cover;
height: 100vh;
width: 100vw;
}
.master{
display: flex;
justify-content: center;
font-family: Arial, sans-serif;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 20px;
}
h1 {
font-size: 50px;
margin-top: 10px;
font-family: "Pixelify Sans", sans-serif;
}
.game-board {
display: grid;
grid-template-columns: repeat(5, 93px);
grid-template-rows: repeat(5, 93px);
gap: 10px;
margin: 10px 0;
}
.hole {
width: 95px;
height: 95px;
background-color: #8B4513;
position: relative;
border-radius: 50%;
overflow: hidden;
}
.hole:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 85%;
height: 77%;
background: #000;
border-radius: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
.mouse {
width: 90px;
position: absolute;
bottom: -50%;
left: 0;
transition: bottom 0.3s;
z-index: 2;
}
button {
margin: 10px;
height:60px;
width:130px;
font-family: "Pixelify Sans", sans-serif;
font-weight: bold;
font-size: 30px;
border-radius: 30px;
background-color: green;
color: yellow;
}
button:hover{
background-color: yellow;
color: green;
}
p {
font-size: 30px;
font-family: "Pixelify Sans", sans-serif;
}