1
1
var full_screen = document . getElementsByTagName ( "body" ) ;
2
2
3
-
3
+ // for dark mode
4
4
function change_light_mode ( )
5
5
{
6
6
// js for main section start
@@ -45,28 +45,23 @@ function change_light_mode()
45
45
46
46
// js for contact me section end
47
47
48
- // js for experience section start
49
-
50
- // var logo_background = document.getElementsByClassName("company_logo")[0];
51
- // logo_background.style.backgroundColor="white";
52
-
53
- // var column=document.querySelectorAll(".table2 tbody tr");
54
- // for(var i=0;i<column.length;i+=2)
55
- // column[i].style.backgroundColor="#141414";
56
-
57
- // js for experience section end
58
-
59
48
// js for connect me section start
60
- var github = document . querySelectorAll ( ".github a i" ) [ 0 ] ;
49
+ var github = document . querySelectorAll ( ".github_account a i" ) [ 0 ] ;
61
50
github . style . color = "white" ;
62
- var linkedin = document . querySelectorAll ( ".linkedin a i" ) [ 0 ] ;
63
- linkedin . style . color = "white" ;
51
+ var linkedin = document . querySelectorAll ( ".linkedin_account a i" ) [ 0 ] ;
52
+ linkedin . style . color = "white" ;
53
+ var instagram = document . querySelectorAll ( ".instagram_account a i" ) [ 0 ] ;
54
+ instagram . style . color = "white" ;
55
+ var twitter = document . querySelectorAll ( ".twitter_account a i" ) [ 0 ] ;
56
+ twitter . style . color = "white" ;
57
+
64
58
65
59
// js for connect me section end
66
60
67
61
}
68
62
69
63
64
+ // light mode
70
65
function change_dark_mode ( )
71
66
{
72
67
// js for main section start
@@ -100,29 +95,22 @@ function change_dark_mode()
100
95
for ( var i = 0 ; i < list . length ; i ++ )
101
96
list [ i ] . style . color = "black" ;
102
97
103
-
104
98
// js for project section end
105
- // js for experience section start
106
-
107
- // var logo_background = document.getElementsByClassName("company_logo")[0];
108
- // logo_background.style.backgroundColor="transparent";
109
-
110
- // var column=document.querySelectorAll(".table2 tbody tr");
111
- // for(var i=0;i<column.length;i+=2)
112
- // column[i].style.backgroundColor="rgba(0,0,0,0.05)";
113
-
114
- // js for experience section end
115
99
116
100
// js for contact me section start
117
101
var list = document . querySelectorAll ( ".contact div .row" ) ;
118
102
list [ 0 ] . style . backgroundColor = "white" ;
119
103
// js for contact me section end
120
104
121
105
122
- var github = document . querySelectorAll ( ".github a i" ) [ 0 ] ;
123
- github . style . color = "black" ;
124
- var linkedin = document . querySelectorAll ( ".linkedin a i" ) [ 0 ] ;
125
- linkedin . style . color = "black" ;
106
+ var github = document . querySelectorAll ( ".github_account a i" ) [ 0 ] ;
107
+ github . style . color = "black" ;
108
+ var linkedin = document . querySelectorAll ( ".linkedin_account a i" ) [ 0 ] ;
109
+ linkedin . style . color = "black" ;
110
+ var instagram = document . querySelectorAll ( ".instagram_account a i" ) [ 0 ] ;
111
+ instagram . style . color = "black" ;
112
+ var twitter = document . querySelectorAll ( ".twitter_account a i" ) [ 0 ] ;
113
+ twitter . style . color = "black" ;
126
114
$ ( document ) . ready ( function ( )
127
115
{
128
116
$ ( github ) . hover ( function ( )
@@ -141,6 +129,18 @@ function change_dark_mode()
141
129
{
142
130
$ ( this ) . css ( "color" , "black" ) ;
143
131
} ) ;
132
+ $ ( instagram ) . hover ( function ( ) {
133
+ $ ( this ) . css ( "color" , "#7456c6" ) ;
134
+ } ,
135
+ function ( ) {
136
+ $ ( this ) . css ( "color" , "black" ) ;
137
+ } ) ;
138
+ $ ( twitter ) . hover ( function ( ) {
139
+ $ ( this ) . css ( "color" , "#7456c6" ) ;
140
+ } ,
141
+ function ( ) {
142
+ $ ( this ) . css ( "color" , "black" ) ;
143
+ } ) ;
144
144
} ) ;
145
145
146
146
// js for connect me section end
0 commit comments