-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
118 lines (116 loc) · 1.92 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background-color: #FFFDFE;
font-family: 'Inter', sans-serif;
}
h1 {
margin-block:0.6em;
text-align: center;
}
p {
font-size: 12px;
color: #2B283A;
font-weight: 500;
}
.color-scheme, .color-parent, .color-options {
display: flex;
}
.color-options, main {
max-width: 550px;
}
.color-options {
padding-top: 0.5em;
align-items: center;
justify-content: space-around;
height: 3em;
margin-inline: auto;
margin-bottom: 0.5em;
color: #111827;
}
input {
height: 42px;
width: 61px;
}
#schemes {
width: 312px;
height: 42px;
font-size: 16px;
}
button {
max-width: 123px;
height: 42px;
font-size: 12px;
background-color: #FFFFFF;
border: 1px solid #D1D5DB;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
border-radius: 4px;
color: #374151;
cursor: pointer;
}
.color-scheme {
height: 100%;
margin-inline: auto;
}
.color-parent {
width: 20%;
height: 100%;
flex-direction: column;
}
main {
height: 85%;
margin-inline: auto;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.color-parent > p {
margin: 0;
text-align: center;
padding-block: 1em;
}
.color {
width: 100%;
height: 81%;
}
#color-one {
background-color: #F55A5A;
}
#color-two {
background-color: #2B283A;
}
#color-three {
background-color: #FBF3AB;
}
#color-four {
background-color: #AAD1B6;
}
#color-five {
background-color: #A626D3;
}
@media (max-width: 590px) {
h1 {
font-size: 1.2em;
padding: 0.6em;
margin-top: 0.5em;
}
body {
padding: 1em;
}
main {
padding: 0.7em;
}
#color-input, #schemes {
margin-right: 10px;
}
}
@media (max-width: 350px) {
p, button {
font-size: 10px;
}
#schemes {
font-size: 12px;
}
}