-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
86 lines (64 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basics -->
<meta charset="utf-8">
<title>Shell CSS</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<!-- CSS -->
<link rel="stylesheet" href="shell.css">
</head>
<body>
<!-- master-container has height 100% and no padding/margin -->
<div class="master-container">
<!-- SIDE NAV STUFF -->
<!-- Side nav takes up the right 50px of the screen -->
<div id="side-nav" class="side-nav-container" style="background-color: lightgray;">
<!-- A nav item is just a 50px x 50px block for storing links -->
<div class="nav-item" style="background-color: black;">
</div>
<!-- Add grow to a nav-item to make it grow when hovered over -->
<div class="side nav-item grow">
<a href="">
<i class="fas fa-home"></i>
</a>
<!-- Add a span "tooltiptext" to make a tooltip appear on the right side -->
<span class="tooltiptext">I grow!</span>
</div>
<div class="side nav-item">
<a href="">
<i class="fas fa-search"></i>
<span class="tooltiptext">I don't!</span>
</a>
</div>
</div>
<!-- everything for the body goes in here -->
<div class="body-container">
<!-- TOP NAV STUFF -->
<!-- This is a top navbar, similar to the side navbar -->
<div class="body-nav-container" style = "background-color: darkgray;">
<!-- This uses the data-target to identify a collapsable item -->
<!-- "Collapsing" an item sets its width to 0px -->
<a data-target="side-nav" class="collapse top nav-item">
<i class="fas fa-bars"></i>
</a>
</div>
<!-- BODY STUFF -->
<!-- This is where body stuff goes. Put everything else here -->
<div class="body-content-container">
<div style="margin: 10px;">
<h1>Hello Shell!</h1>
<h2>This is a body.</h2>
<p>My very interesting life story begins at the dawn of time...</p>
</div>
</div>
</div>
</div>
<script src="shell.js"></script>
</body>
</html>