Benutzer:Mediator/css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
| (11 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 : | + | padding-top: 10px; |
| − | background-color: | + | padding-bottom: 10px; |
| − | font-size: | + | color : LemonChiffon; |
| + | background-color: SlateGray; | ||
| + | font-size: 12pt; | ||
| + | font-family: "Garamond"; | ||
} | } | ||
}} | }} | ||
eine eigene textbox, neu gestaltet: | eine eigene textbox, neu gestaltet: | ||
| − | <div class="mybluebox"> | + | <div class="mybluebox">Blue Box </div> |
| − | Blue Box | ||
| − | </div> | ||
---- | ---- | ||
;code | ;code | ||
| Zeile 33: | 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>