Fix the pages cards so that the logos are also clickable
This commit is contained in:
parent
b8472dbb41
commit
7491bcea80
12
index.html
12
index.html
@ -46,26 +46,26 @@
|
|||||||
|
|
||||||
<div class="sections-container" id="pages">
|
<div class="sections-container" id="pages">
|
||||||
<!-- Tech Section -->
|
<!-- Tech Section -->
|
||||||
<section class="section-card" onclick="location.href='https://bellsworne.tech';">
|
<a class="section-card" href="tech.html">
|
||||||
<object class="section-logo" data="res/svg/bellsworne-tech-no-bg.svg" type="image/svg+xml"></object>
|
<object class="section-logo" data="res/svg/bellsworne-tech-no-bg.svg" type="image/svg+xml"></object>
|
||||||
<h2>Technologies</h2>
|
<h2>Technologies</h2>
|
||||||
<p>Developing software that isn't soulless corporate garbage.</p>
|
<p>Developing software that isn't soulless corporate garbage.</p>
|
||||||
</section>
|
</a>
|
||||||
|
|
||||||
<!-- Farm Section -->
|
<!-- Farm Section -->
|
||||||
<section class="section-card" onclick="location.href='farm.html';">
|
<a class="section-card" href="farm.html">
|
||||||
<object class="section-logo" data="res/svg/bellsworne-farm-no-bg.svg" type="image/svg+xml"></object>
|
<object class="section-logo" data="res/svg/bellsworne-farm-no-bg.svg" type="image/svg+xml"></object>
|
||||||
<h2>Farm</h2>
|
<h2>Farm</h2>
|
||||||
<p>Dedicated to creating the best hand-crafted artisanal goods and raising a herd of happy goats.</p>
|
<p>Dedicated to creating the best hand-crafted artisanal goods and raising a herd of happy goats.</p>
|
||||||
|
|
||||||
</section>
|
</a>
|
||||||
|
|
||||||
<!-- Games Section-->
|
<!-- Games Section-->
|
||||||
<section class="section-card" onclick="location.href='games.html';">
|
<a class="section-card" href="games.html">
|
||||||
<object class="section-logo" data="res/svg/bellsworne-games-no-bg.svg" type="image/svg+xml"></object>
|
<object class="section-logo" data="res/svg/bellsworne-games-no-bg.svg" type="image/svg+xml"></object>
|
||||||
<h2>Games</h2>
|
<h2>Games</h2>
|
||||||
<p>Creating games with a passion for storytelling and a whole lotta heart.</p>
|
<p>Creating games with a passion for storytelling and a whole lotta heart.</p>
|
||||||
</section>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@ main {
|
|||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||||
border: 1px solid #444;
|
border: 1px solid #444;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-card:hover {
|
.section-card:hover {
|
||||||
@ -97,6 +98,10 @@ main {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-card object {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.section-card p {
|
.section-card p {
|
||||||
color: #c0c0c0;
|
color: #c0c0c0;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user