Skip to content

Commit 84b046d

Browse files
authored
Merge pull request #162 from bkmgit/title-link-style-fix
Ensure links in h1 titles are black
2 parents 5b0c8c5 + c62c7c9 commit 84b046d

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

gallery-template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img class="overlay" src="images/profanity_mouth-only.png" alt="Profanity Illustration" />
1616
<header>
1717
<h1>
18-
<a href="index.html">
18+
<a href="index.html" style="position:relative;color:black;">
1919
Profani<span class="kern-ty">ty</span>
2020
</a>
2121
</h1>

src/scss/layout.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,18 @@ header {
112112
text-decoration: none;
113113
}
114114
}
115+
h1 {
116+
a {
117+
position:relative,
118+
&:link,
119+
&:visited,
120+
&:hover,
121+
&:active {
122+
color: #222222;
123+
text-decoration: none;
124+
}
125+
}
126+
}
115127
}
116128

117129
@keyframes fadeInDelay {

0 commit comments

Comments
 (0)