-
DescriptionUpon inspection, the dark mode toggle (Quarto documentation here) that appears on the top right corner appears like so in the HTML: <div class="quarto-navbar-tools">
<a href="http://localhost:5555/" class="quarto-color-scheme-toggle quarto-navigation-tool px-1 alternate" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode">
<i class="bi"></i>
</a>
</div> However, trying to change the size of the toggle in CSS like so .quarto-color-scheme-toggle > i {
font-size: 100px;
} doesn't seem to work. What can be a solution? |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Jan 1, 2024
Replies: 1 comment 1 reply
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```

The end.
```` |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that you don't target the right thing.
You need to use your favourite browser inspect mode to look for the right element and you'll see why setting font size has no effect.
But you'll also see that it is controlled by height and width.