0% found this document useful (0 votes)
12 views2 pages

Css - 13 Bak

The document contains CSS styles for formatting various HTML elements, including headings, paragraphs, and tables. It specifies font styles, sizes, colors, and layout properties to enhance readability and visual appeal. Additionally, it includes counters for chapters and sections to organize content hierarchically.

Uploaded by

rain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Css - 13 Bak

The document contains CSS styles for formatting various HTML elements, including headings, paragraphs, and tables. It specifies font styles, sizes, colors, and layout properties to enhance readability and visual appeal. Additionally, it includes counters for chapters and sections to organize content hierarchically.

Uploaded by

rain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

{style}

body{counter-reset: section}
h2{counter-reset: sub-section}
h3{counter-reset: composite}
h4{counter-reset: detail}

h2:before{
counter-increment: section;
content: "Chapter " counter(section) ": ";
}
h3:before{
counter-increment: sub-section;
content: counter(section) "." counter(sub-section) " ";
}
h4:before{
counter-increment: composite;
content: counter(section) "." counter(sub-section) "." counter(composite) " ";
}
h5:before{
counter-increment: detail;
content: counter(section) "." counter(sub-section) "." counter(composite) "."
counter(detail) " ";
}
{style}

body,p,td,div {
font-family:AGaramondPro-Regular,Helvetica,Arial,sans-serif;
line-height:1.5em;
font-size:12px;
color:#111;
word-wrap:break-word
}

p{margin:0 0 1.5em 0}
a{color:rgb(13,110,161);text-decoration:none;-webkit-transition:color .2s ease-in-
out}a:hover{color:#3593d9}

h1.doctitle{background:#eee;font-size:14px;font-weight:bold;color:#333;line-
height:28px;margin:0;padding:0 10px;border-bottom:solid 1px #aaa;white-
space:nowrap}

h1,h2,h3,h4,h5{line-height:1.1em;}
h1{font-family:AppleGaramond;font-size:em;margin:2.33em 0 15px 0}
h2{font-family:AppleGaramond;font-size:2.33em;color:#1f497d;margin:50px 0 80px 0}
h3{font-family:Tw Cen MT,AppleGaramond;font-size:1.5em;color:#1f497d;margin:0 0
0.1em 0}
h4{font-family:Tw Cen MT,AppleGaramond;font-size:1.33em;color:#1f497d;margin:0 0
0.1em 0}
h5{font-size:1.17em;color:#111}
h6{font-size:em;font-weight:bold;color:#111}
.footnote{font-size:.8em;vertical-align:super;color:rgb(13,110,161)}

#contentdiv
img{max-width:60%;margin-left:15px}
dt{font-weight:bold}
dd{margin-bottom:1em}@media
#menu {display: none;}

blockquote {
font-family:AppleGaramond;
width: 90%;
margin-left: 10px;
padding: 10px;
border-left: 5px solid #ccc;
}

table {
border-width: 1px;
border-spacing: 0px;
border-style: none;
border-color: #ccc;
border-collapse: collapse;
background-color: #fff;
margin-bottom: 20px;
margin-left: 50px;
margin-right: 50px;
}
table th {
border-width: 1px;
padding: 3px;
border-style: inset;
border-color: #ccc;
background-color: #eee;
-moz-border-radius: ;
}
table td {
border-width: 1px;
padding: 3px;
border-style: inset;
border-color: #ccc;
background-color: #fafafa;
-moz-border-radius: ;
}

You might also like