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 7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
8
< title > Neumorphism Password generator</ title >
9
9
< 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 >
88
10
</ head >
89
11
90
12
< body >
Original file line number Diff line number Diff line change 1
1
@import url ("https://fonts.googleapis.com/css?family=Muli&display=swap" );
2
2
3
- [ data-theme = "light" ] {
3
+ * {
4
4
--bg-color : # eef0f4 ;
5
5
--color : # 333 ;
6
6
--togglebg : # 333 ;
13
13
--filter3 : drop-shadow (-2px -2px 3px # ffffff ) drop-shadow (2px 2px 3px # c3c5c8 );
14
14
}
15
15
16
- [data-theme = "dark" ] {
16
+ /* [data-theme="dark"] {
17
17
--bg-color: #333;
18
18
--color: #ccc;
19
19
--roundcolor: #333;
25
25
drop-shadow(4px 4px 6px #13111178);
26
26
--filter3: drop-shadow(-2px -2px 3px #16151508)
27
27
drop-shadow(2px 2px 3px #13111178);
28
- }
28
+ } */
29
29
30
30
* {
31
31
box-sizing : border-box;
You can’t perform that action at this time.
0 commit comments