diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-01 22:59:08 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-01 22:59:08 +0800 |
commit | 972ef7593ede242c0555414cfaffded397993cac (patch) | |
tree | 53f205ff9aa9daff8f9af7d0a4459d5f102c20e0 | |
parent | 07f4871b034f27ae2223e34a67c1acfa625e6dff (diff) | |
download | fg21sim-972ef7593ede242c0555414cfaffded397993cac.tar.bz2 |
webui: fonts.css: Avoid space in font-family name; Some cleanup
-rw-r--r-- | fg21sim/webui/static/css/fonts.css | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/fg21sim/webui/static/css/fonts.css b/fg21sim/webui/static/css/fonts.css index e01f1a7..3a11207 100644 --- a/fg21sim/webui/static/css/fonts.css +++ b/fg21sim/webui/static/css/fonts.css @@ -11,28 +11,29 @@ /** - * Source Sans Pro: Regular + Semibold + * Source Sans Pro + * (Regular + Semibold) */ @font-face { - font-family: 'Source Sans Pro'; + font-family: 'SourceSansPro'; src: url('../fonts/SourceSansPro-Regular.ttf.woff') format('woff'); font-weight: normal; font-style: normal; } @font-face { - font-family: 'Source Sans Pro'; + font-family: 'SourceSansPro'; src: url('../fonts/SourceSansPro-It.ttf.woff') format('woff'); font-weight: normal; font-style: italic; } @font-face { - font-family: 'Source Sans Pro'; + font-family: 'SourceSansPro'; src: url('../fonts/SourceSansPro-Semibold.ttf.woff') format('woff'); font-weight: bold; font-style: normal; } @font-face { - font-family: 'Source Sans Pro'; + font-family: 'SourceSansPro'; src: url('../fonts/SourceSansPro-SemiboldIt.ttf.woff') format('woff'); font-weight: bold; font-style: italic; @@ -41,11 +42,11 @@ /** * Source Code Pro + * (Regular only) */ @font-face { - font-family: 'Source Code Pro'; - src: local('Source Code Pro'), - url('../fonts/SourceCodePro-Regular.ttf.woff') format('woff'); + font-family: 'SourceCodePro'; + src: url('../fonts/SourceCodePro-Regular.ttf.woff') format('woff'); font-weight: normal; font-style: normal; } @@ -55,9 +56,9 @@ * Set font styles */ body { - font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif; + font-family: 'SourceSansPro', sans-serif; } pre { - font-family: 'Source Code Pro', 'DejaVu Sans Mono', monospace; + font-family: 'SourceCodePro', monospace; } |