Difference between revisions of "CSS example"

From Organic Design wiki
(New page: {{#css:fliss.css}} <big><big> This is an example of adding a CSS article to a page using Extension:CSS. The CSS article in this example is the fliss.css article wh...)
 
m
Line 1: Line 1:
{{#css:fliss.css}}
+
{{#css:spots.css}}
<big><big>
+
This is an example of adding a CSS article to a page using [[MW:Extension:CSS|Extension:CSS]]. The CSS article in this example is the [[fliss.css]] article which is attached to this page using <tt><nowiki>{{#css:spots.css}}</nowiki></tt>. The [[spots.css]] article contains the following CSS content:
This is an example of adding a CSS article to a page using [[MW:Extension:CSS|Extension:CSS]]. The CSS article in this example is the [[fliss.css]] article which is attached to this page using <tt><nowiki>{{#css:fliss.css}}</nowiki></tt>. The [[fliss.css]] article contains the following CSS content:
 
 
<css>
 
<css>
{{:fliss.css}}
+
{{:spots.css}}
 
</css>
 
</css>
</big></big>
 

Revision as of 07:48, 16 June 2007

{{#css:spots.css}} This is an example of adding a CSS article to a page using Extension:CSS. The CSS article in this example is the fliss.css article which is attached to this page using {{#css:spots.css}}. The spots.css article contains the following CSS content: <css>

/* Example CSS */

body {
    background: url('/files/9/9d/Fliss-dots.jpg');
    background-color: #A9D5F8;
    }

#p-cactions li a { background-color: #F37FC6; color: #4EF337 }

#column-one, .footer, .firstHeading, #catlinks { display:none }

#content { padding:0; margin:5em }

#content p, pre.css { font-size:200%; font-weight:bold; line-height:200% }

</css>