style.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @font-face {
  2. font-family: 'phpdocumentor-clean-icons';
  3. src:url('fonts/phpdocumentor-clean-icons.eot');
  4. src:url('fonts/phpdocumentor-clean-icons.eot?#iefix') format('embedded-opentype'),
  5. url('fonts/phpdocumentor-clean-icons.woff') format('woff'),
  6. url('fonts/phpdocumentor-clean-icons.ttf') format('truetype'),
  7. url('fonts/phpdocumentor-clean-icons.svg#phpdocumentor-clean-icons') format('svg');
  8. font-weight: normal;
  9. font-style: normal;
  10. }
  11. /* Use the following CSS code if you want to use data attributes for inserting your icons */
  12. [data-icon]:before {
  13. font-family: 'phpdocumentor-clean-icons';
  14. content: attr(data-icon);
  15. speak: none;
  16. font-weight: normal;
  17. font-variant: normal;
  18. text-transform: none;
  19. line-height: 1;
  20. -webkit-font-smoothing: antialiased;
  21. }
  22. /* Use the following CSS code if you want to have a class per icon */
  23. /*
  24. Instead of a list of all class selectors,
  25. you can use the generic selector below, but it's slower:
  26. [class*="icon-"] {
  27. */
  28. .icon-trait, .icon-interface, .icon-class {
  29. font-family: 'phpdocumentor-clean-icons';
  30. speak: none;
  31. font-style: normal;
  32. font-weight: normal;
  33. font-variant: normal;
  34. text-transform: none;
  35. line-height: 1;
  36. -webkit-font-smoothing: antialiased;
  37. }
  38. .icon-trait:before {
  39. content: "\e000";
  40. }
  41. .icon-interface:before {
  42. content: "\e001";
  43. }
  44. .icon-class:before {
  45. content: "\e002";
  46. }