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

Added ability to specify a CSS querystring parameter in addition to url parameter. #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xicubed
Copy link

@xicubed xicubed commented Feb 15, 2015

added the ability to specify css styles in the querystring parameter … …
…"css".

  • refactored documents css from index.html to essay.css
  • copied essay.css to alt.css just to give me somewhere to test and changed the body background to beccapurple (#663399).
  • to test the alt.css append this querystring parameter to a working myword instance: ?url=https://dl.dropboxusercontent.com/u/36518280/misc/myWordDemo.json&css=./alt.css if no css is specified it defaults to essay.css. of course ./alt.css could be a fully qualified url or any url for that matter anywhere.

…"css".

- refactored documents css from index.html to essay.css
- copied essay.css to alt.css just to give me somewhere to test and changed the body background to beccapurple (#663399).
- to test the alt.css append this querystring parameter to a working myword instance: ?url=https://dl.dropboxusercontent.com/u/36518280/misc/myWordDemo.json&css=./alt.css if no css is specified it defaults to essay.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant