forked from vishanurag/Canvas-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
canva.css
64 lines (56 loc) · 1.27 KB
/
canva.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
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
background-color: #d2a8d3; /* Light lavender background */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
}
.toolbar {
display: flex;
gap: 10px;
padding: 10px;
background-color: #a67da3; /* Dark lavender background */
border-radius: 8px;
margin-bottom: 20px;
align-items: center;
}
.toolbar button {
background-color: #c290c1; /* Soft purple */
color: white;
border: none;
padding: 8px 12px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}
.toolbar button:hover {
background-color: #7d4d7e; /* Darker purple on hover */
}
#size-slider {
width: 100px;
}
.text-options {
display: flex;
gap: 10px;
align-items: center;
padding: 10px;
background-color: #a67da3; /* Dark lavender background */
border-radius: 8px;
margin-bottom: 10px;
}
.text-options label, .text-options input, .text-options select {
color: white;
}
.text-options input[type="color"] {
border: none;
background: transparent;
}
canvas {
border: 2px solid #c290c1; /* Border matches toolbar color */
background-color: white;
cursor: crosshair;
}