-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPortfolio.html
More file actions
218 lines (200 loc) · 6.39 KB
/
Portfolio.html
File metadata and controls
218 lines (200 loc) · 6.39 KB
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<title>Portfolio</title>
</head>
<body>
<!--Navbar which has been retrieved from bootstrap and modified to implement the name of the current page in the left corner wrapped withing the container-->
<div class="container">
<div class="fixed-top">
<div class="collapse" id="navbarToggleExternalContent">
<div class="bg-dark p-4">
<h5 class="text-white h4">Collapsed content</h5>
<span class="text-muted">Toggleable via the navbar brand.</span>
</div>
</div>
<nav class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="#">Brooklyn Minor</a>
<button class="navbar-toggler" onclick="myClick()" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation" style="text-align: left; float: left; left: 20px">
<span class="navbar-toggler-icon"></span>
</button>
</nav>
<div class="navbar-toggler-icon-content" id="myDropdown">
<a class="nav-link" href="AboutMe.html">About Me</a>
<a class="nav-link" href="Portfolio.html">Portfolio</a>
<a class="nav-link" href="ContactInformation.html">Contact Information</a>
</div>
</div>
</div>
<div class="container">
<h2>Portfolio</h2>
<div class="row">
<div class="card-deck">
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
</div>
</div>
<div class="row">
<div class="card-deck" id="card-deck">
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
<div class="card">
<img src="https://via.placeholder.com/200x200.png?text=200x200" class="card-img-top" alt="200x200">
<div class="card-body">
<h5 class="card-title">Project Title</h5>
<p class="card-text">Project Content</p>
</div>
<div class="card-footer">
<small class="text-muted">Date of Fabrication</small>
</div>
</div>
</div>
</div>
</div>
<footer class="sticky-bottom">
<h4>University of Toronto: Full-Stack Development</h4>
</footer>
<style>
/*modified to center cards with header*/
.card-deck{
padding-top: 50px;
margin: 0 auto;
float: none;
margin-bottom: 10px;
}
#card-deck{
padding-top: 50px;
padding-bottom: 100px;
margin: 0 auto;
float: none;
margin-bottom: 10px;
}
/* Margin creates a none existing border around image and text cards*/
.card{
margin: 0 auto;
float: none;
margin-bottom: 10px;
}
footer{
padding: 7px;
background-color: DarkSalmon;
width: 100%;
}
h2{
text-align: center;
font-family: Acumin Pro Wide light;
padding-top: 100px;
}
h4{
font-size: 13px;
font-family: Acumin Pro Wide Thin;
text-align: center;
padding-top: 10px;
color: white;
}
.navbar-toggler-icon {
float: left;
overflow: hidden;
}
.navbar-toggler-icon .navbar-toggler {
cursor: pointer;
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.navbar-toggler-icon-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
right: 0;
}
.navbar-toggler-icon-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.navbar-toggler-icon-content a:hover {
background-color: #ddd;
}
.show {
display: block;
}
</style>
<script>
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myClick() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown if the user clicks outside of it
window.onclick = function(e) {
if (!e.target.matches('.navbar-toggler-icon')) {
var myDropdown = document.getElementById("myDropdown");
if (myDropdown.classList.contains('show')) {
myDropdown.classList.remove('show');
}
}
}
</script>
</body>
</html>