0

xaringan rmarkdown で css を使用して、タイトル スライドの見出しのテキストを中央に配置するにはどうすればよいですか。以下のコードを使用すると、そうではありませんでした。

.title-slide h3:nth-child(2) {
    font-weight: normal;
    font-size: 40px;
    text-align: center;
    color: grey;
    margin-top: 350px; 
}

---
title: "Correlación"
author: "Manuel Spínola"
date: "`r Sys.Date()`"
output:
  xaringan::moon_reader:
  css: mi_estilo.css
  lib_dir: libs
  nature:
    highlightStyle: github
    highlightLines: true
    countIncrementalSlides: false

   ```{r setup, include=FALSE}
   options(htmltools.dir.version = FALSE)
   ```


   # Hola
4

1 に答える 1