Skip to content

Commit 957d9e0

Browse files
committed
add footer link and styling for CYF
1 parent cd68e2e commit 957d9e0

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

Wireframe/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ <h2 class="article-title">What Is a Branch in Git?</h2>
6464
</main>
6565
<footer>
6666
<p>
67-
&copy; 2026 <strong>&lt;<span class="red-text">Code</span>&gt; Your Future</strong> &amp; Tomislav Dukez.
67+
&copy; 2026 <a href="https://codeyourfuture.io/" class="footer-link" target="_blank"
68+
aria-label="Code Your Future website">&lt;<span class="red-text">Code</span>&gt; Your Future</a> &amp; Tomislav
69+
Dukez.
6870
</p>
6971
</footer>
7072
</body>

Wireframe/style.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,32 @@ footer {
7474
.red-text {
7575
color: #c92a2a;
7676
}
77+
78+
.footer-link {
79+
padding: 0;
80+
border: none;
81+
display: inline;
82+
color: inherit;
83+
text-decoration: underline;
84+
font-weight: bold;
85+
text-decoration-color: #c92a2a;
86+
transition: color 0.2s ease, text-decoration-color 0.2s ease;
87+
88+
.red-text {
89+
color: #c92a2a;
90+
transition: color 0.2s ease;
91+
}
92+
93+
&:hover {
94+
color: #c92a2a;
95+
text-decoration-color: currentColor;
96+
97+
.red-text {
98+
color: var(--ink);
99+
100+
}
101+
}
102+
}
77103
}
78104

79105
/* ====== Articles Grid Layout ====

0 commit comments

Comments
 (0)