chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
29 stars 4 forks source link

Runnable code font size in slides is small #194

Closed chrismgraham closed 9 months ago

chrismgraham commented 9 months ago

The code.css stylesheet has an entry

.runnable-code-wrapper[data-format="slides"] {
    ...
    font-size: 0.7rem;
}

Although I can understand the desire to fit a decent amount of code into a block, I think the difference between the main body text and code is too great: the code was legible but pretty small from the back of a lecture theatre. Perhaps change to 0.9rem?

chrismgraham commented 9 months ago

Related to this, when I came to delivering these slides I actually wanted the static code to have a consistent font-size with the above, so went for 0.9rem there too.

.highlight pre {
  font-size: 0.9rem;
}