-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (102 loc) · 1.86 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
body {
margin: 0;
padding: 0;
font-family: "Fira Code", monospace, sans-serif;
background: #222935;
color: #1E1E1E;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 20px;
}
.generator {
width: 400px;
background: #EBEBEB;
padding: 20px;
border-radius: 10px;
-webkit-box-shadow: 6px 6px 12px -9px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 6px 6px 12px -9px rgba(0, 0, 0, 0.4);
box-shadow: 6px 6px 12px -9px rgba(0, 0, 0, 0.4);
}
.generator h1 {
text-align: center;
font-size: 34px;
margin: 16px;
}
.generator-container {
display: grid;
grid-template-columns: 2fr 1fr;
grid-gap: 5px 0;
}
.generate-btn {
grid-column: span 2;
}
.generate-btn button {
background: #222935;
width: 100%;
height: 35px;
border-radius: 5px;
border: none;
color: white;
font-family: "Fira Code", monospace, sans-serif;
font-size: 18px;
}
#length {
width: 40%;
height: 35px;
border: none;
border-radius: 5px;
font-family: "Fira Code", monospace, sans-serif;
font-size: 18px;
outline: none;
margin-right: none;
padding: 0;
text-align: center;
}
.length {
display: flex;
align-items: center;
}
#password {
width: 100%;
height: 35px;
border: none;
border-radius: 5px 0 0 5px;
font-family: "Fira Code", monospace, sans-serif;
font-size: 18px;
margin-right: none;
padding: 0 10px;
}
.copy-btn {
background: #222935;
width: 100%;
height: 35px;
border: none;
border-radius: 0 5px 5px 0;
color: white;
font-family: "Fira Code", monospace, sans-serif;
font-size: 18px;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
}
.copy-btn img {
transform: translate(-5px, 1px);
}
.item {
margin: 5px;
}
.item-password {
margin-right: 0;
}
.item-copy {
margin-left: 0;
}
.right {
display: flex;
justify-content: flex-end;
}