Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@VihangaN
Created September 7, 2022 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VihangaN/7bab63f28a5fe2b75b8d48234f7e5db7 to your computer and use it in GitHub Desktop.
Save VihangaN/7bab63f28a5fe2b75b8d48234f7e5db7 to your computer and use it in GitHub Desktop.
css source code for the hashnode duotone article
@font-face {
font-family: "duotone";
src: url("duotone-Regular.ttf") format("truetype"),
url("duotone-Regular.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^="icon-"],
[class*=" icon-"] {
font-family: "duotone" !important;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Calender */
.icon-calender {
color: var(--primary);
}
.icon-calender::before {
content: "\E000";
opacity: 0.4;
color: var(--secondary);
position: absolute;
}
.icon-calender::after {
content: "\E001";
}
/* Note */
.icon-note {
color: var(--primary);
}
.icon-note::before {
content: "\E002";
opacity: 0.4;
color: var(--secondary);
position: absolute;
}
.icon-note::after {
content: "\E003";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment