Beispiel:Schreinerei-Meier-formate.css
Aus SELFHTML-Wiki
@charset "utf-8";
/* CSS-Dokument für Schreinerei Meier,
bitte im Verzeichnis /css speichern und mit src="css/formate.css" einbinden!
*/
body {
max-width:60em;
margin: 1em auto;
background-color: beige;
}
h1 {
background-color: firebrick;
color: beige;
padding: 0.5em;
font-family: sans-serif;
border-radius: 0 1em 1em 1em;
}
h2 {
font-size: 2.6em;
color: firebrick;
background-color: LightSalmon ;
border: thin solid;
font-family: "Brush Script MT", "Brush Script Std", "Lucida Calligraphy", "Lucida Handwriting", "Apple Chancery", cursive;
text-align: center;
}
p,
ul, ol,
table {
font-size: 1.3em;
text-align: justify;
font-family: sans-serif;
color: #654321;
}
ul ul {
font-size: inherit;
}