-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (124 loc) · 2.76 KB
/
style.css
File metadata and controls
139 lines (124 loc) · 2.76 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
body {
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f0f0f0;
margin: 0;
}
.container {
text-align: center;
background-color: white;
padding: 40px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
max-width: 980px;
}
h1 {
margin-bottom: 10px;
}
p {
margin-bottom: 20px;
color: #666;
}
#nameInput {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
#avatarCanvasContainer {
border-radius: 50%;
overflow: hidden;
margin-bottom: 20px;
width: 256px;
height: 256px;
display: inline-block;
box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Softer, more prominent shadow */
}
.controls {
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.control-group {
display: flex;
align-items: center;
gap: 5px;
}
#styleSelector {
padding: 5px;
border-radius: 5px;
border: 1px solid #ccc;
background-color: white;
}
.checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
}
#changePaletteBtn {
padding: 10px 15px;
border: 1px solid #007bff;
background-color: white;
color: #007bff;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
#changePaletteBtn:hover {
background-color: #007bff;
color: white;
}
#downloadBtn {
padding: 10px 20px;
border: none;
background-color: #007bff;
color: white;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#downloadBtn:hover {
background-color: #0056b3;
}
/* Demo Section */
.secondary-btn {
padding: 8px 12px;
border: 1px solid #6c757d;
background-color: #fff;
color: #6c757d;
border-radius: 5px;
cursor: pointer;
}
.secondary-btn:hover { background-color: #6c757d; color: #fff; }
.demo-section { margin-top: 24px; text-align: left; }
.demo-header { display:flex; justify-content: space-between; align-items: center; gap: 8px; }
.demo-hint { color:#666; margin: 8px 0 16px; }
.demo-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 16px;
}
.demo-card {
border: 1px solid #eee;
border-radius: 10px;
padding: 12px;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
background: #fff;
}
.demo-thumb {
width: 128px;
height: 128px;
border-radius: 50%;
overflow: hidden;
margin: 0 auto 8px;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.demo-card h3 { font-size: 14px; margin: 6px 0 0; text-align: center; }