Skip to content

Commit

Permalink
Fixing validator link
Browse files Browse the repository at this point in the history
And adding dark-mode SF logo
  • Loading branch information
marzojr committed May 4, 2024
1 parent a436661 commit 5060d89
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 17 deletions.
9 changes: 4 additions & 5 deletions april2004.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,11 @@ <h3>
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=2335&amp;type=1"
alt="SourceForge" class="banner"></a>
alt="SourceForge" class="banner sf_logo"></a>
&nbsp;
<a href="http://validator.w3.org/check/referer"><img
src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!"
class="banner"></a>
<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"
alt="Valid HTML 5.0!" class="banner"></a>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"URL" => $THIS_FILE,
"MOD_DATE" => $MOD_DATE,
"CURRENTFILE" => $CURRENTFILE,

"REFERRER" => rawurlencode($THIS_FILE),
"TITLE" => $TITLE
)
);
Expand Down
15 changes: 14 additions & 1 deletion default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ body {
line-height: 1.4em;
}

img.banner {
width: 88px;
height: 31px;
}

img.about_exult_image {
margin: 0.6em;
width: 160px;
Expand Down Expand Up @@ -192,6 +197,10 @@ 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 @@ -226,4 +235,8 @@ tr.highlight {
tr.highlight {
color: #e1a5ec;
}
}

img.sf_logo {
content:url("https://sourceforge.net/sflogo.php?type=6&group_id=2335");
}
}
9 changes: 4 additions & 5 deletions templates/main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=2335&amp;type=1"
alt="SourceForge" class="banner"></a>
alt="SourceForge" class="banner sf_logo"></a>
&nbsp;
<a href="http://validator.w3.org/check/referer"><img
src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!"
class="banner"></a>
<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"
alt="Valid HTML 5.0!" class="banner"></a>
</td>
</tr>
<tr>
Expand Down
9 changes: 4 additions & 5 deletions templates/main_xhtml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@
<tr>
<td class="centered">
<a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=2335&amp;type=1"
alt="SourceForge" class="banner"></a>
alt="SourceForge" class="banner sf_logo" /></a>
&nbsp;
<a href="http://validator.w3.org/check/referer"><img
src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!"
class="banner"></a>
<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"
alt="Valid HTML 5.0!" class="banner" /></a>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 5060d89

Please sign in to comment.