Benutzer:Mediator/css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „http://www.mediawiki.org/wiki/Extension:CSS ----“) |
K |
||
| (34 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 | ||
---- | ---- | ||
| + | {{#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: | ||
| + | <div class="mybluebox">Blue Box </div> | ||
| + | ---- | ||
| + | ;code | ||
| + | <pre> | ||
| + | {{#css: | ||
| + | body { | ||
| + | background: Snow; | ||
| + | font-size: 12pt; | ||
| + | } | ||
| + | div.mybluebox { | ||
| + | border : 1px solid blue; | ||
| + | padding: 3px; | ||
| + | color : DimGray; | ||
| + | background-color: Lightblue; | ||
| + | } | ||
| + | }} | ||
| + | </pre> | ||
| + | <pre> | ||
| + | <div class="mybluebox">Blue Box </div> | ||
| + | </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>