[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-devel] [task #14774] Highlight external links in HTML book
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-devel] [task #14774] Highlight external links in HTML book |
Date: |
Tue, 12 Dec 2017 06:40:53 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
URL:
<http://savannah.gnu.org/task/?14774>
Summary: Highlight external links in HTML book
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Tue 12 Dec 2017 12:40:51 PM CET
Should Start On: Tue 12 Dec 2017 12:00:00 AM CET
Should be Finished on: Tue 12 Dec 2017 12:00:00 AM CET
Category: Webpage
Priority: 5 - Normal
Item Group: None
Status: Postponed
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Details:
Knowing which links in a webpage link to an external source and which are
within the book can help in readability. As part of sr #109106, I noticed that
the French CSS <https://www.gnu.org/style.fr.css> has an interesting solution
to this problem (by placing an arrow before the link name). Here it is:
@media screen {
#content a[href^="http://"]:before,
#content a[href^="https://"]:before { content: "\2197"; }
#content a[href*="fsf.org"]:before,
#content a[href*="gnu.org"]:before,
#content #home a[href^="http://"]:before,
#content a[href*="upgradefrom"]:before,
#content table a[href^="http://"]:before,
#content table a[href^="https://"]:before { content: ""; }
}
Maybe other solutions (instead of putting an arrow) would be to change the
colors of such links.
But anyway, it may be interesting to add a link identification system to mark
links to external pages in Gnuastro's CSS
<http://git.savannah.gnu.org/cgit/gnuastro.git/tree/doc/style.css>.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?14774>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-devel] [task #14774] Highlight external links in HTML book,
Mohammad Akhlaghi <=