yhatt / marp

The site of classic Markdown presentation writer app
https://yhatt.github.io/marp/
MIT License
7.89k stars 398 forks source link

Color of page number #144

Closed Qlaize closed 6 years ago

Qlaize commented 7 years ago

Hi, I activate the page numbers with directive <!-- page_number: true --> Is it possible to change the color of page numbers with this directive ?

Thanks.

Naereen commented 7 years ago

I think it is not implemented, yet. But it should be possible.

@yhatt would it be hard to do? (if you show me the file to edit, I will figure it out)

yhatt commented 6 years ago

This is a workaround for current Marp.

<!-- page_number: true -->

<style>
.slide_page {
  color: red !important;
}
</style>

Styling page number is supported officially in Marp Next (Marpit framework). It will work in future version:

---
paginate: true
---

<style>
section::after {
  color: red;
}
</style>