Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Css: Look for spans inside code class="sourceCode", not pre.

  • Loading branch information...
commit 55b9d65cc76d4f249546b5de7c41f8ced2ebf3db 1 parent 0f3642d
John MacFarlane authored
Showing with 62 additions and 62 deletions.
  1. +16 −16 css/hk-espresso.css
  2. +15 −15 css/hk-kate.css
  3. +15 −15 css/hk-pyg.css
  4. +16 −16 css/hk-tango.css
32 css/hk-espresso.css
View
@@ -1,19 +1,19 @@
/* Based on ultraviolet's espresso_libre.css */
-table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
-td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
-pre.sourceCode, table.sourceCode { background-color: #2A211C; color: #BDAE9D; }
+td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
+code.sourceCode, pre.sourceCode, table.sourceCode { background-color: #2A211C; color: #BDAE9D; }
td.sourceCode { padding-left: 5px; }
-pre.sourceCode span.kw { color: #43A8ED; font-weight: bold; }
-pre.sourceCode span.dt { text-decoration: underline; }
-pre.sourceCode span.dv { color: #44AA43; }
-pre.sourceCode span.bn { color: #44AA43; }
-pre.sourceCode span.fl { color: #44AA43; }
-pre.sourceCode span.ch { color: #049B0A; }
-pre.sourceCode span.st { color: #049B0A; }
-pre.sourceCode span.co { color: #0066FF; font-style: italic; }
-pre.sourceCode span.ot { }
-pre.sourceCode span.al { color: yellow; font-weight: bold; }
-pre.sourceCode span.fu { color: #FF9358; font-weight: bold; }
-pre.sourceCode span.re { }
-pre.sourceCode span.er { color: yellow; font-weight: bold; }
+code.sourceCode span.kw { color: #43A8ED; font-weight: bold; }
+code.sourceCode span.dt { text-decoration: underline; }
+code.sourceCode span.dv { color: #44AA43; }
+code.sourceCode span.bn { color: #44AA43; }
+code.sourceCode span.fl { color: #44AA43; }
+code.sourceCode span.ch { color: #049B0A; }
+code.sourceCode span.st { color: #049B0A; }
+code.sourceCode span.co { color: #0066FF; font-style: italic; }
+code.sourceCode span.ot { }
+code.sourceCode span.al { color: yellow; font-weight: bold; }
+code.sourceCode span.fu { color: #FF9358; font-weight: bold; }
+code.sourceCode span.re { }
+code.sourceCode span.er { color: yellow; font-weight: bold; }
30 css/hk-kate.css
View
@@ -1,19 +1,19 @@
/* Based on kate's own default colors for Haskell */
-table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
-td.lineNumbers { text-align: right; background-color: #EBEBEB; color: black; padding-right: 5px; padding-left: 5px; }
+td.lineNumbers { text-align: right; background-color: #EBEBEB; color: black; padding-right: 5px; padding-left: 5px; }
td.sourceCode { padding-left: 5px; }
pre.sourceCode { }
-pre.sourceCode span.kw { font-weight: bold; }
-pre.sourceCode span.dt { color: #800000; }
-pre.sourceCode span.dv { color: #0000FF; }
-pre.sourceCode span.bn { color: #0000FF; }
-pre.sourceCode span.fl { color: #800080; }
-pre.sourceCode span.ch { color: #FF00FF; }
-pre.sourceCode span.st { color: #DD0000; }
-pre.sourceCode span.co { color: #808080; font-style: italic; }
-pre.sourceCode span.ot { }
-pre.sourceCode span.al { color: green; font-weight: bold; }
-pre.sourceCode span.fu { color: #000080; }
-pre.sourceCode span.re { }
-pre.sourceCode span.er { color: red; font-weight: bold; }
+code.sourceCode span.kw { font-weight: bold; }
+code.sourceCode span.dt { color: #800000; }
+code.sourceCode span.dv { color: #0000FF; }
+code.sourceCode span.bn { color: #0000FF; }
+code.sourceCode span.fl { color: #800080; }
+code.sourceCode span.ch { color: #FF00FF; }
+code.sourceCode span.st { color: #DD0000; }
+code.sourceCode span.co { color: #808080; font-style: italic; }
+code.sourceCode span.ot { }
+code.sourceCode span.al { color: green; font-weight: bold; }
+code.sourceCode span.fu { color: #000080; }
+code.sourceCode span.re { }
+code.sourceCode span.er { color: red; font-weight: bold; }
30 css/hk-pyg.css
View
@@ -1,19 +1,19 @@
/* Loosely based on pygment's default colors */
-table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
-td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
+td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
td.sourceCode { padding-left: 5px; }
pre.sourceCode { }
-pre.sourceCode span.kw { color: #007020; font-weight: bold; }
-pre.sourceCode span.dt { color: #902000; }
-pre.sourceCode span.dv { color: #40a070; }
-pre.sourceCode span.bn { color: #40a070; }
-pre.sourceCode span.fl { color: #40a070; }
-pre.sourceCode span.ch { color: #4070a0; }
-pre.sourceCode span.st { color: #4070a0; }
-pre.sourceCode span.co { color: #60a0b0; font-style: italic; }
-pre.sourceCode span.ot { color: #007020; }
-pre.sourceCode span.al { color: red; font-weight: bold; }
-pre.sourceCode span.fu { color: #06287e; }
-pre.sourceCode span.re { }
-pre.sourceCode span.er { color: red; font-weight: bold; }
+code.sourceCode span.kw { color: #007020; font-weight: bold; }
+code.sourceCode span.dt { color: #902000; }
+code.sourceCode span.dv { color: #40a070; }
+code.sourceCode span.bn { color: #40a070; }
+code.sourceCode span.fl { color: #40a070; }
+code.sourceCode span.ch { color: #4070a0; }
+code.sourceCode span.st { color: #4070a0; }
+code.sourceCode span.co { color: #60a0b0; font-style: italic; }
+code.sourceCode span.ot { color: #007020; }
+code.sourceCode span.al { color: red; font-weight: bold; }
+code.sourceCode span.fu { color: #06287e; }
+code.sourceCode span.re { }
+code.sourceCode span.er { color: red; font-weight: bold; }
32 css/hk-tango.css
View
@@ -1,21 +1,21 @@
/* Loosely based on pygment's tango colors */
table.sourceCode, tr.sourceCode, td.sourceCode, table.sourceCode pre
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; background-color: #f8f8f8 }
-td.nums { text-align: right; padding-right: 5px; padding-left: 5px; background-color: #f0f0f0 }
+td.nums { text-align: right; padding-right: 5px; padding-left: 5px; background-color: #f0f0f0; }
td.sourceCode { padding-left: 5px; }
+code.sourceCode { background-color: #f8f8f8; }
pre.sourceCode { background-color: #f8f8f8; line-height: 125% }
-td.nums pre { background-color: #f0f0f0 }
-pre.sourceCode span.kw { color: #204a87; font-weight: bold } /* Keyword */
-pre.sourceCode span.dt { color: #204a87 } /* Keyword.Type */
-pre.sourceCode span.dv { color: #0000cf } /* Literal.Number.Integer */
-pre.sourceCode span.bn { color: #0000cf } /* Literal.Number.Hex */
-pre.sourceCode span.fl { color: #0000cf } /* Literal.Number.Float */
-pre.sourceCode span.ch { color: #4e9a06 } /* Literal.String.Char */
-pre.sourceCode span.st { color: #4e9a06 } /* Literal.String */
-pre.sourceCode span.co { color: #8f5902; font-style: italic } /* Comment */
-pre.sourceCode span.ot { color: #8f5902 } /* Comment.Preproc */
-pre.sourceCode span.al { color: #ef2929 } /* Generic.Error */
-pre.sourceCode span.fu { color: #000000 } /* Name.Function */
-pre.sourceCode span.re { }
-pre.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */
-
+td.nums pre { background-color: #f0f0f0; line-height: 125% }
+code.sourceCode span.kw { color: #204a87; font-weight: bold } /* Keyword */
+code.sourceCode span.dt { color: #204a87 } /* Keyword.Type */
+code.sourceCode span.dv { color: #0000cf } /* Literal.Number.Integer */
+code.sourceCode span.bn { color: #0000cf } /* Literal.Number.Hex */
+code.sourceCode span.fl { color: #0000cf } /* Literal.Number.Float */
+code.sourceCode span.ch { color: #4e9a06 } /* Literal.String.Char */
+code.sourceCode span.st { color: #4e9a06 } /* Literal.String */
+code.sourceCode span.co { color: #8f5902; font-style: italic } /* Comment */
+code.sourceCode span.ot { color: #8f5902 } /* Comment.Preproc */
+code.sourceCode span.al { color: #ef2929 } /* Generic.Error */
+code.sourceCode span.fu { color: #000000 } /* Name.Function */
+code.sourceCode span.re { }
+code.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */
Please sign in to comment.
Something went wrong with that request. Please try again.