Diskussion:Utilisateur:Zorroargh/Discussion: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Neuer Abschnitt CSS per page?)
(CSS per page?)
Zeile 29: Zeile 29:
  
 
It would only work for the article, not the theme itself.
 
It would only work for the article, not the theme itself.
 +
 +
---[[Benutzer:Heernis|Heernis]] ([[Benutzer Diskussion:Heernis|Diskussion]]) 11:25, 26. Apr. 2019 (CEST)

Version vom 26. April 2019, 10:25 Uhr

Hello Zorroargh ;-)

Yes i can translate it into german.

CSS per page?

Hello Zorroargh!

What do you think about adding this extension: https://www.mediawiki.org/wiki/Extension:CSS

The good thing: you can add some individual CSS for design proposes. Sometimes it is really helpful.

For example, you can add a css-file under Silan_Anleitung/Silan_Anleitung.css and put {{#css:Silan_Anleitung/silan_anleitung.css}} in Silan_Anleitung.

Everywhere where you put {{#css:Silan_Anleitung/silan_anleitung.css}} in the article i.e. the css will work.

OR

add it directly into the article: {{#css: body { background: yellow; font-size: 20pt; color: red; } }}

It would only work for the article, not the theme itself.

---Heernis (Diskussion) 11:25, 26. Apr. 2019 (CEST)