Skip to content

Commit 948a6e5

Browse files
committed
Button fix
1 parent ec5ad0c commit 948a6e5

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

assets/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,16 @@ <h2>Projects</h2>
3838
<section id="project gallery">
3939
<h2>Gallery</h2>
4040
<div class="gallery">
41-
<img src="../images/kick-tool.jpg" alt="Kicker Tool Screenshot" title="Kicker Tool">
42-
<img src="images/project2-placeholder.jpg" alt="Portfolio Screenshot" title="Portfolio Website">
41+
<figure>
42+
<img src="../images/kick-tool.jpg" alt="Kicker Tool Screenshot" title="Kicker Tool">
43+
<figcaption>Kicker Tool</figcaption>
44+
<a href="../images/kick-tool.jpg" target="_blank" class="button">View Full Image</a>
45+
</figure>
46+
<figure>
47+
<img src="images/project2-placeholder.jpg" alt="Portfolio Screenshot" title="Portfolio Website">
48+
<figcaption>Portfolio Website</figcaption>
49+
<a href="images/project2-placeholder.jpg" target="_blank" class="button">View Full Image</a>
50+
</figure>
4351
</div>
4452
</section>
4553
<section id="skills">

assets/styles.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ footer {
9292
color: #fff;
9393
}
9494

95-
/* Buttons and Links */
96-
a, button {
95+
.button {
96+
display: inline-block;
9797
text-decoration: none;
9898
color: white;
9999
background: #4db8ff; /* Brighter blue */
@@ -103,7 +103,8 @@ a, button {
103103
transition: background 0.3s ease, transform 0.2s ease;
104104
}
105105

106-
a:hover, button:hover {
106+
.button:hover {
107107
background: #0099cc; /* Darker blue */
108108
transform: scale(1.05);
109109
}
110+

0 commit comments

Comments
 (0)