summaryrefslogtreecommitdiff
path: root/test/scanners/css/demo.in.css
blob: 3b3b1338c77303d5d30b3d62bbdeed162dd5e1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* See http://reference.sitepoint.com/css/content. */
@media print {
  a[href]:after {
    content: "<" attr(href) ">";
  }
}

a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
ol {
  counter-reset: item;
  margin: 0;
  padding: 0;
}
ol>li {
  counter-increment: item;
  list-style: none inside;
}
ol>li:before {
  content: counters(item, ".") " - ";
}

body {
  counter-reset: chapter;
}
h1 {
  counter-increment: chapter;
  counter-reset: section;
}
h2 {
  counter-increment: section;
}
h1:before {
  content: "Chapter " counter(chapter) ": ";
}
h2:before {
  content: counter(chapter) "." counter(section) " ";
}

blockquote p {
  margin: 0;
  text-indent: 1em;
  quotes: "\201c" "\201d";
}
blockquote p:first-of-type {
  text-indent: 0;
}
blockquote p::before {
  content: open-quote;
}
blockquote p::after {
  content: no-close-quote;
}
blockquote p:last-of-type::after {
  content: close-quote;
}