File tree Expand file tree Collapse file tree 2 files changed +3
-81
lines changed Expand file tree Collapse file tree 2 files changed +3
-81
lines changed Original file line number Diff line number Diff line change 77 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
88 < title > Neumorphism Password generator</ title >
99 < link rel ="stylesheet " href ="style.css ">
10- < style >
11- /* dark mode toggle & github buttons */
12- nav {
13- display : flex;
14- justify-content : flex-end;
15- padding : 20px 24px ;
16- }
17-
18- .navbtn {
19- position : absolute;
20- left : 2rem ;
21- margin-top : 0.3rem ;
22- }
23-
24- .theme-switch-wrapper {
25- display : flex;
26- align-items : center;
27- }
28-
29- .theme-switch-wrapper em {
30- margin-left : 10px ;
31- font-size : 1rem ;
32- }
33-
34- .theme-switch {
35- display : inline-block;
36- height : 34px ;
37- position : relative;
38- width : 60px ;
39- }
40-
41- .theme-switch input {
42- display : none;
43- }
44-
45- .slider {
46- background-color : var (--togglebg );
47- bottom : 0 ;
48- cursor : pointer;
49- left : 0 ;
50- position : absolute;
51- right : 0 ;
52- top : 0 ;
53- transition : 0.4s ;
54- /* filter: var(--filter); */
55- }
56-
57- .slider : before {
58- background-color : var (--roundcolor );
59- bottom : 4px ;
60- content : "" ;
61- height : 26px ;
62- left : 4px ;
63- position : absolute;
64- transition : 0.4s ;
65- width : 26px ;
66- }
67-
68- input : checked + .slider {
69- background-color : var (--toggleslider );
70- }
71-
72- input : checked + .slider : before {
73- transform : translateX (26px );
74- }
75-
76- .slider .round {
77- border-radius : 34px ;
78- }
79-
80- .slider .round : before {
81- border-radius : 50% ;
82- }
83-
84- em {
85- color : var (--togglesliderColor );
86- }
87- </ style >
8810</ head >
8911
9012< body >
Original file line number Diff line number Diff line change 11@import url ("https://fonts.googleapis.com/css?family=Muli&display=swap" );
22
3- [ data-theme = "light" ] {
3+ * {
44 --bg-color : # eef0f4 ;
55 --color : # 333 ;
66 --togglebg : # 333 ;
1313 --filter3 : drop-shadow (-2px -2px 3px # ffffff ) drop-shadow (2px 2px 3px # c3c5c8 );
1414}
1515
16- [data-theme = "dark" ] {
16+ /* [data-theme="dark"] {
1717 --bg-color: #333;
1818 --color: #ccc;
1919 --roundcolor: #333;
2525 drop-shadow(4px 4px 6px #13111178);
2626 --filter3: drop-shadow(-2px -2px 3px #16151508)
2727 drop-shadow(2px 2px 3px #13111178);
28- }
28+ } */
2929
3030* {
3131 box-sizing : border-box;
You can’t perform that action at this time.
0 commit comments