-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
79 lines (67 loc) · 1.32 KB
/
styles.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f5f5f5;
}
.container {
max-width: 100%;
padding: 20px;
box-sizing: border-box;
margin: 0 auto;
}
button {
padding: 10px 20px;
margin: 5px;
font-size: 16px;
}
.word-search {
display: grid;
grid-template-columns: repeat(10, 30px);
gap: 3px 0;
border: 1px solid #333;
background-color: #fff;
}
.cell {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 30px;
font-size: 14px;
user-select: none;
}
.cell.selected {
background-color: #ccc;
}
.cell.found {
background-color: #7aff7a;
}
.cell.start {
background-color: #ffff00;
}
.possible-answers {
padding: 0;
margin-top: 20px;
/* Additional styles for the list of possible answers */
}
.possible-answers li.crossed {
text-decoration: line-through;
}
/* Add media query for smaller screens */
@media (max-width: 768px) {
.container {
padding: 10px;
}
.word-search {
/* Adjust styles for smaller screens */
font-size: 12px;
/* Example: Reduce font size for readability */
}
.possible-answers {
/* Adjust styles for smaller screens */
margin-top: 10px;
}
}