.. code-block::
:caption: Main.html
This text became red
It renders like this:
.. code-block:: html
:caption: app.html
This text became red
Green text locally
Red text everywhere
.. code-block:: css
:caption: app.css
p.StyledComponent {
color: green
}
div {
color: red
}
.. note::
To make localize style effects `pantra` renders component named `class` for each component node
(`StyledComponent` in example above).
.. note::
All application-related styles are collected and rendered together
to a file `
.local.css`. Read :doc:`template` for more.
.. seealso::
Some predefined common theme defaults are stored in `css` directory.
Read more about :doc:`directory structure `.
.. seealso::
Also, check individual styling :ref:`features