我正在寻找一种创建自定义css文件的方法,它允许我在每张幻灯片上放置一个徽标,标题幻灯片除外。到目前为止,我能够使用以下方法将其嵌入到每张幻灯片中:
body {
background-image: url("log.png");
background-size: 20%;
background-repeat: no-repeat;
background-position: 3% 96%;
}
另外,我不想在YAML中设置徽标,而是直接在css文件中设置徽标,它不应该是页脚的一部分。我被困住,任何帮助都非常感激。
把这个放在style.css
:
slides > slide:not(.title-slide) {
background-image: url("log.png");
background-size: 20%;
background-repeat: no-repeat;
background-position: 3% 96%;
}
然后使用YAML包含样式
output:
ioslides_presentation:
css: style.css