-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (96 loc) · 1.95 KB
/
Copy pathstyle.css
File metadata and controls
109 lines (96 loc) · 1.95 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
/* --- Global Reset & Body Styling --- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f3f4f6;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #333;
}
/* --- Main Card Container --- */
.card {
background-color: #ffffff;
width: 90%;
max-width: 400px;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 16px;
}
/* --- Text & Number Inputs --- */
input[type="text"],
input[type="number"] {
width: 100%;
padding: 12px 16px;
border: 1.5px solid #d1d5db;
border-radius: 8px;
font-size: 1rem;
outline: none;
transition: border-color 0.3s ease;
}
input[type="text"]:focus,
input[type="number"]:focus {
border-color: #3b82f6;
}
/* --- Specific Styling for Password Display --- */
#password {
background-color: #f9fafb;
font-family: 'Courier New', Courier, monospace;
font-size: 1.2rem;
letter-spacing: 2px;
color: #111827;
cursor: default;
}
/* --- Buttons --- */
button {
width: 100%;
padding: 12px;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.1s ease;
}
button:active {
transform: scale(0.98);
}
#copy {
background-color: #e5e7eb;
color: #374151;
}
#copy:hover {
background-color: #d1d5db;
}
#generate {
background-color: #3b82f6;
color: #ffffff;
margin-top: 10px;
}
#generate:hover {
background-color: #2563eb;
}
/* --- Checkboxes & Labels --- */
label {
display: flex;
align-items: center;
gap: 12px;
font-size: 1rem;
color: #4b5563;
cursor: pointer;
user-select: none; /* Prevents text highlighting when clicking fast */
}
input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: #3b82f6; /* Modern standard for changing checkbox color */
}