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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing require and jquery from cdn. #5488

Merged
merged 2 commits into from Apr 6, 2014

Conversation

damianavila
Copy link
Member

For some reason (I suppose some changes at the css level) the font size inside the input cells was fixed at 14 px... making the fonts really small in the reveal slideshows. This is really annoying...
As a plus, I have also added the missing calls for require and jquery (as the full html template does).
I think these fixes belong to 2.0, but I also know we are on the edge... so I hope to get it inside 馃槈

Cheers.

@minrk
Copy link
Member

minrk commented Apr 2, 2014

Just missed the cutoff, but we should have 2.0.1 pretty soon.

@damianavila
Copy link
Member Author

Yes, I know... no problem... thanks for the quick feedback...

@fperez
Copy link
Member

fperez commented Apr 5, 2014

@minrk, do you see any problem with this one? I don't want to merge it without your opinion, but since I'm using the nb for my pycon keynote and I also saw @catherinedevlin post about doing the same for her talk, I'd like to merge it sooner rather than later, so we can work off straight master.

@minrk
Copy link
Member

minrk commented Apr 5, 2014

I wanted to look into the CSS selector for something simpler, I'll do that now.

@@ -107,6 +110,9 @@ html {
div.input_area {
padding: 0.06em;
}
div.input_area>div.highlight>pre {
font-size: 80%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 80%? Shouldn't it be 100%?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or rather, inherit?

@minrk
Copy link
Member

minrk commented Apr 5, 2014

@damianavila can you check #5534 for the font-size changes? If that works, then we can merge this PR with just the jquery, require additions.

@minrk minrk added this to the 2.1 milestone Apr 5, 2014
@damianavila
Copy link
Member Author

@minrk, I can confirm your fix #5534 is working... so I will modify this PR with just jquery and require additions...

@damianavila damianavila changed the title Fixed fontsize issue and added missing require and jquery from cdn. Added missing require and jquery from cdn. Apr 6, 2014
@damianavila
Copy link
Member Author

Updated...

@minrk
Copy link
Member

minrk commented Apr 6, 2014

Thanks

minrk added a commit that referenced this pull request Apr 6, 2014
Added require and jquery from cdn in reveal template
@minrk minrk merged commit 80d3b7d into ipython:master Apr 6, 2014
@damianavila damianavila deleted the fix_missing_js branch April 6, 2014 21:20
@damianavila
Copy link
Member Author

Thanks!!

minrk added a commit that referenced this pull request Apr 9, 2014
For some reason (I suppose some changes at the css level) the font size inside the input cells was fixed at 14 px... making the fonts really small in the reveal slideshows. This is really annoying...
As a plus, I have also added the missing calls for require and jquery (as the full html template does).
I think these fixes belong to 2.0, but I also know we are on the edge... so I hope to get it inside 馃槈

Cheers.
minrk added a commit that referenced this pull request May 8, 2014
We had various overrides of the bootstrap defaults for font-size and line-height every time we made a pre tag, and then some overrides of our overrides when we wanted something slightly different.

This moves the most basic overrides to apply to all pre tags, reducing the number of downstream changes we need.

Should hopefully replace the CSS changes in #5488
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Added require and jquery from cdn in reveal template
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.

None yet

3 participants