forked from RottenTofu/Life_of_Student
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (47 loc) · 1.85 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./static/css/style.css">
<title>Life of Student</title>
</head>
<body>
<div class="C_container">
<header id="I_header">
<img id="I_title_logo" src="static/img/logo_take6.png"/>
</header>
<main id="I_mainArea">
<div class="C_light" onclick="ch_bg()"></div>
<aside class="C_right_menu">
<div class="C_dot_menu" onclick="location.href ='#'"></div>
<div class="C_dot_menu" onclick="location.href ='#'"></div>
<div class="C_dot_menu" onclick="location.href ='./static/html/Github.html'"></div>
</aside>
</main>
<footer id="I_footer">
<p class="C_footerContents">
<b>Copyright 2021. JH9892, RottenTofu, sinbak, Syh1999. All creatures cannot be copied without permission.</b>
</p>
<p class="C_footerContents">
<b>Project Title</b> : Life-of-Student
<b>Github Link</b> : 👉 <a href="https://github.com/JH9892/Life_of_Student">Life_of_Student</a>
</p>
</footer>
</div>
<script>
trig = 0;
function ch_bg(){
document.querySelector('.C_container').classList.toggle('C_darkmode')
if (trig%2 == 0){
document.querySelector('#I_title_logo').setAttribute("src", "static/img/logo_take6_darkmode.png")
}
else {
document.querySelector('#I_title_logo').setAttribute("src", "static/img/logo_take6.png")
}
trig += 1;
}
</script>
</body>
</html>