-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwork.html
183 lines (155 loc) · 4.34 KB
/
work.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
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Setareh Roozbahani - Projects</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=DejaVu+Sans+Mono&display=swap');
/* Basic Styles */
body {
background-color: #000000;
color: #542b38;
font-family: 'DejaVu Sans Mono', monospace;
margin: 0;
padding: 0;
}
header {
display: flex;
justify-content: space-between;
padding: 30px;
color: #784A59;
}
.name {
font-size: 1.7em;
font-weight: bold;
margin-right: 20px;
color: #784A59;
}
.name a {
text-decoration: none;
color: #784A59;
}
.name a:hover {
color: #FFD700;
}
nav {
display: flex;
justify-content: center;
align-items: center;
}
nav a {
margin: 0 10px;
text-decoration: none;
color: #784A59;
font-size: 1.1em;
}
nav a:hover {
color: #FFD700;
}
footer {
text-align: left;
padding: 20px;
color: #784A59;
position: fixed;
width: 100%;
bottom: 0;
font-size: 0.8em;
}
/* Layout: Left Image Container */
.image-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 50px;
margin-bottom: 20px;
}
.left-images {
width: 45%; /* Use percentage for responsiveness */
display: flex;
flex-direction: column;
justify-content: space-around;
margin-bottom: 20px;
padding: 10px;
}
.left-images img {
width: 100%;
max-width: 100%;
cursor: pointer;
margin-bottom: 20px;
transition: transform 0.5s ease-in-out;
}
.left-images img:hover {
transform: scale(1.05);
}
/* Media Queries for Responsive Design */
/* For tablets and smaller screens */
@media (max-width: 768px) {
header {
flex-direction: column;
align-items: center;
text-align: center;
padding: 15px;
}
.image-container {
flex-direction: column;
align-items: right;
padding: 20px;
}
.left-images {
width: 80%; /* More width on smaller screens */
margin-bottom: 15px;
}
nav a {
margin: 0 8px;
font-size: 1em;
}
}
/* For mobile phones */
@media (max-width: 480px) {
header {
padding: 10px;
}
.name {
font-size: 1.4em;
}
nav a {
margin: 0 5px;
font-size: 0.9em;
}
.left-images {
width: 95%; /* Almost full width on mobile */
}
.image-container {
padding: 10px;
}
footer {
font-size: 0.7em;
padding: 10px;
}
}
</style>
</head>
<body>
<header>
<div class="name"><a href="index.html">Setareh Roozbahani</a></div>
<nav>
<a href="work.html">Work</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</nav>
</header>
<!-- Image Layout -->
<div class="image-container">
<div class="left-images">
<!-- Replace these paths with the actual paths to your images -->
<img src="images/Spheres of Influence_00.jpg" alt="Spheres of Influence" onclick="showProject('spheres')">
<img src="images/Extended Liminal_00.jpg" alt="Extended Liminal" onclick="showProject('extended')">
</div>
</div>
<footer>
© 2024 Setareh Roozbahani
</footer>
</body>
</html>