1
1
/* General Styling */
2
2
body {
3
3
font-family : 'Arial' , sans-serif;
4
- background-color : # 1e293b ; /* Modern dark blue-gray for contrast */
4
+ background-color : # 1e293b ;
5
5
}
6
6
7
- /* Blue Card Styling */
8
- .bg-gray-900 {
9
- max-width : 34rem ; /* Ensure the card contains all elements */
10
- width : 100% ; /* Make it responsive */
11
- }
12
-
13
- /* Sudoku Grid Container Styling */
7
+ /* Sudoku grid styling */
14
8
.sudoku-grid {
15
9
display : grid;
16
10
grid-template-columns : repeat (9 , 1fr );
17
- width : 27rem ; /* Ensure grid fits perfectly inside the white background */
11
+ width : 27rem ;
18
12
gap : 0 ;
19
- background-color : # f3f4f6 ; /* Light gray for grid background */
20
- border-radius : 0.5rem ; /* Rounded edges */
13
+ background-color : # f3f4f6 ;
14
+ border-radius : 0.5rem ;
21
15
box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.1 );
22
16
border : 2px solid # d1d5db ;
23
17
}
24
18
25
- /* Input Cell Styling */
19
+ /* Input cell styling */
26
20
.cell {
27
21
background-color : white;
28
22
color : black;
@@ -34,27 +28,17 @@ body {
34
28
line-height : 3rem ;
35
29
}
36
30
37
- .cell .border-t-2 {
38
- border-top-width : 2px ;
39
- }
40
-
41
- .cell .border-l-2 {
42
- border-left-width : 2px ;
43
- }
44
-
45
- /* Dropdown Menu Styling */
46
- select {
47
- background-image : url ("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='gray'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 011.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E" );
48
- background-repeat : no-repeat;
49
- background-position : right 0.75rem center;
50
- background-size : 1.5rem 1.5rem ;
51
- appearance : none;
52
- padding-right : 2.5rem ; /* Space for arrow */
53
- cursor : pointer;
31
+ /* Confetti canvas styling */
32
+ # confettiCanvas {
33
+ position : fixed;
34
+ top : 0 ;
35
+ left : 0 ;
36
+ z-index : 1000 ;
37
+ pointer-events : none;
54
38
}
55
39
56
- /* Buttons */
57
- button {
58
- transition : background-color 0.3 s ease-in-out , border-color 0.3 s ease-in-out;
40
+ /* Hover effect for Validate button */
41
+ # validateButton : hover {
42
+ filter : brightness ( 1.2 ); /* Makes the button brighter on hover */
59
43
cursor : pointer;
60
44
}
0 commit comments