Skip to content

Changing default header and text fonts in Pluto #1060

Discussion options

You must be logged in to vote

You can add a cell like this:

html"""
<style>
pluto-output {
    font-family: monospace;
    color: green;
}
pluto-output h1 {
    font-family: "Comis Sans MS", cursive;
    color: red;
}
</style>
"""

See all the default styles here:

/* STANDARD HTML ELEMENTS */
/* (can be overriden by custom style) */
pluto-output {
font-family: "Alegreya Sans", sans-serif;
font-size: 1em;
font-weight: 400;
color: hsl(0, 0%, 25%);
}
pluto-output h1,
pluto-output h2,
pluto-output h3,
pluto-output h4,
pluto-output h5,
pluto-output h6 {
font-family: "Vollkorn"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fonsp
Comment options

fonsp Apr 6, 2021
Maintainer

Answer selected by fonsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants