Git Product home page Git Product logo

Comments (15)

damianavila avatar damianavila commented on July 30, 2024

Yes, it is a know problem because of the notebook css... the easiest solution is theming you slides in the custom.css with a dark background... I will publish my custom.css soon, so you can take a customization example from there... btw, I will let this open until figured out the best solution.

from rise.

nlsn avatar nlsn commented on July 30, 2024

I think I isolated to one line in the CSS file. I made a copy of moon.css, and I added the background section from sky.css. This line makes the background work in Chromium on Xubuntu:

background: -webkit-radial-gradient(center, circle cover, #00121d 0%, #002b36 100%);

If I comment out that line, then the background is white.

from rise.

damianavila avatar damianavila commented on July 30, 2024

ok, I will take a look into this... if it is usable in the other darker themes, we can probably include it in the RISE main.css.

from rise.

nlsn avatar nlsn commented on July 30, 2024

Here's where I inserted:
https://github.com/damianavila/live_reveal/blob/master/livereveal/reveal.js/css/theme/moon.css#L25

It seems that moon.css doesn't have all the needed definitions.

from rise.

nlsn avatar nlsn commented on July 30, 2024

I think the main.css should also tweak the code cell colors to fit a dark background.

I'm looking at your blog about changing IPython themes, but that method seems to be incompatible with RISE.

from rise.

damianavila avatar damianavila commented on July 30, 2024

I'm looking at your blog about changing IPython themes, but that method seems to be incompatible with RISE.

Did you see my talk at SciPy2014?

from rise.

nlsn avatar nlsn commented on July 30, 2024

OK, so I borrowed one of Jan T. Sott's custom.css files (Bespin Dark) from the 48 themes for IPython. I added it to the end of moon.css.

It's halfway there. In[ ] and Out[ ] are still blue and red, and the output text is black (not good on a dark background.)

Also, the borders around cells are too bright.

Know where I can get a whole list of Notebook elements?

from rise.

nlsn avatar nlsn commented on July 30, 2024

I did see your talk, but I don't remember all the details.

from rise.

nlsn avatar nlsn commented on July 30, 2024

I added you on G+ / Hangouts. Contact me there. I'm going to be away from the computer now.

from rise.

damianavila avatar damianavila commented on July 30, 2024

Tomorrow I will post my custom.css... which is also applicable to RISE... so, you will get all the details about the things to modify... it is a little bit late here, and I have to take some rest ;-)

from rise.

nlsn avatar nlsn commented on July 30, 2024

Another trouble with dark backgrounds is that they make the bright-colored border of the IPython Notebook "pager" area very conspicuous.

Usually the pager area is collapsed along the bottom edge, so it appears as a light-grey border along the bottom of the slide. This looks like a mistake when the rest of the slide is dark in color.

Am I splitting hairs?

from rise.

damianavila avatar damianavila commented on July 30, 2024

You are not splitting hairs... thanks for your input... it makes the things better... btw, you are right... the customization is probably something without end. I will try to help you with the customization as long as I can ;-) Probably, moving forward, we can post some guidelines in the wiki and so on...

from rise.

cdagnino avatar cdagnino commented on July 30, 2024

Hey @damianavila , did you post your custom.css somewhere? (sorry if I couldn't find it). I'm trying to modify things, but not sure where to start (this is a great project by the way, salud!)

from rise.

damianavila avatar damianavila commented on July 30, 2024

I did not posted anywhere yet (not time to do it), but you can get some ideas/guidelines from this old blog post about customizing the IPython "static" slides... http://www.damian.oquanta.info/posts/customizing-your-ipython-slides.html

from rise.

damianavila avatar damianavila commented on July 30, 2024

We can eventually ship some custom css to help the darker themes. I will open an issue for this general enhancement, close this one and make the corresponding reference.

from rise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.