1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-25 23:04:06 +00:00

Now use tonsky's awesome Fira Code font.

This commit is contained in:
Markus Birth 2016-12-27 14:18:19 +01:00
parent 6e921bc80c
commit ed9e949ee8
6 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,19 @@
--- ---
--- ---
@font-face
font-family: "Fira Code"
src: url(../fonts/FiraCode-Regular.woff2) format(woff2)
src: url(../fonts/FiraCode-Regular.woff) format(woff)
font-weight: normal
font-style: normal
@font-face
font-family: "Fira Code"
src: url(../fonts/FiraCode-Bold.woff2) format(woff2)
src: url(../fonts/FiraCode-Bold.woff) format(woff)
font-weight: bold
font-style: normal
abbr, acronym abbr, acronym
border-bottom: 1px dotted #888 border-bottom: 1px dotted #888
cursor: help cursor: help

View File

@ -1,12 +1,14 @@
--- ---
--- ---
$font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace $font: "Fira Code", Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace
$maincolor: #678b22 $maincolor: #678b22
=text-shadow =text-shadow
text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1) text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1)
body body
font-feature-settings: "calt" 1 // Enable ligatures for IE 10+, Edge
text-rendering: optimizeLegibility // Force ligatures for Webkit, Blink, Gecko
margin: 0 margin: 0
padding: 0 padding: 0
background: #eaeaea url("../images/bkg-white.png") 0 0 background: #eaeaea url("../images/bkg-white.png") 0 0
@ -183,7 +185,9 @@ pre
pre, code pre, code
background: rgba(black, 0.1) background: rgba(black, 0.1)
border: 1px solid rgba(white, 0.85) border: 1px solid rgba(white, 0.85)
font-size: 0.9em font:
family: $font
size: 0.9em
color: $maincolor color: $maincolor
border-radius: 2px border-radius: 2px
-moz-border-radius: 2px -moz-border-radius: 2px

BIN
fonts/FiraCode-Bold.woff Normal file

Binary file not shown.

BIN
fonts/FiraCode-Bold.woff2 Normal file

Binary file not shown.

BIN
fonts/FiraCode-Regular.woff Normal file

Binary file not shown.

Binary file not shown.