123 lines
2 KiB
CSS
123 lines
2 KiB
CSS
/*--------------------------------
|
|
|
|
Phosphor Web Font
|
|
|
|
-------------------------------- */
|
|
@font-face {
|
|
font-family: 'Phosphor';
|
|
src: url("Phosphor.woff2") format("woff2");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/*------------------------
|
|
base class definition
|
|
-------------------------*/
|
|
[class^="ph-"],
|
|
[class*=" ph-"] {
|
|
display: inline-flex;
|
|
}
|
|
|
|
[class^="ph-"]:before,
|
|
[class*=" ph-"]:before {
|
|
font: normal normal normal 1em/1 "Phosphor";
|
|
color: inherit;
|
|
flex-shrink: 0;
|
|
speak: none;
|
|
text-transform: none;
|
|
text-decoration: inherit;
|
|
text-align: center;
|
|
/* Better Font Rendering */
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
/*------------------------
|
|
change icon size
|
|
-------------------------*/
|
|
/* relative units */
|
|
.ph-xxs {
|
|
font-size: 0.5em;
|
|
}
|
|
.ph-xs {
|
|
font-size: 0.75em;
|
|
}
|
|
.ph-sm {
|
|
font-size: 0.875em;
|
|
}
|
|
.ph-lg {
|
|
font-size: 1.3333em;
|
|
line-height: 0.75em;
|
|
vertical-align: -0.0667em;
|
|
}
|
|
.ph-xl {
|
|
font-size: 1.5em;
|
|
line-height: 0.6666em;
|
|
vertical-align: -0.075em;
|
|
}
|
|
.ph-1x {
|
|
font-size: 1em;
|
|
}
|
|
.ph-2x {
|
|
font-size: 2em;
|
|
}
|
|
.ph-3x {
|
|
font-size: 3em;
|
|
}
|
|
.ph-4x {
|
|
font-size: 4em;
|
|
}
|
|
.ph-5x {
|
|
font-size: 5em;
|
|
}
|
|
.ph-6x {
|
|
font-size: 6em;
|
|
}
|
|
.ph-7x {
|
|
font-size: 7em;
|
|
}
|
|
.ph-8x {
|
|
font-size: 8em;
|
|
}
|
|
.ph-9x {
|
|
font-size: 9em;
|
|
}
|
|
.ph-10x {
|
|
font-size: 10em;
|
|
}
|
|
.ph-fw {
|
|
text-align: center;
|
|
width: 1.25em;
|
|
}
|
|
/*------------------------
|
|
icons (to add an icon you want to use,
|
|
copy it from the unused.css file)
|
|
-------------------------*/
|
|
|
|
.ph-magnifying-glass-bold::before {
|
|
content: "\f8bf";
|
|
}
|
|
|
|
.ph-github-logo-bold::before {
|
|
content: "\f852";
|
|
}
|
|
|
|
.ph-info-bold::before {
|
|
content: "\f88f";
|
|
}
|
|
|
|
.ph-book-bold::before {
|
|
content: "\f6fb";
|
|
}
|
|
|
|
.ph-browser-bold::before {
|
|
content: "\f70d";
|
|
}
|
|
|
|
.ph-youtube-logo-bold::before {
|
|
content: "\fa5d";
|
|
}
|
|
|
|
.ph-chat-circle-text-bold::before {
|
|
content: "\f74c";
|
|
}
|