Skip to content

Commit 42eeb5d

Browse files
stylet Homepage
1 parent d66c7e8 commit 42eeb5d

File tree

1 file changed

+59
-8
lines changed

1 file changed

+59
-8
lines changed

Homepage.html

Lines changed: 59 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,70 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<title>Homepage</title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<link href="heap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
9+
<link href="heap/css/bootstrap.min.css.map" rel="stylesheet" type="text/css">
10+
11+
<style>
12+
body {
13+
display: flex;
14+
flex-direction: column;
15+
}
16+
17+
#buttons,
18+
h1 {
19+
text-align: center;
20+
color: white;
21+
text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
22+
}
23+
24+
#buttons {
25+
margin-top: 25px;
26+
width: 100%;
27+
}
28+
29+
button {
30+
margin: 0 auto;
31+
width: 10%;
32+
}
33+
34+
.btn-primary {
35+
display: block;
36+
margin-bottom: 5px;
37+
padding: 1.1em;
38+
}
39+
40+
.background {
41+
background-color: #006dcc;
42+
height: 100px;
43+
width: 100%;
44+
}
45+
46+
#footer {
47+
position: absolute;
48+
bottom: 0px;
49+
}
50+
</style>
651
</head>
7-
<body>
852

9-
<h1 id="header">Visualisation of different algorithms</h1>
53+
<body>
1054

11-
<button id="graphs" class="btn btn-primary" onclick="location.href='Graphs/index.html'">DFS/BFS</button>
12-
<button id="heap" class="btn btn-primary" onclick="location.href='Heap/index.html'">Heap</button>
13-
<button id="kruskal" class="btn btn-primary" onclick="location.href='Kruskal/index.html'">Kruskal</button>
14-
<button id="mergesort" class="btn btn-primary" onclick="location.href='Mergesort/index.html'">MergeSort</button>
15-
<button id="simplesort" class="btn btn-primary" onclick="location.href='SimpleSort/index.html'">SimpleSort</button>
16-
<button id="unionfind" class="btn btn-primary" onclick="location.href='UnionFind/index.html'">Union Find</button>
55+
<div id="header" class="background">
56+
<h1 id="header">Visualisation of different algorithms</h1>
57+
</div>
58+
<div id="buttons">
59+
<button id="graphs" class="btn btn-primary" onclick="location.href='Graphs/index.html'">DFS/BFS</button>
60+
<button id="heap" class="btn btn-primary" onclick="location.href='Heap/index.html'">Heap</button>
61+
<button id="kruskal" class="btn btn-primary" onclick="location.href='Kruskal/index.html'">Kruskal</button>
62+
<button id="mergesort" class="btn btn-primary" onclick="location.href='Mergesort/index.html'">MergeSort</button>
63+
<button id="simplesort" class="btn btn-primary" onclick="location.href='SimpleSort/index.html'">SimpleSort</button>
64+
<button id="unionfind" class="btn btn-primary" onclick="location.href='UnionFind/index.html'">Union Find</button>
65+
</div>
1766

67+
<div id="footer" class="background"></div>
1868
</body>
69+
1970
</html>

0 commit comments

Comments
 (0)