adding a dim alt color on cosmic

This commit is contained in:
James Tomasino 2019-03-23 21:33:08 -04:00
parent 56295a1cb3
commit 3aa3024d48
2 changed files with 5 additions and 1 deletions

View File

@ -188,7 +188,7 @@ if [ "$run_user" = "root" ] || [ "$run_user" = "publish" ]; then
do
entry_num=$(grep -c "^0${ship}" "${gopher_dir}/listing.gophermap")
if [ "$entry_num" != "0" ]; then
printf "<a href=\"/ships/%s/\">>> %s (%s)</a>\\n" "$ship" "$ship" "$entry_num" >> "$ships_html"
printf "<a href=\"/ships/%s/\">>> %s <span class=\"dim\">(%s logs)</span></a>\\n" "$ship" "$ship" "$entry_num" >> "$ships_html"
# Create individual ship log page
ship_html="${html_dir}/ships/${ship}/index.html"
mkdir -p "${html_dir}/ships/${ship}"

View File

@ -12,6 +12,10 @@
color: rgb(62, 231, 123);
}
.dim {
color: rgb(62, 231, 123, 0.5);
}
.page-wrapper {
text-align: center;
}