-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
88 lines (88 loc) · 1.63 KB
/
style.css
File metadata and controls
88 lines (88 loc) · 1.63 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
88
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Poppins', sans-serif;
background: #1b263b;
color: #e0e1dd;
overflow: hidden;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
h1{
text-align: center;
padding: 20px 0;
text-shadow: 2px 2px 2px #000000;
}
main{
background: #415a77;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-radius: 10px;
width: 40%;
min-width: 400px;
margin: auto;
box-shadow: 0 0 10px #000000;
}
.color-picker{
display: flex;
gap: 10px;
margin-bottom: 20px;
}
#base-color{
background: #e0e1dd;
width: 70px;
height: 60px;
border: none;
cursor: pointer;
}
#scheme-type{
padding: 10px;
color: #e0e1dd;
background: #1b263b;
font-size: 16px;
font-weight: 600;
border: 1px solid #e0e1dd;
cursor: pointer;
outline: none;
}
option{
background: #1b263b;
color: #e0e1dd;
}
.color-scheme{
display: grid;
grid-template-columns: repeat(5, 1fr);
border: 1px solid #e0e1dd;
width: 90%;
min-width: 380px;
height: 300px;
}
.color-box{
height: 100%;
cursor: pointer;
border: none;
text-transform: lowercase;
}
.copied-message{
position: fixed;
top: 85%;
left: 50%;
transform: translateX(-50%);
pointer-events: none;
background-color: #111f38;
color: #e0e1dd;
padding: 10px 15px;
border: 1px solid #e0e1dd;
border-radius: 15px;
font-size: 14px;
font-weight: 600;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}