Browse Source

Use UbuntuMono for code

master
Schneider 7 years ago
parent
commit
2fc9b909e4
  1. 30
      static/css/style.css
  2. BIN
      static/fonts/ubunut-mono.woff

30
static/css/style.css

@ -10,6 +10,15 @@ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abb
}
.hidden { display: none; }
/* latin */
@font-face {
font-family: 'Ubuntu Mono';
font-style: normal;
font-weight: 400;
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url('../fonts/ubunut-mono.woff') 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;
}
/* Icons */
@font-face {
font-family: 'icons';
@ -294,22 +303,20 @@ hr {
background: #eee;
}
span.code { font-family:Menlo, Monaco, Courier; background-color:#EEE; font-size:14px; }
span.code {
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
background-color:#EEE;
}
pre {
font-family:Menlo, Monaco, Courier;
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
white-space:pre-wrap;
/*border: 1px solid #ddd;*/
padding:20px;
background-color:#fdfdfd;
/*font-size:14px;*/
overflow:auto;
border-radius: 3px;
background: #272b2d;
font-family: 'Source Code Pro',Menlo,monospace;
font-size: 13px;
line-height: 1.5em;
font-weight: 500;
color: #d0d4d7;
}
@ -658,9 +665,8 @@ a.symbol:hover {
color: #BCD4DA;
}
code {
font-family:Menlo, Monaco, Courier;
background-color:#EEE; font-size:14px;
padding: 4px;
font-weight: 600;
code {
font-family:'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
background-color:#EEE;
padding: 4px;
}

BIN
static/fonts/ubunut-mono.woff

Loading…
Cancel
Save