Skip to content

Commit 7e17e87

Browse files
committed
Stuff
1 parent 046ef95 commit 7e17e87

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

Password-Generator.zip

-786 KB
Binary file not shown.

css/popup.css

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ html {
1111
width: 100%;
1212
background-image: url("../img/bk.png");
1313
background-repeat: round;
14+
display: inline-flex
1415
}
1516

1617
body,
@@ -80,24 +81,28 @@ hr {
8081
display: grid;
8182
gap: 13px 13px;
8283
grid-template-columns: 1fr 1fr;
84+
margin: 5%;
85+
margin-right: 25px;
8386
}
8487
.grid-item {
85-
background: var(--primary);
88+
text-align: center;
8689
border-radius: 30px;
8790
box-shadow: var(--secondary) 0 10px 20px -10px;
8891
color: white;
8992
cursor: pointer;
90-
font-family: sans-serif;
91-
font-size: xx-large;
92-
font-weight: 600;
9393
line-height: 24px;
94-
margin-right: 10px;
9594
outline: 0 solid transparent;
9695
padding: 8px 18px;
9796
width: fit-content;
97+
max-width: 90px;
98+
min-width: 90px;
9899
border: 0;
99100
height: auto;
100101
cursor: pointer;
102+
103+
}
104+
#content {
105+
margin-left: 10%;
101106
}
102107
.grid-item:hover {
103108
/* background-color: #741e39;
@@ -115,18 +120,12 @@ hr {
115120
height: auto;
116121
cursor: pointer;
117122
}
118-
.left {
119-
margin-left: 15%;
120-
}
121-
.right {
122-
margin-right: 15%;
123-
}
124123
.slider {
125124
width: 85%;
126125
}
127126
.min{
128-
float: left;
129-
margin-left: 10%;
127+
/* float: left; */
128+
/* margin-left: 10%; */
130129
color: gray;
131130
}
132131
.max{
@@ -176,7 +175,7 @@ select {
176175
}
177176

178177
.left-20 {
179-
margin-left: 20px;
178+
/* margin-left: 20px; */
180179
}
181180

182181
#generate-password{

js/popup.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
function generateRandomStrongPassword() {
32

43
let size = document.getElementById('slider').value;
@@ -80,4 +79,4 @@ document.addEventListener('DOMContentLoaded', function () {
8079
document.getElementById("current-size").innerHTML = document.getElementById('slider').value;
8180
});
8281

83-
});
82+
});

popup.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,23 @@ <h2>Generate all password you want!</h2>
4343
<p>01..9</p>
4444
</div>
4545
<div class="grid-item right clicked" id="symbols">
46-
<p>;?/...</p>
46+
<p>;?/[</p>
4747
</div>
4848
</div></div>
4949
<div class="section">
5050
<button class="btn elem-with-background" type="button" id="generate-password">Generate!</button>
51+
<br>
52+
<br>
53+
<span class="min"><i>copy-pasta</i></span>
5154
</div>
5255
<div class="section">
5356
<input type="text" class="form-control" id="password" name="input-group-2" placeholder="Generate Password!">
5457
</div>
5558
<hr>
5659
<div class="section end">
5760
<h3><b>Credits...</b></h3>
58-
<p><b>Author</b>: Alessandro Greco</p>
59-
<p><b>Website</b>: <a href="https://autistici.org/aleff" target="_blank">autistici.org/aleff</a></p>
60-
<p><b>Donate</b>: <a href="https://github.com/sponsors/aleff-github" target="_blank">GitHub Sponsor</a></p>
61+
<p><b>Author</b>: Aleff</p>
62+
<p><b>Website</b>: <a href="https://aleff-gitlab.gitlab.io/" target="_blank">aleff-gitlab.gitlab.io/</a></p>
6163
</div>
6264
</div>
6365
</body>

0 commit comments

Comments
 (0)