Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald committed Dec 22, 2013
1 parent 48bcf46 commit c4196a5
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion book/lib/layouts/bookindex.glyph
Expand Up @@ -13,7 +13,7 @@
<meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="keywords" content="h3rald, fabio cevasco, programming, vim" />
<meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" />
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<meta content="44.388041;9.073248" name="ICBM" />

Expand Down
2 changes: 1 addition & 1 deletion book/lib/layouts/bookpage.glyph
Expand Up @@ -15,7 +15,7 @@
<meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="keywords" content="h3rald, fabio cevasco, programming, vim" />
<meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" />
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<meta content="44.388041;9.073248" name="ICBM" />

Expand Down
54 changes: 27 additions & 27 deletions styles/coderay.css
Expand Up @@ -70,19 +70,19 @@ ol.CodeRay li {
background: blue !important; }

.CodeRay .attribute-name-fat {
color: #00C; }
color: #0000cc; }

.CodeRay .attribute-name {
color: #007; }
color: #000077; }

.CodeRay .annotation {
color: #f08; }
color: #ff0088; }

.CodeRay .attribute-value {
color: #700; }
color: #770000; }

.CodeRay .attribute-value-fat {
color: #C00; }
color: #cc0000; }

.CodeRay .binary {
color: #509;
Expand All @@ -95,13 +95,13 @@ ol.CodeRay li {
background: transparent; }

.CodeRay .char {
color: #04D; }
color: #0044dd; }

.CodeRay .ch .content {
color: #04D; }
color: #0044dd; }

.CodeRay .ch .delimiter {
color: #039; }
color: #003399; }

.CodeRay .class {
color: #458;
Expand All @@ -115,10 +115,10 @@ ol.CodeRay li {
color: teal; }

.CodeRay .color {
color: #0A0; }
color: #00aa00; }

.CodeRay .class-variable {
color: #369; }
color: #336699; }

.CodeRay .decorator {
color: #B0B; }
Expand All @@ -135,10 +135,10 @@ ol.CodeRay li {
color: black; }

.CodeRay .doc {
color: #970; }
color: #997700; }

.CodeRay .doc-type {
color: #34b; }
color: #3344bb; }

.CodeRay .doc-string {
color: #D42;
Expand All @@ -154,7 +154,7 @@ ol.CodeRay li {

.CodeRay .error {
color: #F00;
background-color: #FAA; }
background-color: #ffaaaa; }

.CodeRay .exception {
color: #C00;
Expand Down Expand Up @@ -186,10 +186,10 @@ ol.CodeRay li {
color: black; }

.CodeRay .inline .inline {
background: #ccc; }
background: #cccccc; }

.CodeRay .inline .inline .inline {
background: #bbb; }
background: #bbbbbb; }

.CodeRay .inline .inline-delimiter {
color: #D14; }
Expand All @@ -212,7 +212,7 @@ ol.CodeRay li {
font-weight: bold; }

.CodeRay .local-variable {
color: #963; }
color: #996633; }

.CodeRay .octal {
color: #40E;
Expand Down Expand Up @@ -260,13 +260,13 @@ ol.CodeRay li {
background-color: #fff0ff; }

.CodeRay .regexp .content {
color: #808; }
color: #880088; }

.CodeRay .regexp .delimiter {
color: #404; }
color: #440044; }

.CodeRay .regexp .modifier {
color: #C2C; }
color: #cc22cc; }

.CodeRay .regexp .function {
color: #404;
Expand All @@ -285,22 +285,22 @@ ol.CodeRay li {
color: #D14; }

.CodeRay .shell {
color: #D14; }
color: #dd1144; }

.CodeRay .shell .delimiter {
color: #D14; }
color: #dd1144; }

.CodeRay .symbol {
color: #990073; }

.CodeRay .symbol .content {
color: #A60; }
color: #aa6600; }

.CodeRay .symbol .delimiter {
color: #630; }
color: #663300; }

.CodeRay .tag {
color: #070; }
color: #007700; }

.CodeRay .tag-fat {
color: #070;
Expand All @@ -315,10 +315,10 @@ ol.CodeRay li {
font-weight: bold; }

.CodeRay .variable {
color: #036; }
color: #003366; }

.CodeRay .xml-text {
color: #444; }
color: #444444; }

.CodeRay .insert {
background: #afa; }
Expand All @@ -332,7 +332,7 @@ ol.CodeRay li {

.CodeRay .head {
color: #f8f;
background: #505; }
background: #550055; }

.CodeRay .insert .insert {
color: #080;
Expand Down
32 changes: 16 additions & 16 deletions styles/pagination.css
Expand Up @@ -6,18 +6,18 @@
font-style: italic; }

@bottom {
content: counter(page, decimal); } }
content: counter(page,decimal); } }

.bodymatter > :nth-child(1) {
counter-reset: page 1; }

@page frontmatter {
@bottom {
content: counter(page, lower-roman); } }
content: counter(page,lower-roman); } }

@page backmatter {
@bottom {
content: counter(page, decimal); } }
content: counter(page,decimal); } }

@page :first {
padding-top: 10%;
Expand Down Expand Up @@ -66,7 +66,7 @@ ol.toc {
.toc > li[class~=chapter]::before {
content: counter(toc1) ". "; }
.toc > li[class~=appendix]::before {
content: counter(appendix1, upper-latin) ". "; }
content: counter(appendix1,upper-latin) ". "; }
.toc > li[class] {
margin: 1em 0; }
.toc ol li[class]::before {
Expand All @@ -82,55 +82,55 @@ ol.toc {
.toc ol li[class~=bodymatter]::before {
content: counter(toc1) "." counter(toc2) " "; }
.toc ol li[class~=appendix]::before {
content: counter(appendix1, upper-latin) "." counter(toc2) " "; }
content: counter(appendix1,upper-latin) "." counter(toc2) " "; }
.toc ol ol li[class~=bodymatter]::before {
content: counter(toc1) "." counter(toc2) "." counter(toc3) " "; }
.toc ol ol li[class~=appendix]::before {
content: counter(appendix1, upper-latin) "." counter(toc2) "." counter(toc3) " "; }
content: counter(appendix1,upper-latin) "." counter(toc2) "." counter(toc3) " "; }
.toc ol ol ol li[class~=bodymatter]::before {
content: counter(toc1) "." counter(toc2) "." counter(toc3) "." counter(toc4) " "; }
.toc ol ol ol li[class~=appendix]::before {
content: counter(appendix1, upper-latin) "." counter(toc2) "." counter(toc3) "." counter(toc4) " "; }
content: counter(appendix1,upper-latin) "." counter(toc2) "." counter(toc3) "." counter(toc4) " "; }
.toc ol ol ol ol li[class~=bodymatter]::before {
content: counter(toc1) "." counter(toc2) "." counter(toc3) "." counter(toc4) "." counter(toc5) " "; }
.toc ol ol ol ol li[class~=appendix]::before {
content: counter(appendix1, upper-latin) "." counter(toc2) "." counter(toc3) "." counter(toc4) "." counter(toc5) " "; }
content: counter(appendix1,upper-latin) "." counter(toc2) "." counter(toc3) "." counter(toc4) "." counter(toc5) " "; }

div.frontmatter {
page: frontmatter; }
div.backmatter {
page: backmatter; }

.bodymatter h2::before, .bodymatter h1:before {
content: "Chapter " counter(h2, upper-roman) ": ";
content: "Chapter " counter(h2,upper-roman) ": ";
counter-reset: footnote; }

.backmatter h2::before {
content: "Appendix " counter(a2, upper-latin) ": "; }
content: "Appendix " counter(a2,upper-latin) ": "; }

.bodymatter section h1:before {
content: "Appendix " counter(a2, upper-latin) ": "; }
content: "Appendix " counter(a2,upper-latin) ": "; }
.bodymatter h3::before, .bodymatter section h1:before {
content: counter(h2) "." counter(h3) " "; }

.backmatter h3.toc::before {
content: counter(a2, upper-latin) "." counter(h3) " "; }
content: counter(a2,upper-latin) "." counter(h3) " "; }

.bodymatter section section h1.toc:before {
content: counter(a2, upper-latin) "." counter(h3) " "; }
content: counter(a2,upper-latin) "." counter(h3) " "; }
.bodymatter h4.toc::before, .bodymatter section section h1.toc:before {
content: counter(h2) "." counter(h3) "." counter(h4) " "; }

.backmatter h4.toc::before {
content: counter(a2, upper-latin) "." counter(h3) "." counter(h4) " "; }
content: counter(a2,upper-latin) "." counter(h3) "." counter(h4) " "; }

.bodymatter section section section h2.toc:before {
content: counter(a2, upper-latin) "." counter(h3) "." counter(h4) " "; }
content: counter(a2,upper-latin) "." counter(h3) "." counter(h4) " "; }
.bodymatter h5.toc::before, .bodymatter section section section section h2.toc:before {
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) " "; }

.backmatter h5.toc::before, .bodymatter section section section section h2.toc:before {
content: counter(a2, upper-latin) "." counter(h3) "." counter(h4) "." counter(h5) " "; }
content: counter(a2,upper-latin) "." counter(h3) "." counter(h4) "." counter(h5) " "; }

h2, section h1 {
padding-top: 2em;
Expand Down

0 comments on commit c4196a5

Please sign in to comment.