-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (116 loc) · 3.17 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
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
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>⚡️</title>
<link href="https://fonts.googleapis.com/css?family=Unica+One&display=swap" rel="stylesheet">
<style>
body {
font-family: "Arial", sans-serif;
}
a {
text-decoration: none;
color: inherit;
}
.pane {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.container {
display: flex;
position: fixed;
justify-content: center;
align-content: space-around;
background: rgba(255,255,255,0.9);
border: 1px solid rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, 0.3);
width: 300px;
height: auto;
border-radius: 15px;
flex-flow: row wrap;
}
.container div {
position: relative;
display: flex;
padding: 15px;
width: 100%;
align-content: flex-start;
justify-content: center;
flex-flow: row wrap;
}
.pane h1 {
font-family : "Unica One", "Consolas", serif;
font-size: 30px;
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
display: flex;
align-content: center;
justify-content: center;
width: 100%;
margin: 20px 0 10px 0;
}
a.btn {
position: absolute;
border-radius: 5px;
border:1px solid #e3e3e3;
display: flex;
cursor:pointer;
color:#333333;
font-size:15px;
width: 100%;
height: 37px;
text-decoration:none;
position: relative;
box-sizing: border-box;
transition: 0.1s;
margin: 1.5px;
background-color: rgba(255, 255, 255, 0.9);
align-items: center;
justify-content: center;
color: gray;
}
.btn:hover{
border:1px solid #d3d3d3;
transform: scale(1.05,1.05);
box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
color: black;
}
.btn:active{
background-color:#fafafc;
box-shadow: none;
transform: scale(1,1);
}
</style>
</head>
<body>
<div class='pane'>
<div class='container'>
<div>
<h1>NUS stuff</h1>
<a class='btn' href='PlannersJS/index.html'>Path Planners Visualization (U/C)</a>
<a class='btn' href='UniformPlanners/index.html'>Path Planners Visualization (old)</a>
<a class='btn' href='teach/SVM/index.html'>SVM Slides (abandoned)</a>
</div>
<div>
<h1>DHS stuff</h1>
<a class='btn' href='Calibrator/index.html'>Calibrator</a>
<a class='btn' href='FindColor/index.html'>FindColor</a>
<a class='btn' href='QuinticTurn/index.html'>QuinticTurn</a>
</div>
<div>
<h1>Wall of Vanity</h1>
<a class='btn' href='CV.pdf'>CV</a>
</div>
</div>
</div>
<script>
var h = Math.round(Math.random()*360);
var s = 80;
var l = 60;
document.body.style.background = 'hsl('.concat(h,',', s, '%,', l, '%)');
</script>
</body>
</html>