How to change the theme in MARP

In reality it is very complicated, in any case inaccessible to ordinary people, do not I see myself explaining to students the procedure described in this link.
Quite simply because they are not computer scientists and secondly, the interest of using MARP is precisely to be efficient, effective and fast.
On the other hand, as the description indicates, you can easily add styles at the beginning of the slideshow. And then it becomes accessible…
Here is a very short example of what can be done :

<style>
.slide {
 background-color: black;
 font: 40px arial, sans-serif;
 }
.slide a {
 color: indigo;
 }
.slide h1 {
 color: fuchsia !important;
 text-align: center;
 }
.slide h2 {
 color: darkviolet;
 }
.slide p {
 color: darkorchid;
 }
</style>

A few explanations:
. slide is about slide related settings
. slide a modifies the links
. slide h1 the titles of level 1 (#)! important clears the parameter setting set by the theme
You need to  use default theme and not Gaia to make it work.
There are two ways to do this, either integrate an external file with a link:

<link rel="stylesheet" type="text/css" href="style.css">

or include the style at the top of the page but it’s less clean.
Enjoy !

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *