Skip to content

Commit 6652806

Browse files
committed
Create style.css
1 parent ab56cb5 commit 6652806

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

password-generator/style.css

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
2+
3+
* {
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
background-color: #3b3b98;
9+
color: #fff;
10+
font-family: 'Muli', sans-serif;
11+
display: flex;
12+
flex-direction: column;
13+
align-items: center;
14+
justify-content: center;
15+
height: 100vh;
16+
overflow: hidden;
17+
padding: 10px;
18+
margin: 0;
19+
}
20+
21+
h2 {
22+
margin: 10px 0 20px;
23+
text-align: center;
24+
}
25+
26+
.container {
27+
background-color: #23235b;
28+
box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
29+
padding: 20px;
30+
width: 350px;
31+
max-width: 100%;
32+
}
33+
34+
.result-container {
35+
background-color: rgba(0, 0, 0, 0.4);
36+
display: flex;
37+
justify-content: flex-start;
38+
align-items: center;
39+
position: relative;
40+
font-size: 18px;
41+
letter-spacing: 1px;
42+
padding: 12px 10px;
43+
height: 50px;
44+
width: 100%;
45+
}
46+
47+
.result-container #result {
48+
word-wrap: break-word;
49+
max-width: calc(100% - 40px);
50+
overflow-y: scroll;
51+
height: 100%;
52+
}
53+
54+
#result::-webkit-scrollbar {
55+
width: 1rem;
56+
}
57+
58+
.result-container .btn {
59+
position: absolute;
60+
top: 5px;
61+
right: 5px;
62+
width: 40px;
63+
height: 40px;
64+
font-size: 20px;
65+
}
66+
67+
.btn {
68+
border: none;
69+
background-color: #3b3b98;
70+
color: #fff;
71+
font-size: 16px;
72+
padding: 8px 12px;
73+
cursor: pointer;
74+
}
75+
76+
.btn-large {
77+
display: block;
78+
width: 100%;
79+
}
80+
81+
.setting {
82+
display: flex;
83+
justify-content: space-between;
84+
align-items: center;
85+
margin: 15px 0;
86+
}

0 commit comments

Comments
 (0)