mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 04:54:45 +00:00
added roboto slab and reinstated use of serif fonts via new variable
This commit is contained in:
parent
31eb1c5ab3
commit
0d402c02a7
11 changed files with 8 additions and 8 deletions
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-bold.ttf
Executable file
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-bold.ttf
Executable file
Binary file not shown.
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-bold.woff
Executable file
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-bold.woff
Executable file
Binary file not shown.
Binary file not shown.
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-regular.ttf
Executable file
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-regular.ttf
Executable file
Binary file not shown.
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-regular.woff
Executable file
BIN
wagtail/wagtailadmin/static_src/wagtailadmin/fonts/robotoslab-regular.woff
Executable file
Binary file not shown.
Binary file not shown.
|
|
@ -28,14 +28,11 @@
|
|||
}
|
||||
|
||||
@include webfont(Open Sans, opensans-light, 300, normal);
|
||||
//@include webfont(Open Sans, opensans-lightitalic, 300, italic);
|
||||
@include webfont(Open Sans, opensans-regular, 400, normal);
|
||||
//@include webfont(Open Sans, opensans-italic, 400, italic);
|
||||
@include webfont(Open Sans, opensans-semibold, 600, normal);
|
||||
//@include webfont(Open Sans, opensans-semibolditalic, 600, italic);
|
||||
@include webfont(Open Sans, opensans-bold, 700, normal);
|
||||
//@include webfont(Open Sans, opensans-bolditalic, 700, italic);
|
||||
|
||||
@include webfont(Roboto Slab, robotoslab-regular, 400, normal);
|
||||
@include webfont(Roboto Slab, robotoslab-bold, 700, normal);
|
||||
|
||||
/* The wagtail font isn't available in WOFF2, so a @font-face is set here without a mixin. */
|
||||
@font-face {
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ header{
|
|||
}
|
||||
|
||||
span{
|
||||
font-family: $font-serif;
|
||||
display:block;
|
||||
font-size:4em;
|
||||
line-height:1em;
|
||||
|
|
|
|||
|
|
@ -326,8 +326,8 @@
|
|||
.title input,
|
||||
.title textarea,
|
||||
.title .richtext{
|
||||
font-size:2em;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 2em;
|
||||
font-family: $font-serif;
|
||||
}
|
||||
|
||||
/* Footer control bar for perfoming actions on the page */
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
}
|
||||
|
||||
.richtext {
|
||||
font-family: $font-serif;
|
||||
padding-top:4em;
|
||||
min-height:50px;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,8 @@ $color-text-base: $color-grey-2;
|
|||
$color-text-input: $color-grey-1;
|
||||
|
||||
/* Fonts */
|
||||
$font-sans:Open Sans,Arial,sans-serif;
|
||||
$font-sans: Open Sans, Arial, sans-serif;
|
||||
$font-serif: Roboto Slab, Georgia, serif;
|
||||
|
||||
/* misc sizing */
|
||||
$thumbnail-width: 130px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue