-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio.html
158 lines (138 loc) · 3.41 KB
/
portfolio.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emily's Portfolio</title>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<style>
/* Universal reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styling */
body {
font-family: 'DM Sans', sans-serif;
background-color: #000000;
color: #ffffff;
margin: 0;
padding: 0;
position: relative;
}
/* Header (h1) styling */
h1 {
font-family: 'DM Sans', sans-serif;
font-size: 32px;
font-weight: 700;
text-align: left;
margin-left: 40px;
margin-top: 40px;
}
/* Portfolio Section Styling */
.portfolio-section {
margin-top: 40px;
margin-left: 40px;
}
.portfolio-section h2 {
font-size: 24px;
font-weight: 500;
margin-bottom: 20px;
}
/* Grid for portfolio items */
.grid {
display: grid;
grid-template-columns: repeat(2, 150px); /* Adjusted size */
gap: 25px; /* Adjusted spacing */
}
.grid-item {
background-color: #c1102a;
color: white;
font-family: 'DM Sans', sans-serif;
font-size: 18px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
width: 150px;
height: 150px; /* Adjusted proportions */
margin-left: 40px;
border-radius: 8px;
transition: transform 0.2s, background-color 0.2s;
}
.grid-item:hover {
background-color: #a10d25;
transform: scale(1.05);
}
/* Remove underline and style links */
.no-style-link {
text-decoration: none;
color: inherit;
display: flex;
justify-content: center;
align-items: center;
width: 150px;
height: 150px;
}
/* Back button styling */
.btn {
background-color: #c1102a;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: 'DM Sans', sans-serif;
font-size: 16px;
position: absolute;
top: 20px;
right: 20px;
}
.btn:hover {
background-color: #a10d25;
}
/* Responsive layout */
@media (max-width: 768px) {
.grid {
grid-template-columns: 1fr;
gap: 20px;
}
h1 {
margin-left: 20px;
}
.portfolio-section {
margin-left: 20px;
}
.btn {
top: 10px;
right: 10px;
}
}
</style>
</head>
<body>
<header>
<h1>My Portfolio</h1>
</header>
<section>
<h2>Web Development</h2>
<div class="portfolio-section">
<div class="grid">
<a href="https://cfn-emily202777.replit.app/" class="grid-item no-style-link" target="_blank">EcoLog</a>
</div>
</div>
</section>
<section>
<h2>Apps</h2>
<div class="portfolio-section">
<div class="grid">
<a href="https://emily202777.github.io/space-apps-2024/" class="grid-item no-style-link" target="_blank">NASA Space Apps</a>
<a href="https://emily202777.github.io/CAC-2024/" class="grid-item no-style-link" target="_blank">CAC</a>
</div>
</div>
</section>
<button onclick="location.href='index.html'" class="btn">Back</button>
</body>
</html>