-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (94 loc) · 2.07 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
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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;800&family=Poppins:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400;1,500&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: linear-gradient(
to bottom left,
rgb(83, 116, 234),
rgb(83, 196, 234),
rgb(83, 116, 234),
rgb(83, 196, 234)
);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 90vmin;
padding: 50px 30px;
background-color: rgb(255, 255, 255, 0.5);
border-radius: 10px;
box-shadow: 0 25px 50px rgba(7, 20, 35, 0.2);
}
.options {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 15px;
}
button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border-radius: 3px;
border: none;
background-color: #f1e9e9;
outline: none;
cursor: pointer;
}
select {
padding: 7px;
border: 1px solid #020929;
border-radius: 3px;
cursor: pointer;
background-color: #f1e9e9;
}
.options label,
.options select {
font-family: "Poppins", sans-serif;
}
input[type="color"] {
appearance: none;
background-color: transparent;
width: 50px;
height: 24px;
border: none;
cursor: pointer;
/* border: 2px solid red; */
}
input[type="color"]::-moz-color-swatch {
border-radius: 15px;
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}
input[type="color"]::-webkit-color-swatch {
border-radius: 15px;
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}
#text-input {
overflow: auto;
margin-top: 10px;
border: 1px solid #ddd;
padding: 20px;
height: 50vh;
outline: none;
border: 2px solid rgba(255, 255, 255, 0.495);
}
#text-input:focus {
background-color: rgba(255, 255, 255, 0.295);
border: 2px solid rgba(255, 255, 255, 0.795);
box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.3);
}
.active {
background-color: #e0e9ff;
}
.input-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}