Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css to make customizeable #630

Closed
wants to merge 1 commit into from

Conversation

technocrat
Copy link

@technocrat technocrat commented Sep 12, 2018

Broke the css line by inserting \n before each { to make it possible to see what the code does and to modify it. I'd prefer leaving it as is, but I couldn't find any way to override style.css as the default.

Broke the css line by inserting \n before each { to make it possible to see what the code does and to modify it. I'd prefer leaving it as is, but I couldn't find any way to override style.css as the default.
Copy link
Member

@yihui yihui left a comment

You can use the css option to override the default CSS, e.g.,

css: css/style.css

Doc: https://bookdown.org/yihui/rmarkdown/html-document.html (Section 3.1.4.1)

@technocrat
Copy link
Author

@technocrat technocrat commented Sep 12, 2018

@yihui
Copy link
Member

@yihui yihui commented Sep 12, 2018

Got you. Usually what I do is use Inspect Element in Chrome, find the CSS selector, and rewrite its rules in custom.css. And I don't need to look at gitbook's minimized CSS.

@technocrat
Copy link
Author

@technocrat technocrat commented Sep 12, 2018

@yihui yihui added this to the v0.8 milestone Nov 2, 2018
@yihui yihui closed this Nov 2, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants