Keep Source Code Pro for changelog preview

This commit is contained in:
Olivier Lacan 2017-04-04 19:09:24 -04:00
parent a0aa878862
commit 0d8d117670
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
$base-font-family: "Carrois Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif
$source-code-font-family: Helvetica, Arial, sans-serif
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
$source-code-font-family: "Source Code Pro", monospace
html
font: 14px/1.4 $base-font-family
@ -17,7 +17,7 @@ h1
color: #C647BF
font-size: 4.1em
font-weight: bold
font-family: $source-code-font-family
font-family: $base-font-family
margin-bottom: 0
line-height: 1
@ -30,7 +30,7 @@ h1, h2
h3
font-size: 1.3em
font-family: $source-code-font-family
font-family: $base-font-family
margin-bottom: 1em
position: relative
padding-left: .1em

View File

@ -20,7 +20,7 @@
%link{rel: 'canonical', href: path_to_url(current_page.url)}
%title= current_page.data.title
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Carrois+Gothic|Source+Code+Pro:400,700'
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Source+Code+Pro:400,700'
= stylesheet_link_tag 'application'
:javascript
@ -45,12 +45,12 @@
- if $languages[code][:notice]
%p.last-version-notice= $languages[code][:notice]
- else
%p
%p
The latest version (#{$last_version}) is not yet available in
this language but
= link_to "you can read it in English", "/en/#{$last_version}"
for now and
= link_to "help translate ", "https://github.com/olivierlacan/keep-a-changelog/issues"
for now and
= link_to "help translate ", "https://github.com/olivierlacan/keep-a-changelog/issues"
it.
= yield