-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
116 lines (100 loc) · 2 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
background-color: #141E46;
color: #141E46;
}
main {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 2rem;
}
.generator {
width: 100%;
max-width: 640px;
padding: 2rem 1rem;
background-color: #fff;
border-radius: 1rem;
}
h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
input:not([type="checkbox"]),
button {
appearance: none;
outline: none;
border: none;
background: none;
}
input[type="checkbox"] {
cursor: pointer;
}
.password-wrap {
position: relative;
display: flex;
width: 100%;
margin-bottom: 1rem;
}
.password-wrap:after {
content: '';
display: black;
position: absolute;
top: 100%;
height: 3px;
left: 0;
right: 0;
border-radius: 3px;
background: linear-gradient(273deg, rgba(135,85,196,1) 20%, rgba(252,70,107,1) 80%);
}
.password-wrap input {
flex: 1 1 0%;
padding: 0.5rem;
color: #282847;
font-size: 1rem;
font-weight: 600;
}
.password-wrap input::placeholder {
color: #888;
font-style: normal;
}
.password-wrap button {
cursor: pointer;
background: linear-gradient(273deg, rgba(135,85,196,1) 0%, rgba(252,70,107,1) 80%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
label {
display: flex;
user-select: none;
margin-bottom: 1rem;
}
label span {
display: block;
flex: 1 1 0%;
white-space: nowrap;
}
label input[type="number"] {
text-align: right;
}
button[type="submit"] {
cursor: pointer;
padding: 0.5rem 1rem;
color: #FFF;
font-weight: bold;
text-transform: uppercase;
border-radius: 0.5rem;
background: linear-gradient(273deg, rgba(135,85,196,1) 25%, rgba(252,70,107,1) 50%);
background-size: 200%;
background-position: 25%;
transition: 0.3s ease-out;
}
button[type="submit"]:hover {
background-position: 75%
}