Benutzer:Mediator/css: Unterschied zwischen den Versionen

Aus chessmail Wiki @novasign.ch
Zur Navigation springen Zur Suche springen
K
K
 
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
[[Benutzer:Mediator/css/ex01]]
 
http://www.mediawiki.org/wiki/Extension:CSS
 
http://www.mediawiki.org/wiki/Extension:CSS
 
----
 
----
Zeile 5: Zeile 6:
 
     background: Snow;
 
     background: Snow;
 
     font-size: 12pt;
 
     font-size: 12pt;
 +
font-family: Garamond;
 
   }
 
   }
   div.mybluebox {
+
    
 +
div.mybluebox {
 
     border : 1px solid blue;
 
     border : 1px solid blue;
 
     padding-left: 1em;
 
     padding-left: 1em;
     color  : DimGray;
+
    padding-top: 10px;
     background-color: Lightblue;
+
    padding-bottom: 10px;
     font-size: 14pt;
+
     color  : LemonChiffon;
 +
     background-color: SlateGray;
 +
     font-size: 12pt;
 +
    font-family: "Garamond";
 
   }
 
   }
 
}}
 
}}
 
eine eigene textbox, neu gestaltet:
 
eine eigene textbox, neu gestaltet:
<div class="mybluebox">Blue Box</div>
+
<div class="mybluebox">Blue Box </div>
 
----
 
----
 
;code
 
;code
Zeile 31: Zeile 37:
 
   }
 
   }
 
}}
 
}}
 +
</pre>
 +
<pre>
 +
<div class="mybluebox">Blue Box </div>
 
</pre>
 
</pre>

Aktuelle Version vom 9. Mai 2013, 11:41 Uhr

Benutzer:Mediator/css/ex01 http://www.mediawiki.org/wiki/Extension:CSS


{{#css:

 body {
   background: Snow;
   font-size: 12pt;

font-family: Garamond;

 }
 

div.mybluebox {

   border : 1px solid blue;
   padding-left: 1em;
   padding-top: 10px;
   padding-bottom: 10px;
   color  : LemonChiffon;
   background-color: SlateGray;
   font-size: 12pt;
   font-family: "Garamond";
 }

}} eine eigene textbox, neu gestaltet:

Blue Box

code
{{#css:
  body {
    background: Snow;
    font-size: 12pt;
  }
  div.mybluebox {
    border : 1px solid blue;
    padding: 3px;
    color  : DimGray;
    background-color: Lightblue;
  }
}}
<div class="mybluebox">Blue Box </div>