Browse Source

Use Fira Code font

master
Schneider 6 years ago
parent
commit
18cf05af8c
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 12
      static/css/style.css
  2. BIN
      static/fonts/FiraCode-Regular.woff2

12
static/css/style.css

@ -12,10 +12,10 @@ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abb
/* latin */ /* latin */
@font-face { @font-face {
font-family: 'Ubuntu Mono';
font-family: 'Fira Code';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url('../fonts/ubunut-mono.woff') format('woff2');
src: local('Fira Code'), local('FiraCode-Regular'), url('../fonts/FiraCode-Regular.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }
@ -304,12 +304,12 @@ hr {
} }
span.code { span.code {
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
background-color:#EEE; background-color:#EEE;
} }
pre { pre {
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
white-space:pre; white-space:pre;
border: 1px solid #ddd; border: 1px solid #ddd;
padding:20px; padding:20px;
@ -666,7 +666,7 @@ a.symbol:hover {
} }
p code { p code {
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
background-color:#EEE; background-color:#EEE;
padding: 4px; padding: 4px;
} }
@ -683,5 +683,5 @@ kbd {
padding-bottom: 0.1rem; padding-bottom: 0.1rem;
padding-left: 0.2rem; padding-left: 0.2rem;
white-space: nowrap; white-space: nowrap;
font-family: 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
font-family: 'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
} }

BIN
static/fonts/FiraCode-Regular.woff2

Loading…
Cancel
Save