Skip to content

Commit

Permalink
SDwapping unconditionally to dark mode SF logo
Browse files Browse the repository at this point in the history
Ironically, the previous mode swapping caused a validation failure in html5.
  • Loading branch information
marzojr committed May 4, 2024
1 parent 5060d89 commit 45679db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
3 changes: 2 additions & 1 deletion april2004.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ <h3>
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
alt="SourceForge" class="banner sf_logo"></a>
src="https://sourceforge.net/sflogo.php?type=6&group_id=2335"
alt="SourceForge" class="banner"></a>
&nbsp;
<a href="https://validator.w3.org/check?uri=exult.info/{REFERRER}"><img
src="https://upload.wikimedia.org/wikipedia/commons/b/bb/W3C_HTML5_certified.png"
Expand Down
8 changes: 0 additions & 8 deletions default.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ tr.highlight {
color: #62186f;
}

img.sf_logo {
content:url("https://sourceforge.net/sflogo.php?type=5&group_id=2335");
}

@media screen and (prefers-color-scheme: dark) {

/* Dark theme */
Expand Down Expand Up @@ -235,8 +231,4 @@ img.sf_logo {
tr.highlight {
color: #e1a5ec;
}

img.sf_logo {
content:url("https://sourceforge.net/sflogo.php?type=6&group_id=2335");
}
}
3 changes: 2 additions & 1 deletion templates/main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
alt="SourceForge" class="banner sf_logo"></a>
src="https://sourceforge.net/sflogo.php?type=6&group_id=2335"
alt="SourceForge" class="banner"></a>
&nbsp;
<a href="https://validator.w3.org/check?uri=exult.info/{REFERRER}"><img
src="https://upload.wikimedia.org/wikipedia/commons/b/bb/W3C_HTML5_certified.png"
Expand Down
3 changes: 2 additions & 1 deletion templates/main_xhtml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
alt="SourceForge" class="banner sf_logo" /></a>
src="https://sourceforge.net/sflogo.php?type=6&group_id=2335"
alt="SourceForge" class="banner" /></a>
&nbsp;
<a href="https://validator.w3.org/check?uri=exult.info/{REFERRER}"><img
src="https://upload.wikimedia.org/wikipedia/commons/b/bb/W3C_HTML5_certified.png"
Expand Down

0 comments on commit 45679db

Please sign in to comment.