150 |
About
151 |
Help Center
152 |
Terms and Conditions
153 |
Privacy Policy
154 |
Cookie Poilicy
155 |
Accessibililty
156 |
Ads info
157 |
Blog
158 |
Status
159 |
Careers
160 |
Brand Resources
161 |
Advertising
162 |
Marketing
163 |
Twitter for Business
164 |
Developers
165 |
Directory
166 |
Settings
167 |
2022 Twitter,Inc
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
--------------------------------------------------------------------------------
/css/style.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: "TwitterChirpBold";
3 | src: url("../fonts/chirp-bold-web.woff") format("woff");
4 | }
5 |
6 | @font-face {
7 | font-family: "TwitterChirpRegular";
8 | src: url("../fonts/chirp-regular-web.woff") format("woff");
9 | }
10 |
11 | @font-face {
12 | font-family: "TwitterChirpExtendedHeavy";
13 | src: url("../fonts/chirp-extended-heavy-web.woff") format("woff");
14 | }
15 |
16 | @font-face {
17 | font-family: "Open Sans Medium";
18 | src: url(../fonts/OpenSans-Medium.ttf);
19 | }
20 |
21 | @font-face {
22 | font-family: "Open Sans Light";
23 | src: url(../fonts/OpenSans-Light.ttf);
24 | }
25 |
26 | * {
27 | margin: 0;
28 | padding: 0;
29 | top: 0;
30 | box-sizing: border-box;
31 | }
32 |
33 | body {
34 | height: 100%;
35 | width: 100%;
36 | background-color: black;
37 | }
38 |
39 | .container {
40 | display: flex;
41 | align-items: center;
42 | }
43 |
44 | .container .signin-window {
45 | display: none;
46 | position: absolute;
47 | width: 100%;
48 | height: 123vh;
49 | background-color: rgba(255, 255, 255, 0.200);
50 | }
51 |
52 | .auth-window {
53 | position: fixed;
54 | top: 50%;
55 | left: 50%;
56 | transform: translate(-50%, -50%);
57 | width: 45vw;
58 | height: 90vh;
59 | background-color: black;
60 | z-index: 1;
61 | border-radius: 15px;
62 | }
63 |
64 | .blue-mode {
65 | background-color: rgb(29, 155, 240);
66 | color: #fff;
67 | }
68 |
69 | .dark-button {
70 | background-color: black;
71 | color: white;
72 | }
73 |
74 | .auth-window .top-icons {
75 | padding: 10px;
76 | width: 55%;
77 | height: 8%;
78 | /* background-color: red; */
79 | display: flex;
80 | align-items: center;
81 | justify-content: space-between;
82 | color: #fff;
83 | }
84 |
85 | .top-icons .close {
86 | width: 9.5%;
87 | height: 100%;
88 | border-radius: 50%;
89 | /* background-color: red; */
90 | display: flex;
91 | align-items: center;
92 | justify-content: center;
93 | cursor: pointer;
94 | }
95 |
96 | .close:hover {
97 | background-color: rgba(255, 255, 255, 0.2);
98 | }
99 |
100 | .top-icons .twitter-icon {
101 | width: 16%;
102 | height: 100%;
103 | margin-top: 10px;
104 | /* background-color: red; */
105 | display: flex;
106 | align-items: center;
107 | justify-content: center;
108 | }
109 |
110 | .close i {
111 | font-size: 24px;
112 | }
113 |
114 | .twitter-icon img {
115 | height: 100%;
116 | object-fit: cover;
117 | }
118 |
119 | .auth-window .sign-in-form {
120 | width: 50%;
121 | height: 70%;
122 | margin: 25px auto;
123 | display: flex;
124 | flex-direction: column;
125 | /* align-items: center; */
126 | justify-content: space-around;
127 | /* background-color: red; */
128 | /* text-align: left; */
129 | }
130 |
131 | .sign-in-form h2 {
132 | font-family: "TwitterChirpBold";
133 | color: #fff;
134 | font-size: 30px;
135 | }
136 |
137 | .sign-in-form .auth {
138 | width: 100%;
139 | height: 9%;
140 | font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
141 | font-weight: 500;
142 | border-radius: 30px;
143 | display: flex;
144 | justify-content: center;
145 | align-items: center;
146 | cursor: pointer;
147 | }
148 |
149 | .signin-google {
150 | background-color: white;
151 | }
152 |
153 | .signin-apple {
154 | background-color: white;
155 | }
156 |
157 | .auth .logo {
158 | width: 8.5%;
159 | height: 70%;
160 | margin-top: 8px;
161 | }
162 |
163 | .auth img {
164 | height: 70%;
165 | object-fit: cover;
166 | }
167 |
168 | .sign-in-form .user-input {
169 | width: 100%;
170 | height: 12%;
171 | position: relative;
172 | }
173 |
174 | .user-input input {
175 | background-color: transparent;
176 | border: none;
177 | outline: none;
178 | width: 100%;
179 | height: 100%;
180 | color: #fff;
181 | padding: 10px;
182 | font-size: 16px;
183 | border: 1px solid #333639;
184 | transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
185 | }
186 |
187 | .user-input input:focus {
188 | transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
189 | border-color: #449eef;
190 | }
191 |
192 | .next-button {
193 | background-color: white;
194 | }
195 |
196 | .forgot-pwd {
197 | border: 1px solid #333639;
198 | background-color: black;
199 | color: #fff;
200 | }
201 |
202 | .auth:hover {
203 | transition: opacity cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
204 | opacity: 0.9;
205 | }
206 |
207 | .sign-in h3 {
208 | position: absolute;
209 | top: 90%;
210 | color: #72767b;
211 | font-family: "TwitterChirpRegular";
212 | font-size: 15px;
213 | font-weight: 400;
214 | text-align: left;
215 | }
216 |
217 | .auth-window h3 a {
218 | color: #449eef;
219 | cursor: pointer;
220 | }
221 |
222 | .auth-window h3 a:hover {
223 | text-decoration: underline;
224 | }
225 |
226 | .sign-up {
227 | display: none;
228 | }
229 |
230 | .sign-up .sign-up-form {
231 | width: 50%;
232 | height: 50%;
233 | margin: 25px auto;
234 | display: flex;
235 | flex-direction: column;
236 | justify-content: space-around;
237 | }
238 |
239 | .sign-up-form h2 {
240 | font-family: "TwitterChirpBold";
241 | color: #fff;
242 | font-size: 30px;
243 | }
244 |
245 | .sign-up-form .auth {
246 | width: 100%;
247 | height: 13%;
248 | font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
249 | font-weight: 500;
250 | border-radius: 30px;
251 | display: flex;
252 | justify-content: center;
253 | align-items: center;
254 | cursor: pointer;
255 | border: 2px solid #dad9d9;
256 | }
257 |
258 | .sign-up h3 {
259 | color: #72767b;
260 | font-family: "TwitterChirpRegular";
261 | font-size: 12px;
262 | font-weight: 400;
263 | text-align: left;
264 | }
265 |
266 | #login-text {
267 | font-size: 15px;
268 | margin-bottom: -100px;
269 | }
270 |
271 | .section1 {
272 | background-image: url(../img/background1.png);
273 | background-position: center;
274 | width: 50%;
275 | height: 85vh;
276 | background-repeat: no-repeat;
277 | display: flex;
278 | justify-content: center;
279 | }
280 |
281 | .section1 img {
282 | height: 50%;
283 | max-width: 100%;
284 | margin: auto;
285 | display: inline-block;
286 | padding: 0 1rem;
287 | }
288 |
289 | /*Section 2*/
290 | .section2 {
291 | width: 50%;
292 | padding: 0 1rem;
293 | color: white;
294 | text-align: center;
295 | }
296 |
297 | .box1 {
298 | display: flex;
299 | flex-direction: column;
300 | margin-left: 20px;
301 | }
302 |
303 | .box1 img {
304 | height: 50px;
305 | margin: 20px 20px;
306 | }
307 |
308 | .box1 h1 {
309 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
310 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
311 | margin: 10px 20px;
312 | margin-top: 0;
313 | font-size: 65px;
314 | font-weight: 900;
315 | }
316 |
317 | .box1 h2 {
318 | margin: 10px 20px;
319 | margin-bottom: 50px;
320 | font-size: 32px;
321 | font-weight: 900;
322 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
323 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
324 | }
325 |
326 | /*Box2*/
327 |
328 | .box2 {
329 | display: flex;
330 | justify-content: center;
331 | }
332 |
333 | button {
334 | color: black;
335 | background: white;
336 | display: flex;
337 | justify-content: center;
338 | align-items: center;
339 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
340 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
341 | }
342 |
343 | button:hover {
344 | background-color: rgb(222, 222, 222);
345 | border: 3px solid rgb(222, 222, 222);
346 | }
347 |
348 | .btn1 {
349 | width: 100%;
350 | padding: 1rem;
351 | max-width: 250px;
352 | font-weight: 600;
353 | border-radius: 30px;
354 | text-align: center;
355 | margin-right: 10px;
356 | line-height: 25px;
357 | border: 3px solid rgb(218, 217, 217);
358 | cursor: pointer;
359 | font-size: 1vw;
360 | height: 45px;
361 | transition: 200ms ease;
362 | }
363 |
364 | .btn1 img {
365 | height: 20px;
366 | margin: 2px 10px;
367 | }
368 |
369 | /*Btn2*/
370 | .btn2 {
371 | width: 100%;
372 | padding: 1rem;
373 | max-width: 250px;
374 | margin-left: 10px;
375 | border: 3px solid rgb(218, 217, 217);
376 | border-radius: 30px;
377 | font-weight: 600;
378 | cursor: pointer;
379 | line-height: 25px;
380 | font-size: 1vw;
381 | height: 45px;
382 | transition: 200ms ease;
383 | }
384 |
385 | .btn2 img {
386 | height: 20px;
387 | margin: 2px 10px;
388 | }
389 |
390 | .htab {
391 | display: flex;
392 | /* width:; */
393 | justify-content: center;
394 | margin: 4px 0;
395 | }
396 |
397 | .htab .left,
398 | .htab .right {
399 | margin: auto 4px;
400 | background-color: rgb(47, 51, 54);
401 | height: 1px;
402 | width: 19vw;
403 | }
404 |
405 | .htab .center span {
406 | margin: 0 4px;
407 | color: rgb(231, 233, 234);
408 | font-size: 15px;
409 | text-decoration: none;
410 | cursor: text;
411 | font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
412 | }
413 |
414 | .email {
415 | display: inline-block;
416 | color: white;
417 | padding: 10px 40px;
418 | border: 3px solid rgb(29, 155, 240);
419 | border-radius: 30px;
420 | font-weight: 600;
421 | background-color: rgb(29, 155, 240);
422 | cursor: pointer;
423 | transition: 200ms ease;
424 | }
425 |
426 | .email:hover {
427 | background-color: rgb(14, 127, 202);
428 | border: 3px solid rgb(14, 127, 202);
429 | }
430 |
431 | .signin {
432 | transition: 200ms ease;
433 | }
434 |
435 | .signin:hover {
436 | background-color: rgb(14, 127, 202);
437 | border: 3px solid rgb(14, 127, 202);
438 | }
439 |
440 | p {
441 | font-size: 12px;
442 |
443 | color: rgb(115, 131, 134);
444 | margin-top: 20px;
445 | text-align: center;
446 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
447 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
448 | }
449 |
450 | span {
451 | color: rgb(29, 155, 240);
452 | cursor: pointer;
453 | }
454 |
455 | span:hover {
456 | text-decoration: underline;
457 | text-decoration-color: rgb(29, 155, 240);
458 | }
459 |
460 | footer {
461 | position: relative;
462 | }
463 |
464 | .account {
465 | font-weight: 900;
466 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
467 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
468 | font-size: 20px;
469 | margin-top: 20px;
470 | margin-bottom: 10px;
471 | }
472 |
473 | .account button {
474 | margin: auto;
475 | max-width: 350px;
476 | width: 100%;
477 | margin-top: 28px;
478 | color: white;
479 | /*change needed*/
480 | padding: 10px 0px;
481 | border: 2px solid rgb(29, 155, 240);
482 | /*change needed*/
483 | border-radius: 30px;
484 | font-weight: 600;
485 | background-color: rgb(29, 155, 240);
486 | /*change needed*/
487 | cursor: pointer;
488 | font-size: 18px;
489 | }
490 |
491 | .account button:hover {
492 | background-color: rgb(23, 130, 201);
493 | /*change needed*/
494 | border: 2px solid rgb(23, 130, 201);
495 | /*change needed*/
496 | }
497 |
498 | .container2 {
499 | /* padding: 10px auto 0 auto !important; */
500 | display: flex;
501 | /* background: black; */
502 | background: transparent;
503 | /*changed just remove this*/
504 | padding: 20px 10px;
505 | padding-bottom: 0px;
506 | align-items: center;
507 | justify-content: center;
508 | flex-wrap: wrap;
509 | font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
510 | Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
511 | font-size: 14px;
512 | }
513 |
514 | .container2 a {
515 | margin: 4px 0;
516 | padding-right: 16px;
517 | color: grey;
518 | text-decoration: none;
519 | /* margin-bottom: 10px; */
520 | }
521 |
522 | .container2 a:hover {
523 | text-decoration: underline;
524 | transition: 1s;
525 | }
526 |
527 | .account button {
528 | width: 100%;
529 | }
530 |
531 | .Phone {
532 | flex-direction: column;
533 | align-items: start;
534 | justify-content: center;
535 | text-align: center;
536 | }
537 |
538 | .Phone p {
539 | margin-top: 8px;
540 | margin-bottom: 20px;
541 | }
542 |
543 | /*Media Queries (FOR MOBILE)*/
544 |
545 | @media (max-width: 820px) {
546 | .btn1 {
547 | width: 250px;
548 | height: 30px;
549 | font-size: 13px;
550 | }
551 |
552 | .btn2 {
553 | width: 250px;
554 | height: 30px;
555 | font-size: 13px;
556 | }
557 |
558 | .box1 img {
559 | height: 35px;
560 | margin: 10px 10px;
561 | }
562 |
563 | .box1 h1 {
564 | font-size: 45px;
565 | }
566 |
567 | .box1 h2 {
568 | font-size: 30px;
569 | margin-bottom: 20px;
570 | }
571 |
572 | .account button {
573 | margin-top: 20px;
574 | }
575 | }
576 |
577 | @media (max-width: 550px) {
578 | .container {
579 | flex-direction: column;
580 | }
581 |
582 | .container2 {
583 | width: 100%;
584 | padding: 10px 10px;
585 | }
586 |
587 | .section1 {
588 | width: 100%;
589 | display: none;
590 | }
591 |
592 | .section2 {
593 | height: 754px;
594 | width: 100%;
595 | }
596 |
597 | #twit {
598 | height: 19%;
599 | }
600 |
601 | .box1 {
602 | margin-left: 0;
603 | }
604 |
605 | .box1 h1 {
606 | font-size: 37px;
607 | }
608 |
609 | .box2 {
610 | display: block;
611 | }
612 |
613 | .btn1,
614 | .btn2 {
615 | margin: 10px auto;
616 | }
617 |
618 | .email {
619 | display: block;
620 | margin: auto;
621 | }
622 |
623 | .account {
624 | display: block;
625 | margin: 22px auto;
626 | }
627 |
628 | /* .auth text {
629 | display: none;
630 | } */
631 |
632 | .container .signin-window {
633 | display: none;
634 | position: absolute;
635 | width: 100vw;
636 | height: 100vh;
637 | background-color: rgba(0, 0, 0, 0);
638 | }
639 |
640 | .auth-window {
641 | position: absolute;
642 | top: 50%;
643 | left: 50%;
644 | transform: translate(-50%, -50%);
645 | width: 100vw;
646 | height: 100vh;
647 | background-color: black;
648 | z-index: 1;
649 | border-radius: 15px;
650 | }
651 |
652 | .auth-window .top-icons {
653 | padding: 10px;
654 | width: 55%;
655 | height: 6%;
656 | /* background-color: red; */
657 | display: flex;
658 | align-items: center;
659 | justify-content: space-between;
660 | color: #fff;
661 | }
662 |
663 | .top-icons .close {
664 | width: 9.5%;
665 | height: 100%;
666 | border-radius: 50%;
667 | /* background-color: red; */
668 | display: flex;
669 | align-items: center;
670 | justify-content: center;
671 | cursor: pointer;
672 | }
673 |
674 | .top-icons .twitter-icon {
675 | width: 16%;
676 | height: 100%;
677 | margin-top: 10px;
678 | /* background-color: red; */
679 | display: flex;
680 | align-items: center;
681 | justify-content: center;
682 | }
683 |
684 | .close i {
685 | font-size: 24px;
686 | }
687 |
688 | .auth-window .sign-in-form {
689 | padding-top: 60px;
690 | width: 80%;
691 | height: 70%;
692 | display: flex;
693 | flex-direction: column;
694 | justify-content: space-around;
695 | /* background-color: red; */
696 | }
697 |
698 | .form h2 {
699 | font-family: "TwitterChirpBold";
700 | color: #fff;
701 | font-size: 30px;
702 | }
703 |
704 | .sign-in-form .auth {
705 | width: 100%;
706 | height: 9%;
707 | font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
708 | font-weight: 500;
709 | border-radius: 30px;
710 | display: flex;
711 | justify-content: center;
712 | align-items: center;
713 | cursor: pointer;
714 | border: 2px solid #dad9d9;
715 | }
716 |
717 | .signin-google {
718 | background-color: white;
719 | }
720 |
721 | .signin-apple {
722 | background-color: white;
723 | }
724 |
725 | .auth .logo {
726 | width: 9%;
727 | height: 70%;
728 | margin-top: 8px;
729 | }
730 |
731 | .auth img {
732 | height: 70%;
733 | object-fit: cover;
734 | }
735 |
736 | .sign-in-form .user-input {
737 | width: 100%;
738 | height: 12%;
739 | position: relative;
740 | }
741 |
742 | .sign-in h3 {
743 | position: absolute;
744 | top: 85%;
745 | color: #72767b;
746 | font-family: "TwitterChirpRegular";
747 | font-size: 15px;
748 | font-weight: 400;
749 | text-align: left;
750 | }
751 |
752 | .sign-up .sign-up-form {
753 | padding-top: 100px;
754 | width: 80%;
755 | height: 60%;
756 | display: flex;
757 | flex-direction: column;
758 | justify-content: space-around;
759 | /* background-color: red; */
760 | }
761 |
762 | .sign-up-form h2 {
763 | font-family: "TwitterChirpBold";
764 | color: #fff;
765 | font-size: 30px;
766 | }
767 |
768 | .sign-up-form .auth {
769 | width: 100%;
770 | height: 13%;
771 | font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
772 | font-weight: 500;
773 | border-radius: 30px;
774 | display: flex;
775 | justify-content: center;
776 | align-items: center;
777 | cursor: pointer;
778 | border: 2px solid #dad9d9;
779 | }
780 |
781 | #login-text {
782 | font-size: 15px;
783 | margin-bottom: -100px;
784 | }
785 | }
786 |
787 | /*FOR Tab*/
788 | @media screen and (max-width: 820px) {
789 | .container {
790 | flex-direction: column-reverse;
791 | gap: 0;
792 | }
793 |
794 | .section2 {
795 | width: 100vw;
796 | }
797 |
798 | .section1 {
799 | width: 100%;
800 | height: 45vh;
801 | overflow: hidden;
802 | }
803 |
804 | .section1 {
805 | background-size: unset;
806 | }
807 |
808 | .section2 {
809 | height: unset;
810 | }
811 |
812 | .box1 {
813 | margin-left: 0px;
814 | }
815 |
816 | .box2 {
817 | display: block;
818 | /* height: 100px; */
819 | }
820 |
821 | .btn1,
822 | .btn2 {
823 | margin: 10px auto;
824 | }
825 |
826 | .account {
827 | padding-bottom: 20px;
828 | }
829 | }
830 |
831 | @media screen and (max-width: 1140px) {
832 | .Phone {
833 | align-items: center;
834 | }
835 |
836 | .Phone p,
837 | .email,
838 | .account {
839 | margin-left: auto;
840 | margin-right: auto;
841 | }
842 | }
843 |
844 | /*HUBS*/
845 |
846 | /* COLOR TOGGLE */
847 |
848 | .toggle__button {
849 | background-color: rgb(180, 180, 180);
850 | height: 2.5rem;
851 | width: 2.5rem;
852 | position: fixed;
853 | top: 1.5rem;
854 | right: 1.5rem;
855 | border-radius: 50%;
856 | z-index: 2000;
857 | border: 2px solid black;
858 | justify-content: center;
859 | text-align: center;
860 | cursor: pointer;
861 | }
862 |
863 | .fa-sun:before {
864 | position: absolute;
865 | top: 10px;
866 | left: 10px;
867 | }
868 |
869 | .dark-mode {
870 | background-color: white !important;
871 | color: black !important;
872 | }
873 |
874 | .dark-mode .center span {
875 | color: black;
876 | }
877 |
878 | .black {
879 | color: black;
880 | }
881 |
882 | .blue {
883 | background-color: rgb(29, 155, 240);
884 | }
885 |
886 | .invert {
887 | filter: invert(1);
888 | }
--------------------------------------------------------------------------------