Skip to content

Instantly share code, notes, and snippets.

@rpbaptist
Created May 4, 2017 11:31
Show Gist options
  • Save rpbaptist/0c4c9711aaf0deae9e3362ead69a6641 to your computer and use it in GitHub Desktop.
Save rpbaptist/0c4c9711aaf0deae9e3362ead69a6641 to your computer and use it in GitHub Desktop.
Font replacement for Stylish browser extension: Use open source and personally preferred fonts
@font-face {
font-family: 'Consolas';
src: local('Source Code Pro'), local('SourceCodePro-Regular');
}
@font-face {
font-family: 'Courier New';
src: local('Source Code Pro'), local('SourceCodePro-Regular');
}
code, pre, .codeMirror {
font-family: monospace;
}
@font-face {
font-family: 'Monaco';
src: local('Source Code Pro Medium'), local('SourceCodePro-Medium');
}
@font-face {
font-family: 'Helvetica Neue';
src: local('Open Sans'), local('Open Sans Regular');
}
@font-face {
font-family: 'Helvetica';
src: local('Open Sans'), local('Open Sans Regular');
}
@font-face {
font-family: 'Arial';
src: local('Open Sans'), local('Open Sans Regular');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment