Skip to content

Instantly share code, notes, and snippets.

@nutti
Last active July 16, 2016 13:59
Show Gist options
  • Save nutti/88d6605b4a5e440143a3fc0baae99efb to your computer and use it in GitHub Desktop.
Save nutti/88d6605b4a5e440143a3fc0baae99efb to your computer and use it in GitHub Desktop.
[GitBook] GitBookから生成されるPDF・HTMLのデザインを変更する方法 ref: http://qiita.com/nutti/items/96e7194c82b8d04382e2
{
"plugins": ["styles-less"],
"styles": {
"website": "my_website.less",
"pdf": "my_pdf.less"
}
}
.page {
.section {
&.glossary {
>h1 {
color: #FF0000;
}
}
}
}
.book {
.book-body {
.page-wrapper {
.page-inner {
section.normal {
h1 {
font-size: 20px;
}
}
}
}
}
}
.page {
.section {
h1 {
font-size: 20px;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment