小编acs*_*acs的帖子

R markdonw ioslides标题页格式更改

我想改变我们编织html myoslides时出现的第一个标题页的外观.这是测试Rmd文件的标题:

    ---
    title: This test
    subtitle: that test
    author: jake
    output: 
       ioslides_presentation:
       incremental: true
       css: myCss4.css
    ---
Run Code Online (Sandbox Code Playgroud)

我想要的是将标题居中(默认是左下角)并更改颜色和字体大小.我成功地改变了颜色和字体大小,但没有改变文本的位置....

这是我尝试过的自定义css:

    slides > slide.title-slide hgroup h1 {
      font-weight: bold;
      font-size: 24pt;
      color:red;
      bottom: 50%;
    }
Run Code Online (Sandbox Code Playgroud)

我尝试了底部:50%;,顶部= 50%,其他一些事情没有成功...标题文本位置不会改变.我的代码是什么?或者有更好的方式而不是CSS?

html css r rstudio r-markdown

3
推荐指数
1
解决办法
2787
查看次数

标签 统计

css ×1

html ×1

r ×1

r-markdown ×1

rstudio ×1