-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
147 lines (126 loc) · 2.31 KB
/
Copy pathstyle.css
File metadata and controls
147 lines (126 loc) · 2.31 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
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
/* Canvas - Outer Rectangle (Background color changes here) */
.canvas {
min-height: 100vh;
display: flex;
flex-direction: column;
padding: 2rem;
background-color: white; /* Default gray background */
transition: background-color 0.3s ease;
}
/* Navbar */
.navbar {
width: 100%;
background-color: black;
backdrop-filter: blur(8px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding: 1rem 1.5rem;
margin-bottom: 2rem;
border-radius: 0.5rem;
}
.nav-links {
display: flex;
align-items: center;
gap: 1.5rem;
}
.nav-link {
color: white;
text-decoration: none;
transition: color 0.2s ease;
}
.nav-link:hover {
color: white;
}
/* Content - Inner Rectangle (Static white container) */
.content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1rem 1rem;
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
border-radius: 0.75rem;
border: 1px solid #e5e7eb;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Title */
.title {
font-size: 3rem;
font-weight: bold;
text-align: center;
margin-bottom: 3rem;
color: #111827;
}
/* Color Grid */
.color-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin-bottom: 2rem;
}
/* Color Boxes */
.button {
width: 5rem;
height: 5rem;
border: 2px solid #1f2937;
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.2s ease;
}
.button:hover {
border-color: #4b5563;
transform: scale(1.05);
}
/* Individual color box backgrounds */
#grey {
background-color: #808080;
}
#white {
background-color: #ffffff;
}
#blue {
background-color: #4338ca;
}
#pink {
background-color: #f8b4d0;
}
/* Instructions */
.instructions {
text-align: center;
max-width: 28rem;
}
.instruction-text {
font-size: 1.25rem;
font-weight: 500;
color: #111827;
margin: 0.5rem 0;
}
/* Responsive Design */
@media (min-width: 768px) {
.title {
font-size: 3.5rem;
}
.button {
width: 6rem;
height: 6rem;
}
.instruction-text {
font-size: 1.5rem;
}
}
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, sans-serif;
}
button {
border: none;
outline: none;
}