-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (56 loc) · 1.6 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #3B3B3B; /* Darker gray background */
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
position: relative; /* Ensure relative positioning for child elements */
}
#input_number {
position: absolute;
right: 30px;
top: 70px;
padding: 10px;
font-size: 16px;
border: none;
border-radius: 20px; /* Rounded corners */
background-color: #5A5A5A; /* Dark gray background */
color: white; /* White text color */
outline: none; /* Remove focus outline */
width: 150px; /* Adjusted width for better appearance */
z-index: 1; /* Ensure input is above canvas */
}
#input_number:focus {
background-color: #777777; /* Darker gray background on focus */
}
h3 {
color: #F6F6F6; /* Light gray heading color */
position: absolute;
top: 30px;
right: 30px;
font-size: 24px;
}
#description {
font-size: small;
position: absolute;
top: 120px; /* Adjusted position */
right: 30px; /* Adjusted position */
width: calc(100% - 1050px); /* Adjusted width */
padding: 20px;
background-color: #5A5A5A; /* Dark gray background */
color: #F6F6F6; /* Light gray text color */
border-radius: 10px; /* Rounded corners */
z-index: 1; /* Ensure description is above canvas */
}
#description p {
font-size: 16px;
line-height: 1.5;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: 0; /* Ensure canvas is behind other elements */
}