-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
179 lines (153 loc) · 3.04 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* General Styles */
:root {
--lightDyedColor: #c1c5d8;
--lightGrayBorders: #81878f;
--hoverColor: rgba(218, 228, 241, 0.3);
--lightGrayBackgrounds: #E5E5E5;
--logoColor: #81878f;
--descriptionColor: #81878f;
}
body {
font-family: 'Inter', sans-serif;
font-size: 16px;
background: var(--lightDyedColor);
}
main {
position: relative;
}
/* Header Styles */
header {
background: white;
padding: 1.56em 0.93em;
}
header #header-action-container {
display: flex;
flex-direction: column;
gap: 13px;
justify-content: center;
}
header #color-selector-container {
display: flex;
flex-direction: column;
gap: 15px;
}
header select {
width: 100%;
border-radius: 6px;
padding: 0.56em 0.81em;
}
header select option {
padding: 10px;
text-transform: capitalize;
}
header button {
font-size: 0.75rem;
font-weight: 600;
}
header input {
height: 40px;
width: 100%;
border: none;
background: var(--lightGrayBackgrounds);
}
header input, header select, header button {
border: 0.5px solid var(--lightGrayBorders);
}
header input:hover,
header select:hover,
header button:hover,
#color-scheme-container div {
cursor: pointer;
user-select: none;
}
header button {
width: 100%;
background: white;
border-radius: 4px;
padding: 0.81em 0.69em;
transition: all 100ms ease-in-out;
}
header button:hover {
background: var(--hoverColor);
}
header #logo {
font-family: 'Pacifico', cursive;
font-size: 1.7rem;
font-weight: bold;
text-align: center;
}
header p {
text-align: center;
font-size: 0.8rem;
margin-bottom: 1.3em;
color: var(--descriptionColor);
font-style: italic;
}
/* Color Scheme Container Styles */
#color-scheme-container {
display: flex;
flex-direction: column;
}
#color-scheme-container div {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
#color-scheme-container div span {
background: rgba(0, 0, 0, 0.8);
padding: 0.6em;
border-radius: 5px;
color: white;
font-size: 0.8rem;
}
/* Modal Notification Styles */
#notification-copy-modal {
display: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.5);
padding: 0 1em;
border-radius: 5px;
color: white;
}
#modal-content {
text-align: center;
}
/* Media Queries */
@media (min-width: 370px) {
header #color-selector-container {
flex-direction: row;
}
header button {
width: 35%;
}
}
@media (min-width: 500px) {
header #header-action-container {
flex-direction: row;
}
header select {
width: 300px;
}
header button {
width: auto;
}
header input {
width: 100px;
height: auto;
}
}
@media (min-width: 578px) {
}
@media (min-width: 600px) {
#color-scheme-container {
flex-direction: row;
}
header #logo {
font-size: 2rem;
margin: .8em 0 0.8em;
}
}