-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
181 lines (156 loc) · 3.99 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>blairjdaniel Website</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
margin: 0;
min-height: 100vh;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
h2,
h3,
a {
color: #000000;
}
a {
text-decoration: none;
}
.logo {
margin: 0;
font-size: 1.45em;
}
.main-nav {
margin-top: 5px;
}
.logo a,
.main-nav a {
padding: 10px 15px;
text-align: center;
display: block;
}
.main-nav a {
color: #000000;
font-size: .99em;
}
.main-nav a:hover {
color: #7c7878;
}
.header {
padding-top: 3;
padding-bottom: 3;
border: 1px solid #a2a2a2;
background-color: #e1f2f6;
-webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.video-wrapper {
display: flex;
justify-content: center;
gap: 20px; /* Adjust the gap between videos as needed */
flex-wrap: wrap; /* Ensure videos wrap on smaller screens */
}
.video-container {
flex: 1 1 45%; /* Adjust the width of the video containers */
max-width: 560px; /* Ensure the video containers do not exceed the iframe width */
box-sizing: border-box;
}
/* =================================
Media Queries
==================================== */
@media (min-width: 769px) {
.header,
.main-nav {
display: flex;
}
.header {
padding: 5px;
flex-direction: column;
align-items: center;
.header{
width: 80%;
margin: 0 auto;
max-width: 1150px;
}
}
}
@media (min-width: 1025px) {
.header {
flex-direction: row;
justify-content: space-between;
}
}
.dropdown {
position: relative;
}
.dropdown-menu {
color:white;
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 1;
}
.dropdown:hover .dropdown-menu {
display: block;
}
.socials {
/* Add your styles here */
}
.socials a {
margin: 0 10px;
color: #000000; /* Change to any color you want */
text-decoration: none;
}
.socials i {
font-size: 1em; /* Change to adjust the size of the icons */
}
</style>
</head>
<body>
<header class="header">
<h1 class="logo"><a href="https://blairjdaniel.github.io/">blairJdaniel</a></h1>
<div class="socials">
<a href="mailto:[email protected]"><i class="fas fa-envelope"></i></a>
<a href="https://github.com/blairjdaniel" target="_blank"><i class="fab fa-github"></i></a>
<a href="https://www.twitter.com/blairjdaniel" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.linkedin.com/in/blairjdaniel-1bb360258/" target="_blank"><i class="fab fa-linkedin-in"></i></a>
</div>
<ul class="main-nav">
<li><a href="about.html">About Me</a></li>
<li class="dropdown">
<a href="projects.html">Projects</a>
<ul class="dropdown-menu">
<li><a href="data_vis.html">Data Visualization</a></li>
<li><a href="machine_learning.html">Machine Learning</a></li>
</ul>
</li>
</ul>
</header>
<!-- Add your YouTube videos here -->
<div class="video-wrapper">
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/4aGdwNa0kLs" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/F9R0hvFEOCg" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</body>
</html>