-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
134 lines (114 loc) · 2.08 KB
/
styles.css
File metadata and controls
134 lines (114 loc) · 2.08 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
body {
font-family: "Atkinson Hyperlegible", serif;
font-weight: 400;
/* background: linear-gradient(135deg, #74ebd5, #acb6e5); */
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
color: #333;
padding: 1rem;
box-sizing: border-box;
font-size: 1.1rem;
}
.container {
text-align: center;
background: #fff;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 600px;
box-sizing: border-box;
}
h1 {
margin-bottom: 1.5rem;
font-size: 2.5rem;
font-family: "Atkinson Hyperlegible", serif;
font-weight: 700;
}
.name-list-container {
margin-bottom: 1.2rem;
text-align: left;
}
p {
text-align: justify;
margin-bottom: 1.2rem;
}
label {
display: block;
font-weight: bold;
margin-bottom: 0.5rem;
font-size: 1.3rem;
}
#name-list {
width: 100%;
padding: 0.75rem;
border: 2px solid #6c757d;
border-radius: 5px;
font-size: 1.2rem;
resize: none;
box-sizing: border-box;
}
.name-display {
margin: 1.5rem 0;
padding: 1.5rem;
background: #f8f9fa;
border: 2px dashed #6c757d;
border-radius: 8px;
}
#selected-name {
font-size: 1.5rem;
font-weight: bold;
color: #007bff;
}
.button {
background: #007bff;
color: #fff;
border: none;
padding: 0.75rem 1.5rem;
font-size: 1.2rem;
font-weight: 700;
stroke-width: 1px;
cursor: pointer;
border-radius: 5px;
transition: background 0.3s ease;
}
.button:hover {
background: #0056b3;
}
.toast {
position: fixed;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 12px 24px;
border-radius: 4px;
display: none;
z-index: 1000;
opacity: 0;
transition: opacity 0.3s ease;
}
.toast.show {
opacity: 1;
}
@keyframes fadeIn {
from { opacity: 0; transform: translate(-50%, 20px); }
to { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 480px) {
.container {
padding: 1.5rem;
}
h1 {
font-size: 1.5rem;
}
#name-list {
padding: 0.5rem;
}
.name-display {
padding: 1rem;
}
}