-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (120 loc) · 3.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
<title style="fond-size:24px;">Dadmehr Ghasemfar - Portfolio</title>
<style>
#titleDiv {
margin-left: auto;
margin-right: auto;
width: 90%;
}
#mainTitle {
font-size: 10vw;
font-weight: bold;
text-align: center;
margin-bottom: 15%;
margin-top: 5%;
border: 8px solid #8C5D23;
border-radius: 32px;
background: #D9B384;
position: absolute;
top: 2%;
left: 5%;
right: 5%;
}
button {
transition-duration: 0.4s;
border-radius: 32px;
background-color: #6BB0BF;
padding: 14px 14px;
font-size: 8vw;
font-weight: bold;
text-align: center;
border: 8px solid #025373;
color: #024959;
margin: 5% auto;
display: block;
width: 80%;
}
button:hover {
border-radius: 32px;
background-color: #D9B384;
padding: 14px 14px;
font-size: 9vw;
text-align: center;
border: 8px solid #8C5D23;
margin: 5% auto;
color: black;
display: block;
}
#buttonsDiv {
position: absolute;
top: 20%;
}
@media only screen and (min-width: 600px) {
#titleDiv {
margin-left: auto;
margin-right: auto;
width: 70%;
}
#mainTitle {
font-size: 5vw;
font-weight: bold;
text-align: center;
margin-bottom: 5%;
margin-top: 2%;
position: absolute;
top: 2%;
left: 15%;
right: 15%;
}
button {
border-radius: 32px;
background-color: #6BB0BF;
padding: 14px 14px;
font-size: 4vw;
font-weight: bold;
text-align: center;
border: 8px solid #025373;
margin: 5% auto;
display: block;
}
button:hover {
border-radius: 32px;
background-color: #D9B384;
padding: 14px 14px;
font-size: 4.5vw;
text-align: center;
border: 8px solid #8C5D23;
margin: 5% auto;
color: black;
display: block;
}
#buttonsDiv {
position: absolute;
top: 25%;
left: 12%;
right: 12%;
}
}
</style>
</head>
<body>
<canvas id="backgroundSketch">
<script src="sketchMain.js"> </script>
</canvas>
<div id="titleDiv">
<h1 id="mainTitle">Dadmehr Daniel Ghasemfar</h1>
</div>
<div id="buttonsDiv">
<button id="aboutMe" onclick=window.location.href="aboutMe.html"> About Me </button>
<button id="myWorks" onclick=window.location.href="projectsPage.html"> STEM Projects </button>
<button id="drone" onclick=window.location.href="droneShots.html"> Drone Shots </button>
<button id="customBackground" onclick=window.location.href="interactive_back.html"> Interactive Backgrounds </button>
</div>
</body>
</html>