-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
180 lines (166 loc) · 4.04 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/**
* FILEPATH: /c:/Users/localhost/Desktop/exp/gotapwd/style.css
*
* This CSS file contains styles for a password generator web page.
* It imports Google Fonts and defines styles for the body, container, title, password, and other elements.
* It also includes media queries for adjusting styles on mobile devices.
* The styles use colors such as black, green, and gray to create a visually appealing design.
* The password element has different styles for uppercase letters, lowercase letters, numbers, and symbols.
* The refresh button has hover effects and can be rotated.
* The copy message and count types elements have specific styles for their display.
* The question mark element has hover effects and a specific color.
*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
body {
font-family: "fira code", sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: black;
}
body {
overflow: hidden;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: 0;
cursor: url(
"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zm0 30c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14-6.268 14-14 14zm-1-6h2v-2h-2v2zm0-4h2v-10h-2v10z' fill='%231cd400'/></svg>"
), auto;
}
canvas:hover {
background-color: rgb(24, 70, 19)
}
#container {
background-color: black;
border-radius: 50px;
padding: 30px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 890px;
height: 345px;
border-top: 5px solid #1cd400;
border-bottom: 5px solid #1cd400;
position: relative;
z-index: 1;
font-size: xx-large;
}
#container:hover {
/* cursor: pointer; */
border-top: 5px solid black;
border-bottom: 5px solid black;
border-left: 5px solid #1cd400;
border-right: 5px solid #1cd400;
border-left-width: 5px;
border-right-width: 5px;
}
/* Adjustments for mobile devices */
/* @media (max-width: 1000px) {
#container {
width: 90%; /* Reduce width for smaller screens */
/* font-size: x-large; */
/* } */
/* } */
#title {
color: rgb(24, 70, 19);
background-color: black;
font-family: fira code;
font-size: 40px;
}
#title .title-color {
color: #1cd400;
}
#title .title-color:hover {
color: rgb(24, 70, 19);
}
#title .title-color.grey-color {
color: rgb(24, 70, 19);
}
#password {
margin: 10px auto;
background-color: black;
padding: 20px;
border: 3px dashed rgb(24, 70, 19);
border-radius: 50px;
width: 600px;
text-align: center;
font-weight: 500;
font-family: fira code;
font-size: 35px;
}
.uppercase {
color:rgb(24, 70, 19);
}
.lowercase {
color: rgb(24, 70, 19);
}
.number {
color: grey;
}
.symbol {
color: #1cd400;
}
::selection {
color: #1cd400;
background: rgb(24, 70, 19);
}
#password:hover {
cursor: grab;
border-top: 3px solid rgb(24, 70, 19);
border-bottom: 3px solid rgb(24, 70, 19);
border-left: 3px solid #1cd400;
border-right: 3px solid #1cd400;
border-left-width: 5px;
border-right-width: 5px;
}
#refreshButton {
background-color: black;
color: #1cd400;
border: 3px dashed rgb(24, 70, 19);
border-radius: 50%;
width: 80px;
height: 80px;
cursor: pointer;
text-decoration: none;
padding: 0;
display: inline-block;
font-size: 40px;
}
#refreshButton.rotate {
transform: rotate(-180deg);
transition: transform 0.3s ease-in-out;
}
#refreshButton:hover {
border: 5px solid #1cd400;
color: grey;
font-size: 35px;
}
#copyMessage {
color: #1cd400;
margin-top: 8px;
display: block;
background-color: black;
font-size: x-large;
}
#countTypes {
color: #1cd400;
margin-top: 8px;
display: block;
background-color: black;
font-size: x-large;
}
#question-mark {
background-color: black;
color: #1cd400;
}
#question-mark:hover {
color: grey;
}
#question-mark.question-mark-color {
color: grey
}