mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-24 02:15:02 +00:00
48 lines
1.3 KiB
CSS
48 lines
1.3 KiB
CSS
@font-face {
|
|
font-family: 'phpdocumentor-clean-icons';
|
|
src:url('fonts/phpdocumentor-clean-icons.eot');
|
|
src:url('fonts/phpdocumentor-clean-icons.eot?#iefix') format('embedded-opentype'),
|
|
url('fonts/phpdocumentor-clean-icons.woff') format('woff'),
|
|
url('fonts/phpdocumentor-clean-icons.ttf') format('truetype'),
|
|
url('fonts/phpdocumentor-clean-icons.svg#phpdocumentor-clean-icons') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Use the following CSS code if you want to use data attributes for inserting your icons */
|
|
[data-icon]:before {
|
|
font-family: 'phpdocumentor-clean-icons';
|
|
content: attr(data-icon);
|
|
speak: none;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Use the following CSS code if you want to have a class per icon */
|
|
/*
|
|
Instead of a list of all class selectors,
|
|
you can use the generic selector below, but it's slower:
|
|
[class*="icon-"] {
|
|
*/
|
|
.icon-trait, .icon-interface, .icon-class {
|
|
font-family: 'phpdocumentor-clean-icons';
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
.icon-trait:before {
|
|
content: "\e000";
|
|
}
|
|
.icon-interface:before {
|
|
content: "\e001";
|
|
}
|
|
.icon-class:before {
|
|
content: "\e002";
|
|
}
|