Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
149 lines (131 loc) · 2.73 KB
/
Copy pathindex.css
File metadata and controls
149 lines (131 loc) · 2.73 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
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
/* Reset styles */
body, h1, button {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* General styles */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
background-color: #ffffff;
padding: 20px 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
width: 90vw;
}
/* Heading */
h1 {
font-size: 24px;
color: #333;
margin-bottom: 20px;
}
/* Button list styles */
.button-list {
display: flex;
flex-direction: column;
gap: 2vh;
margin-top: 20px;
}
/* Button container for each game */
.button-container {
display: flex;
align-items: center;
justify-content: space-between;
}
/* Individual game buttons */
.game-button {
flex-grow: 1;
padding: 10px 15px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.game-button:hover {
background-color: #0056b3;
transform: scale(1.05);
}
.game-button:active {
background-color: #004085;
}
/* Settings button */
.settings-button {
width: 40px;
height: 40px;
background-color: #f8f9fa;
border: 1px solid #ccc;
border-radius: 5px;
margin-left: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.settings-button:hover {
background-color: #e0e0e0;
transform: scale(1.1);
}
.settings-button:active {
background-color: #d6d6d6;
}
/* Settings icon */
.settings-button img {
width: 20px;
height: 20px;
}
/* Delete button */
.delete-button {
width: 40px;
height: 40px;
padding: 10px;
font-size: 14px;
font-weight: bold;
color: #fff;
background-color: #dc3545;
border: none;
border-radius: 5px;
cursor: pointer;
margin-left: 10px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.delete-button:hover {
background-color: #c82333;
transform: scale(1.05);
}
.delete-button:active {
background-color: #a71d2a;
}
/* New Game button */
.new-game-button {
padding: 10px 15px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #28a745;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
margin-bottom: 20px;
}
.new-game-button:hover {
background-color: #218838;
transform: scale(1.05);
}
.new-game-button:active {
background-color: #1e7e34;
}