summaryrefslogtreecommitdiff
path: root/htroot/env/base.css
diff options
context:
space:
mode:
authorMarc Nause <marc.nause@audioattack.de>2013-07-30 21:40:37 +0200
committerMarc Nause <marc.nause@audioattack.de>2013-07-30 21:40:37 +0200
commit112836dcc9bfd3966a81f2a6160569e69a256a40 (patch)
treeb432afd7e5e54528c1fe4abf97742348a28a689f /htroot/env/base.css
parentd64a094f0e67bf3168f424494183d29b24e2f324 (diff)
Improved external links.
*) image links will not be marked (if they have class "yacylogo" or "forceNoExternalIcon") *) external links in menu on left (and "fork me"-banner) will open in new tab/window now
Diffstat (limited to 'htroot/env/base.css')
-rw-r--r--htroot/env/base.css8
1 files changed, 2 insertions, 6 deletions
diff --git a/htroot/env/base.css b/htroot/env/base.css
index cb546d6f2..b18f7cc0e 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -93,16 +93,12 @@ a[href^="http://"], a[href^="https://"] {
padding-right: 14px;
}
-/* exception for links to yacy.net and search results */
-a[href^="http://yacy.net"], a[target="_self"] {
+/* exception for links in search results and image links */
+a[target="_self"], a[class="forceNoExternalIcon"], a[class="yacylogo"] {
background: transparent;
padding-right: 0px;
}
-img {
- border:0;
-}
-
td {
padding:1px 2px;
}