mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-24 22:54:09 +00:00
Now use tonsky's awesome Fira Code font.
This commit is contained in:
parent
6e921bc80c
commit
ed9e949ee8
@ -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
|
||||
border-bottom: 1px dotted #888
|
||||
cursor: help
|
||||
|
@ -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
|
||||
|
||||
=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)
|
||||
|
||||
body
|
||||
font-feature-settings: "calt" 1 // Enable ligatures for IE 10+, Edge
|
||||
text-rendering: optimizeLegibility // Force ligatures for Webkit, Blink, Gecko
|
||||
margin: 0
|
||||
padding: 0
|
||||
background: #eaeaea url("../images/bkg-white.png") 0 0
|
||||
@ -183,7 +185,9 @@ pre
|
||||
pre, code
|
||||
background: rgba(black, 0.1)
|
||||
border: 1px solid rgba(white, 0.85)
|
||||
font-size: 0.9em
|
||||
font:
|
||||
family: $font
|
||||
size: 0.9em
|
||||
color: $maincolor
|
||||
border-radius: 2px
|
||||
-moz-border-radius: 2px
|
||||
|
BIN
fonts/FiraCode-Bold.woff
Normal file
BIN
fonts/FiraCode-Bold.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Bold.woff2
Normal file
BIN
fonts/FiraCode-Bold.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Regular.woff
Normal file
BIN
fonts/FiraCode-Regular.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Regular.woff2
Normal file
BIN
fonts/FiraCode-Regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user