forked from Alan0602/SudokuSolver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (102 loc) · 2.52 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
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
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1{
background-color: rgba(127, 255, 140, 0.479);
color: rgb(42, 46, 18);
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
border-radius: 15px;
}
label{
font-size: 1.5em;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container {
text-align: center;
}
input[type="numbers"] {
border-radius: 15px;
background-color: rgba(240, 248, 255, 0.416);
}
.input-container {
margin-bottom: 20px;
}
.sudoku-container {
display: grid;
grid-template-columns: repeat(9, 40px);
grid-template-rows: repeat(9, 40px);
gap: 2px;
margin-bottom: 20px;
border-left: 1px solid;
border-right: 1px solid;
border-top: 1px solid;
border-bottom: 1px solid;
}
.sudoku-container input {
width: 40px;
height: 40px;
text-align: center;
font-size: 1.2em;
border: 1px solid #000;
background-color: rgba(240, 248, 255, 0.441);
}
/* Borders for rows and columns */
.sudoku-container input[data-row="3"],
.sudoku-container input[data-row="6"],
.sudoku-container input[data-col="3"],
.sudoku-container input[data-col="6"] {
border-bottom: 2px solid #000;
}
.sudoku-container input[data-row="9"] {
border-bottom: 2px solid #000;
border-top: 2px solid #000;
}
.sudoku-container input[data-col="9"] {
border-right: 2px solid #000;
border-left: 2px solid #000;
}
button {
margin: 0 10px;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 15px;
background-color: rgba(240, 248, 255, 0.416);
}
link[rel="icon"] {
width: 84px; /* Set your desired width */
height: 84px; /* Set your desired height */
}
.loader {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 2s linear infinite;
display: none;
margin-top: 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}