screen.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* --------------------------------------------------------------
  2. link-icons.css
  3. * Icons for links based on protocol or file type.
  4. See the Readme file in this folder for additional instructions.
  5. -------------------------------------------------------------- */
  6. /* Use this class if a link gets an icon when it shouldn't. */
  7. body a.noicon {
  8. background:transparent none !important;
  9. padding:0 !important;
  10. margin:0 !important;
  11. }
  12. /* Make sure the icons are not cut */
  13. a[href^="http:"], a[href^="https:"],
  14. a[href^="http:"]:visited, a[href^="https:"]:visited,
  15. a[href^="mailto:"], a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"],
  16. a[href$=".rss"], a[href$=".rdf"], a[href^="aim:"] {
  17. padding:2px 22px 2px 0;
  18. margin:-2px 0;
  19. background-repeat: no-repeat;
  20. background-position: right center;
  21. }
  22. /* External links */
  23. a[href^="http:"] { background-image: url(icons/external.png); }
  24. a[href^="https:"] { background-image: url(icons/lock.png); }
  25. a[href^="mailto:"] { background-image: url(icons/email.png); }
  26. a[href^="http:"]:visited { background-image: url(icons/visited.png); }
  27. /* Files */
  28. a[href$=".pdf"] { background-image: url(icons/pdf.png); }
  29. a[href$=".doc"] { background-image: url(icons/doc.png); }
  30. a[href$=".xls"] { background-image: url(icons/xls.png); }
  31. /* Misc */
  32. a[href$=".rss"],
  33. a[href$=".rdf"] { background-image: url(icons/feed.png); }
  34. a[href^="aim:"] { background-image: url(icons/im.png); }