Difference between revisions of "TestCSS"

From its-wiki.no
Jump to: navigation, search
m
 
Line 1: Line 1:
<css
+
Put css in [[MediaWiki:Common.css]], e.g. .text-color....
hr {color: blue;}
+
p {margin-left: 20px;}
+
body {background-image: url("images/background.gif");}
+
h2 {
+
    color: gree;
+
    text-align: center;
+
    font-size: 8pt;
+
}
+
</css>
+
 
And here is text to test CSS
 
And here is text to test CSS
  
 
= a header =
 
= a header =
and something else
+
{{Colour|green|some text in green}},{{Colour|red|some text in red}}{{Colour|blue|some text in blue}}, and back to normal
 +
 
 +
 
  
 
== and a second header ==
 
== and a second header ==
 
with some text to be centred left...
 
with some text to be centred left...

Latest revision as of 19:40, 2 January 2020

Put css in MediaWiki:Common.css, e.g. .text-color.... And here is text to test CSS

a header

some text in green,some text in redsome text in blue, and back to normal


and a second header

with some text to be centred left...