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

Background colors, text/page alignment classes, print control styles #188

Merged
merged 2 commits into from Mar 13, 2019

Conversation

Projects
None yet
2 participants
@vincerubinetti
Copy link
Contributor

vincerubinetti commented Mar 13, 2019

Added more background colors including white, darkgrey, and black. A white background can now be applied to a figure as ![an image](https://images.com/image.png){.white}, and that class will be copied over to lightbox preview.

Added classes to align text/images/other elements horizontally, and align headers and a few other elements vertically in the page when printed.

Also changed the print styles a bit. Made the font size a standard 12pt, and the margins a standard 1in. Also changed the page break classes to a more cross-browser compatible value.

@vincerubinetti vincerubinetti changed the title added text/page alignment classes, changed print control styles Background colors, text/page alignment classes, print control styles Mar 13, 2019

Switch margins to 0.75 inches
To reduce pages needed to print manuscript.

@dhimmel dhimmel merged commit b422130 into manubot:master Mar 13, 2019

dhimmel pushed a commit that referenced this pull request Mar 13, 2019

CSS: background colors, alignment classes, print control
This build is based on
b422130.

This commit was created by the following Travis CI build and job:
https://travis-ci.com/manubot/rootstock/builds/104321158
https://travis-ci.com/manubot/rootstock/jobs/184692500

[ci skip]

The full commit message that triggered this build is copied below:

CSS: background colors, alignment classes, print control

Merges #188

Miscellaneous changes to default.html style including background colors,
text/page alignment classes, print control styles.

Switch margins to 0.75 inches to reduce pages needed to print manuscript.

dhimmel pushed a commit that referenced this pull request Mar 13, 2019

CSS: background colors, alignment classes, print control
This build is based on
b422130.

This commit was created by the following Travis CI build and job:
https://travis-ci.com/manubot/rootstock/builds/104321158
https://travis-ci.com/manubot/rootstock/jobs/184692500

[ci skip]

The full commit message that triggered this build is copied below:

CSS: background colors, alignment classes, print control

Merges #188

Miscellaneous changes to default.html style including background colors,
text/page alignment classes, print control styles.

Switch margins to 0.75 inches to reduce pages needed to print manuscript.

@vincerubinetti vincerubinetti deleted the vincerubinetti:theme-print-alignment branch Mar 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.