Last active
July 16, 2016 13:59
-
-
Save nutti/88d6605b4a5e440143a3fc0baae99efb to your computer and use it in GitHub Desktop.
[GitBook] GitBookから生成されるPDF・HTMLのデザインを変更する方法 ref: http://qiita.com/nutti/items/96e7194c82b8d04382e2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": ["styles-less"], | |
"styles": { | |
"website": "my_website.less", | |
"pdf": "my_pdf.less" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page { | |
.section { | |
&.glossary { | |
>h1 { | |
color: #FF0000; | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.book { | |
.book-body { | |
.page-wrapper { | |
.page-inner { | |
section.normal { | |
h1 { | |
font-size: 20px; | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page { | |
.section { | |
h1 { | |
font-size: 20px; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment