-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
99 lines (89 loc) · 2.11 KB
/
index.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
body {
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
margin: 0;
background: #1F2937;
display: flex;
flex-direction: column;
padding: 115px 52px;
color: white;
}
h1 {
font-size: 2.5rem;
font-family: "Karla", sans-serif;
font-weight: 900;
letter-spacing: -2.5%;
}
p {
font-size: 1.25rem;
color: #D5D4D8;
margin-top: -15px;
}
button {
color: white;
background: #10B981;
padding: 12px 12px;
border: 1px solid transparent;
border-radius: 4px;
font-weight: 600;
transition: 250ms;
cursor: pointer;
font-size: 1rem;
}
.highlight {
color: #4ADF86;
}
.hero {
padding-bottom: 35px;
border-bottom: 1px solid #2F3E53;
}
#generate-btn {
max-width: 285px;
margin-top: 35px;
}
#generate-btn:hover {
filter: drop-shadow(5px 5px 35px rgba(5, 67, 47, 0.3)) brightness(1.05);
text-shadow: 1px 1.5px 1px rgba(4, 119, 86, 0.8);
transition: 250ms;
border: 1px solid #A7F3D0;
border-radius: 7px;
}
#generate-btn:active {
filter: drop-shadow(5px 5px 35px rgba(5, 150, 105, 0.5)) brightness(1.05);
scale: 1.03;
rotate: 5deg;
}
.password-container {
padding: 35px 0px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 24px;
}
.password-wrapper {
width: 100%;
min-height: 20px;
padding: 20px;
display: flex;
color: #4ADF86;
justify-content: center;
background: #273549;
border-radius: 6px;
transition: 150ms;
border: 5px dashed transparent;
}
.password-wrapper:empty {
opacity: 20%;
transition: 250ms;
}
.password-wrapper:not(:empty) {
border: 0;
border-radius: 0;
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%2362FF94BA' stroke-width='6' stroke-dasharray='15%2c 20%2c 1' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}
.password-wrapper:hover {
text-shadow: 2px 2px 2px rgb(22, 33, 26);
}