-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
90 lines (78 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
80
81
82
83
84
85
86
87
88
89
90
body {
margin: 0;
padding: 20px;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.canvas-container {
margin: 20px auto;
border-radius: 8px;
display: inline-block;
display: flex;
flex-direction: column;
max-width: 80%;
/* justify-content: space-between; */
gap: 20px;
align-items: center;
}
.quote {
color: #63635f;
line-height: 1.5;
font-size: 1.5rem;
}
.emphasis {
color: red;
font-size: 2rem;
}
.author {
font-size: 1.1rem;
text-align: right;
font-style: italic;
}
.recognized-digit {
background-color: transparent;
display: flex;
justify-content: center;
font-size: 1.5rem;
flex-direction: column;
text-align: left;
background: #ededdd;
padding: 40px;
border-radius: 20px;
max-width: 60svw;
}
canvas {
border: 2px solid #333;
border-radius: 8px;
cursor: crosshair;
background: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.controls {
margin-top: 20px;
}
button {
padding: 10px 20px;
margin: 0 10px;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
#clearBtn {
background-color: #ff4444;
color: white;
}
#recognizeBtn {
background-color: #44aa44;
color: white;
}
button:hover {
opacity: 0.9;
}