Skip to content

Instantly share code, notes, and snippets.

@mvilrokx
Created January 15, 2013 06:09
Show Gist options
  • Save mvilrokx/4536584 to your computer and use it in GitHub Desktop.
Save mvilrokx/4536584 to your computer and use it in GitHub Desktop.
OpenDyslexic CSS
@font-face {
font-family: 'opendyslexic';
src: url('http://dyslexicfonts.com/fonts/OpenDyslexic-Regular.otf');
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('http://dyslexicfonts.com/fonts/OpenDyslexic-Italic.ttf');
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('http://dyslexicfonts.com/fonts/OpenDyslexic-Bold.ttf');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('http://dyslexicfonts.com/fonts/OpenDyslexic-BoldItalic.ttf');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: eulexia;
src: url('http://dyslexicfonts.com/fonts/eulexia.ttf');
}
* {
font-size:20px;
line-height:200%;
color: #191A42;
font-family:opendyslexic !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment