-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
100 lines (84 loc) · 1.38 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
max-width: 550px;
margin: auto;
}
header {
height: 12vh;
}
.color-select {
display: flex;
justify-content: space-between;
padding: 1em 0.5em;
height: 100%;
}
input[type='color'] {
display: flex;
background: none;
width: 10%;
height: 100%;
border: 1px solid #d1d5db;
}
.mode-names {
width: 40%;
border: 1px solid #d1d5db;
padding: 0.5em;
border-radius: 6px;
}
option[selected] {
font-weight: 600;
}
.color-btn {
width: 40%;
font-weight: 500;
border: 1px solid #d1d5db;
background-color: white;
padding: 0.5em 1em;
border-radius: 6px;
cursor: pointer;
}
main {
height: calc(100vh - 12vh);
}
.color-palette-container {
display: flex;
width: 100%;
height: 100%;
}
.color-palette-column {
display: flex;
flex-direction: column;
text-align: center;
width: 20%;
}
.color-palette {
height: 100%;
}
.color-palette-value {
background: linear-gradient(to bottom, #ece9e6, #ffffff);
padding: 0.6em;
font-weight: 500;
}
.color-palette-value > span {
transition: all 0.1s;
}
.color-palette-value:hover {
background: linear-gradient(to bottom, #757f9a, #d7dde8);
color: white;
cursor: pointer;
}
.copy-text,
.copy-text:hover {
background: black;
color: white;
}
@media (max-width: 426px) {
* {
font-size: 0.8rem;
}
}