controling author text color in revealjs #4975
-
I'm trying to create a quarto revealjs presentation where the title slide has a dark background and white text, and the rest of the presentation has black text on white background. Taking inspiration from this post https://stackoverflow.com/questions/73575170/quarto-revealjs-presentation-change-title-author-date-position-font-size-an I managed to get the white title by adding a
... but for some reason it doesn't apply the white color for the author element... Here's the yaml:
Any idea how i could control both title and author text colour please? Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The theme option is for SCSS not CSS. /*-- scss:rules --*/
#title-slide {
.title {
font-size: 4.5em;
color: #ffffff;
}
.subtitle {
font-size: 3em;
}
.quarto-title-author {
color: #ffffff;
}
} You also have |
Beta Was this translation helpful? Give feedback.
The theme option is for SCSS not CSS.
Below is an example to tweak title and subtitle font-size, and tweak author colour.
You also have
.quarto-title-affiliation
,.quarto-title-author-email
,.quarto-title-author-name
to have more fine grain tuning.