我有下面的qmd文件与quarto选项title-block-banner: true。如何修改横幅的大小以减少宽度?
---
title: "Cars"
title-block-banner: true
format:
html:
code-fold: true
page-layout: full
fig_caption: yes
---
::: panel-tabset
## MTCars
```{r}磁头(地铁)
## Cars
```{r}头(汽车)
:::发布于 2022-09-01 14:02:21
您可以通过修改默认样式来这样做:
Qmd-file:
---
title: "Cars"
title-block-banner: true
format:
html:
code-fold: true
page-layout: full
fig_caption: yes
---
<style>
#title-block-header {
margin-block-end: 1rem;
position: relative;
margin-top: -1px;
height: 75px;
}
.quarto-title-banner {
margin-block-end: 1rem;
position: relative;
margin-top: -30px;
height: 85%;
}
</style>
::: panel-tabset
## MTCars
```{r}磁头(地铁)
## Cars
```{r}头(汽车)
:::输出:

https://stackoverflow.com/questions/73570277
复制相似问题