mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-29 16:54:12 +02:00
Keep Source Code Pro for changelog preview
This commit is contained in:
parent
a0aa878862
commit
0d8d117670
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user