generated from cal-cs184/hw-webpage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (97 loc) · 2.48 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
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Darren Wang | CS184 Homework Webpages</title>
<style>
body {
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans";
line-height: 1.6;
margin-left: 20%;
margin-right: 20%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #333;
}
section {
margin-bottom: 20px;
}
h2 {
border-bottom: 2px solid #333;
padding-bottom: 5px;
}
h3 {
margin-bottom: 2px;
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin-bottom: 10px;
}
a:link {
color: purple;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: purple;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: #0abab5;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: #10098f;
background-color: transparent;
text-decoration: underline;
}
*::first-letter {
text-transform: uppercase;
}
ul {
list-style-type: disc; /* Default is disc */
}
</style>
</head>
<body>
<h1>CS184/284A Homework Webpages</h1>
<h2>
Darren Wang (<a href="https://github.com/whydarren-6uom">GitHub</a>)
</h2>
<br /><br />
<a href="/hw1/index.html">Homework 1: Rasterizer</a>
<br /><br />
<a href="/hw2/index.html">Homework 2: Meshedit</a>
<br /><br />
<a href="/hw3/index.html">Homework 3: Pathtracer</a>
<br /><br />
<a href="/hw4/index.html">Homework 4: Cloth Sim</a>
<br /><br />
<a href="/final project/index.html">Final Project Proposal</a>
<br /><br />
<a href="/final project/milestone.html">Final Project Milestone</a>
<br /><br />
<a href="/final project/final.html">Final Project Deliverable</a>
</body>
<script>
var links = document.body.getElementsByTagName("a");
var a = window.location.href.indexOf(".io");
var repo_name = window.location.href.substring(a + 3);
for (var i = 0; i < links.length; i++) {
var link = links[i];
var actual_name = link.href.substring(link.href.indexOf(".io") + 4);
link.href = repo_name + actual_name;
}
</script>
</html>