-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaths.html
134 lines (117 loc) · 3.06 KB
/
maths.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<!--[if lt IE 9]>
<script> document.createElement("keyword");
document.createElement("comment"); </script>
<![endif]-->
<meta charset="UTF-8">
<title> Math Techniques </title>
<style type="text/css">
body {
font-family: "Century Gothic", serif;
margin: 50px;
}
keyword {
font-weight: bold;
color: #c976c6;
}
comment {
font-family: Consolas, monospace;
color: #b8b8b8;
}
code {
font-family: Consolas, monospace;
color: blueviolet;
}
pre {
margin: 10px;
font-family: Consolas, monospace;
color: #4913d3;
}
h1 {
color: #2e4566;
}
h2 {
text-decoration: underline;
color: #2f5496;
}
h3 {
color: #5b9bd5;
}
h4 {
font-weight: normal;
color: #70c4f5;
}
hr {
border-color: #59a7ea;
}
#topBtn {
display: none;
position: fixed;
bottom: 80px;
right: 20px;
z-index: 99;
border: none;
outline: none;
background-color: #3460a9;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
}
#topBtn:hover {
background-color: #555;
opacity: 0.5;
}
#homeBtn {
display: block;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 99;
border: none;
outline: none;
background-color: #3460a9;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
}
#homeBtn:hover {
background-color: #555;
opacity: 0.5;
}
</style>
</head>
<body>
<hr/>
<h1 align="center"> LI Math Techniques for Computer Science </h1>
<p align="center"> Template and style original:
<keyword>Rhys Barrett</keyword>
.
</p>
<hr/>
<!-- Utils -->
<button onclick="topFunction()" id="topBtn" title="Go to top">Top</button>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("topBtn").style.display = "block";
} else {
document.getElementById("topBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<button onclick="window.location.href='index.html'" id="homeBtn" title="Back to Home"> Home</button>
</body>
</html>