2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Correct broken Google webfont in editor

Fixes #4162
This commit is contained in:
John O'Nolan 2014-09-25 18:33:57 +03:00
parent 45824dfbac
commit 07f7c7f56f
3 changed files with 7 additions and 6 deletions

View file

@ -18,12 +18,12 @@ This service can be disabled at any time. All of the information and code relate
## Third Party Services ## Third Party Services
Ghost uses a number of third party services for specific functionality within Ghost. Ghost uses a number of third party services for specific functionality within Ghost.
### Google Fonts ### Google Fonts
Ghost makes use of the Open Sans and Inconsolata [Google Fonts](https://www.google.com/fonts). These are loaded into the Ghost admin area to provide a typographically stimulating experience. Ghost makes use of the Open Sans [Google Font](https://www.google.com/fonts), which is loaded into the Ghost admin area to provide a typographically stimulating experience.
### Gravatar ### Gravatar

View file

@ -39,7 +39,7 @@ $default-transition-duration: 0.3s;
$side-outlet-transition-duration: 0.4s; $side-outlet-transition-duration: 0.4s;
$font-family: 'Open Sans', sans-serif; $font-family: 'Open Sans', sans-serif;
$font-family-mono: Inconsolata, monospace; $font-family-mono: monospace;
$at2x: 2 device-pixel-ratio; $at2x: 2 device-pixel-ratio;
@ -77,4 +77,4 @@ $screen-md-min: $screen-md !default;
$screen-sm: 768px !default; $screen-sm: 768px !default;
$screen-sm-min: $screen-sm !default; $screen-sm-min: $screen-sm !default;
$grid-gutter-width: 30px !default; $grid-gutter-width: 30px !default;

View file

@ -194,7 +194,7 @@
bottom: 0; bottom: 0;
font-family: $font-family-mono; font-family: $font-family-mono;
font-size: 1.4em; font-size: 1.4em;
line-height: 1.3em; line-height: 1.56em;
color: lighten($darkgrey, 10%); color: lighten($darkgrey, 10%);
.CodeMirror-focused, .CodeMirror-focused,
@ -326,8 +326,9 @@
// TODO: These should just be defaults, overridden by editor.hbs in theme dir // TODO: These should just be defaults, overridden by editor.hbs in theme dir
.entry-preview-content, .entry-preview-content,
.content-preview-content { .content-preview-content {
font-size: 1.4em; font-size: 1.8rem;
line-height: 1.5em; line-height: 1.5em;
font-weight: 200;
a { a {
color: $blue; color: $blue;