reduce bold links in a few link heavy areas

While the use of `**font-weight: bold;` helps links standout in
most cases, there a few "_link heavy_" pages were the **MANY BOLD
LINK IN CLOSE PROXIMITY** looks excessive to the point of being
distracting.  In areas where **nearly everything is BOLD, nothing
seems to stand out**.

Fortunately there seems to be only a very few places where this is a problem:

* `faq.html` - the table of contents
* `authors.html` - nearly the entire page
* `location.html` - nearly the entire page
* `years.html` - nearly the entire page

As an **bold** 😎 experiment we added to the CSS:

```css
/*
 * To make a link non-bold, use: <a class="normal" href="url">link text</a>
 */
a.normal {
    font-weight: normal;
}
```

And then modified select tools and a markdown file to "_unbold_"
those "_link heavy_"  areas of the 4 pages above.

We don't claim that this is the best solution and there may be an
even better way to solve this, nevertheless we **do** think the it
improves the look and feel of the "_link heavy_"  areas of the 4
pages above.   For example, in `faq.html` beyond the table of
contents, the bold links look reasonable (although again there are
some quasi-"_link heavy_" areas down in the page look a bit too
bold, but perhaps not enough to warrant changing so we only altered
the table of contents).

In a few cases, while we were editing code that generated links,
we remove a few "**.**"'s where we didn't think they helped the
look and feel.

Change `bin/gen-authors.sh` VERSION from "1.10.3 2024-05-24"
to "1.10.4 2024-07-13".

Change `bin/gen-location.sh` VERSION from "1.4.2 2024-05-19"
to "1.4.3 2024-07-13".

Change `bin/gen-years.sh` VERSION from "1.3.3 2024-07-07"
to "1.3.4 2024-07-13".

Performed `make www` to accomplish the above and to test under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-07-13 19:56:02 -07:00
1 parent 5d191a19aa
commit 7b100f1264
9 files changed
+1636 -1629

No files matched your search

+10 -10
View File
@@ -85,7 +85,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.10.3 2024-05-24"
export VERSION="1.10.4 2024-07-13"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -1248,11 +1248,11 @@ EOF
echo "<div id=\"$AUTHOR_HANDLE\">**$FULL_NAME**</div>"
echo "<p></p>"
if [[ $LOCATION_NAME == "$LOCATION_COMMON_NAME" ]]; then
echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \
echo "Location: <a class=\"normal\" href=\"location.html#$LOCATION_CODE\">$LOCATION_CODE</a> -" \
"_${LOCATION_NAME}_"
else
echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \
"_${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)"
echo "Location: <a class=\"normal\" href=\"location.html#$LOCATION_CODE\">$LOCATION_CODE</a> -" \
"_${LOCATION_COMMON_NAME}_"
fi
if [[ -n $AUTHOR_AFFILIATION ]]; then
echo "<br>"
@@ -1260,22 +1260,22 @@ EOF
fi
if [[ -n $AUTHOR_URL ]]; then
echo "<br>"
echo "URL: [$AUTHOR_URL]($AUTHOR_URL)"
echo "URL: <a class=\"normal\" href=\"$AUTHOR_URL\">$AUTHOR_URL</a>"
fi
if [[ -n $AUTHOR_ALT_URL ]]; then
echo "<br>"
echo "Alternate URL: [$AUTHOR_ALT_URL]($AUTHOR_ALT_URL)"
echo "Alternate URL: <a class=\"normal\" href=\"$AUTHOR_ALT_URL\">$AUTHOR_ALT_URL</a>"
fi
if [[ -n $AUTHOR_MASTODON_HANDLE && -n $AUTHOR_MASTODON_URL ]]; then
echo "<br>"
echo "Mastodon: [$AUTHOR_MASTODON_HANDLE]($AUTHOR_MASTODON_URL)"
echo "Mastodon: <a class=\"normal\" href=\"$AUTHOR_MASTODON_URL\">$AUTHOR_MASTODON_HANDLE</a>"
fi
if [[ -n $AUTHOR_GITHUB ]]; then
echo "<br>"
echo "GitHub: [$AUTHOR_GITHUB](https://github.com/$AUTHOR_GUTHUB_USERNAME)"
echo "GitHub: <a class=\"normal\" href=\"https://github.com/$AUTHOR_GUTHUB_USERNAME\">$AUTHOR_GITHUB</a>"
fi
echo "<br>"
echo "author_handle: [$AUTHOR_HANDLE](%%REPO_URL%%/author/$AUTHOR_HANDLE.json)"
echo "author_handle: <a class=\"normal\" href=\"$%%REPO_URL%%/author/$AUTHOR_HANDLE.jsonE\">$AUTHOR_HANDLE</a>"
echo "<p></p>"
# output YYYY/dir set made by this author
@@ -1334,7 +1334,7 @@ EOF
# output the YYYY/dir entry for this author
#
echo "* **<a href=\"$YYYY_DIR/index.html\">$YYYY_DIR</a>** - **$AWARD**"
echo "* <a class=\"normal\" href=\"$YYYY_DIR/index.html\">$YYYY_DIR</a> - $AWARD"
done
echo
fi
+2 -2
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.4.2 2024-05-19"
export VERSION="1.4.3 2024-07-13"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -551,7 +551,7 @@ fi
# output the author from the location
#
echo " * [$FULL_NAME](authors.html#$AUTHOR_HANDLE)"
echo " * <a class=\"normal\" href=\"authors.html#$AUTHOR_HANDLE\">$FULL_NAME</a>"
done
echo '<p></p>'
echo
+5 -5
View File
@@ -85,7 +85,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.3.3 2024-07-07"
export VERSION="1.3.4 2024-07-13"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -670,8 +670,8 @@ for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
echo "<div id=\"$YYYY\">"
echo "## $YYYY - The $ORDINAL IOCCC"
echo
echo "[**About the $ORDINAL IOCCC &#40;$YYYY&#41;**]($YYYY/index.html).<br>"
echo "[**Download all IOCCC winning entries of $YYYY**]($YYYY/$YYYY.tar.bz2).</div>"
echo "<a class=\"normal\" href=\"$YYYY/index.html\">About the $ORDINAL IOCCC &#40;$YYYY&#41;</a><br>"
echo "<a class=\"normal\" href=\"$YYYY/$YYYY.tar.bz2\">Download all IOCCC winning entries of $YYYY</a></div>"
echo
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
@@ -797,7 +797,7 @@ for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
# output markdown for this entry
#
echo "* <div id=\"${YEAR_DIR}_${ENTRY_DIR}\">[**$YYYY_DIR**]($YYYY_DIR/index.html) - **$AWARD**</div>"
echo "* <div id=\"${YEAR_DIR}_${ENTRY_DIR}\"><a class=\"normal\" href=\"$YYYY_DIR/index.html\">$YYYY_DIR</a> - $AWARD</div>"
done | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
else
@@ -836,7 +836,7 @@ done
echo '</div></div>'
echo
for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
echo "[**Download all IOCCC winning entries of $YYYY**]($YYYY/$YYYY.tar.bz2).<br>"
echo "<a class=\"normal\" href=\"$YYYY/$YYYY.tar.bz2\">Download all IOCCC winning entries of $YYYY</a><br>"
done
echo
echo '&nbsp;**Jump to:** [top](#)'