-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (75 loc) · 1.61 KB
/
style.css
File metadata and controls
87 lines (75 loc) · 1.61 KB
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: #338cf4;
}
.container {
background-color: #fff;
width: 90vmin;
padding: 50px 30px;
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
border-radius: 10px;
box-shadow: 0 25px 50px rgba(7, 20, 36, 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;
outline: none;
background-color: #fff;
color: #020929;
cursor: pointer;
}
select {
padding: 7px;
border: 1px solid #020929;
border-radius: 3px;
cursor: pointer;
}
.options label,
.options select {
font-family: 'Poppins', sans-serif;
}
input[type="color"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
width: 40px;
height: 28px;
border: none;
cursor: pointer;
}
input[type="color"]::-webkit-color-swatch {
border-radius: 15px;
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}
input[type="color"]::-moz-color-swatch {
border-radius: 15px;
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}
#text-input {
margin-top: 10px;
border: 1px solid #ddd;
padding: 20px;
height: 50vh;
}
.active {
background-color: #e0e9ff;
}