-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
147 lines (122 loc) · 3.01 KB
/
style.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
body {
font-family: Arial, sans-serif;
background-color: #000;
color: #fff;
margin: 0;
padding: 0;
}
/* Styling for the header section */
header {
text-align: center;
background-color: #282727;
padding: 20px;
}
header h1 {
margin: 0;
display: inline-block;
position: relative;
font-family: 'Merriweather', serif;
-webkit-mask-image: linear-gradient(-75deg, rgba(255, 255, 255, .6) 30%, #ffffff 50%, rgba(255, 255, 255, 0.6) 90%);
-webkit-mask-size: 200%;
animation: shine 0.4s linear infinite;
}
@keyframes shine {
from { -webkit-mask-position: 150%; }
to { -webkit-mask-position: -50%; }
}
/* Styling for the main content section */
main {
padding: 20px;
}
/* Styling for the password input container */
#password-input {
background-color: #282727;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}
label {
font-weight: bold;
}
/* Styling for password input field */
input[type="password"] {
width: 80%;
padding: 10px;
margin-top: 10px;
}
/* Styling for the "Show Password" button */
button#show-password {
background-color: #444;
color: #fff;
border-radius: 5px;
padding: 5px 10px;
margin-top: 10px;
cursor: pointer;
}
#show-password {
background-color: #444;
color: #fff;
border: none;
padding: 5px 10px;
margin-top: 10px;
cursor: pointer;
transition: box-shadow 0.3s ease-in-out; /* Transition for the box-shadow */
}
#show-password:hover {
box-shadow: 0px 0px 10px 2px rgba(154,205,50, 1); /* Glow effect on hover */
}
/* Styling for the password strength meter container */
#password-strength-meter {
height: 20px;
background-color: #444;
border-radius: 6px;
margin-top: 10px;
position: relative;
overflow: hidden;
}
#strength-bar {
height: 100%;
border-radius: 6px;
transition: width 0.3s ease-in-out;
}
.weak {
background-color: #FF3131; /* Red for weak */
}
.moderate {
background-color: #FFF01F; /* Yellow for moderate */
}
.strong {
background-color: #39FF14; /* Green for strong */
}
#password-length,
#password-strength {
font-weight: bold;
}
#password-suggestions {
margin-top: 20px;
}
ul#suggestions-list {
list-style: none;
padding: 0;
}
/* Styling for the footer section */
footer {
text-align: center;
padding: 10px;
background-color: #333;
}
/* Media query for screens with a maximum width of 767px */
@media (max-width: 767px) {
body {
font-size: 16px; /* Adjusting font size for smaller screens */
}
header {
padding: 10px; /* Adjusting header padding for smaller screens */
}
main {
padding: 10px; /* Adjusting main content padding for smaller screens */
}
#password-input {
padding: 10px; /* Adjusting password input padding for smaller screens */
}
}