blob: 6104deb705891141e63aa1094d4242c1550dc0f5 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/* Make sure the icons are not cut */
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
a[href$=".rdf"], a[href^="aim:"] {
padding:2px 22px 2px 0;
margin:-2px 0;
background-repeat: no-repeat;
background-position: right center;
}
/* External links */
a[href^="http:"]{
background-image: url(../images/icons/external.png);
}
a[href^="mailto:"]{
background-image: url(../images/icons/email.png);
}
/* Files */
a[href$=".pdf"]{
background-image: url(../images/icons/pdf.png);
}
a[href$=".doc"]{
background-image: url(../images/icons/doc.png);
}
a[href$=".xls"]{
background-image: url(../images/icons/xls.png);
}
/* Misc */
a[href$=".rss"],
a[href$=".rdf"]{
background-image: url(../images/icons/feed.png);
}
a[href^="aim:"]{
background-image: url(../images/icons/im.png);
}
/* Use this class if a link gets an icon when it shouldn't. */
body a.noicon {
background:none;
padding:0;
margin:0;
}