screen.css 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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^="mailto:"], a[href^="http:"]:visited,
  14. a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
  15. a[href$=".rdf"], a[href^="aim:"] {
  16. padding:2px 22px 2px 0;
  17. margin:-2px 0;
  18. background-repeat: no-repeat;
  19. background-position: right center;
  20. }
  21. /* External links */
  22. a[href^="http:"] { background-image: url(icons/external.png); }
  23. a[href^="mailto:"] { background-image: url(icons/email.png); }
  24. a[href^="http:"]:visited { background-image: url(icons/visited.png); }
  25. /* Files */
  26. a[href$=".pdf"] { background-image: url(icons/pdf.png); }
  27. a[href$=".doc"] { background-image: url(icons/doc.png); }
  28. a[href$=".xls"] { background-image: url(icons/xls.png); }
  29. /* Misc */
  30. a[href$=".rss"],
  31. a[href$=".rdf"] { background-image: url(icons/feed.png); }
  32. a[href^="aim:"] { background-image: url(icons/im.png); }