Skip to content

Commit 91ea7d7

Browse files
committed
update
1 parent c5d12b7 commit 91ea7d7

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

css/index.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*font for intro*/
22
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
3+
/*font for table */
4+
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200&display=swap');
35

46
/*css start*/
57
/* css to handle different media will later write */
@@ -255,10 +257,18 @@ nav li a
255257
{
256258
font-size: 17px;
257259
}
260+
.table1 tbody
261+
{
262+
font-family: 'Source Sans Pro', sans-serif;
263+
}
258264
.table1 thead
259265
{
260266
font-size: 18px;
261267
}
268+
.table1 tbody tr td:nth-child(2)
269+
{
270+
font-weight: bold;
271+
}
262272
.table1 tbody tr td a i
263273
{
264274
font-size: 20px;

js/change_mode.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ function change_light_mode()
2525

2626
// js for skill section end here
2727

28+
// js for project section start
29+
var column=document.querySelectorAll(".table1 tbody tr");
30+
for(var i=0;i<column.length;i+=2)
31+
column[i].style.backgroundColor="#141414";
32+
33+
// js for project section end
2834

2935
// js for project section start
3036
var list=document.querySelectorAll("tbody tr td");
@@ -73,6 +79,12 @@ function change_dark_mode()
7379
list[i].style.color="black";
7480
// js for skill section end here
7581

82+
// js for project section start
83+
var column=document.querySelectorAll(".table1 tbody tr");
84+
for(var i=0;i<column.length;i+=2)
85+
column[i].style.backgroundColor="rgba(0,0,0,.05)";
86+
87+
// js for project section end
7688

7789
// js for project section start
7890
var list=document.querySelectorAll("tbody tr td");

0 commit comments

Comments
 (0)