@namespace url(http://www.w3.org/1999/xhtml);
/* ウェブ検索 */
@-moz-document domain("google.com"), domain("google.co.jp") {
body {
counter-reset: result !important;
}
h3.r:before {
content: counter(result) ". " !important;
counter-increment: result !important;
}
}
/* ブック検索 */
@-moz-document domain("books.google.co.jp") {
body {
counter-reset: result !important;
}
h2.resbdy:before {
content: counter(result) ". " !important;
counter-increment: result !important;
}
}
/* スカラー */
@-moz-document domain("scholar.google.co.jp") {
body {
counter-reset: result !important;
}
h3.r:before {
content: counter(result) ". " !important;
counter-increment: result !important;
color: #000 !important;
}
}