summaryrefslogtreecommitdiff
path: root/htroot/env/base.css
diff options
context:
space:
mode:
authorMarc Nause <marc.nause@audioattack.de>2013-07-30 20:46:51 +0200
committerMarc Nause <marc.nause@audioattack.de>2013-07-30 20:46:51 +0200
commitd64a094f0e67bf3168f424494183d29b24e2f324 (patch)
tree7ab26b5c0c067803e477a30be10a49e22270c677 /htroot/env/base.css
parent31902f54dfeecb00a80fd93585e3bfd6117012fa (diff)
External links in HTML interface are marked as external with small icon.
*) added new icon *) added CSS rules to mark all external links except search results (target="_self")
Diffstat (limited to 'htroot/env/base.css')
-rw-r--r--htroot/env/base.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 4fde7cd73..cb546d6f2 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -87,6 +87,18 @@ a:hover {
text-decoration:underline;
}
+/* mark external links */
+a[href^="http://"], a[href^="https://"] {
+ background: url(/env/grafics/external.png) center right no-repeat;
+ padding-right: 14px;
+}
+
+/* exception for links to yacy.net and search results */
+a[href^="http://yacy.net"], a[target="_self"] {
+ background: transparent;
+ padding-right: 0px;
+}
+
img {
border:0;
}