Skip to content

Commit

Permalink
Fix background color bug in scrolling divs
Browse files Browse the repository at this point in the history
When using a highlighted <pre><code> section in a div that will scroll,
the background color would not continue into the scrolled area.  Update
the "display" css for all themes to "inline-block" fixes this problem
  • Loading branch information
Greg Rutz committed Apr 16, 2014
1 parent 7931d04 commit df3b9c7
Show file tree
Hide file tree
Showing 48 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion src/styles/arta.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Author: pumbur <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #222;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/ascetic.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiac
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: white;
color: black;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-dune.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #292824;
color: #a6a28c;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-dune.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #fefbec;
color: #6e6b5e;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-forest.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #2c2421;
color: #a8a19f;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-forest.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #f1efee;
color: #68615e;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-heath.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #292329;
color: #ab9bab;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-heath.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #f7f3f7;
color: #695d69;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-lakeside.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #1f292e;
color: #7ea2b4;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-lakeside.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #ebf8ff;
color: #516d7b;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-seaside.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #242924;
color: #8ca68c;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/atelier-seaside.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #f0fff0;
color: #5e6e5e;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/brown_paper.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Brown Paper style from goldblog.com.ua (c) Zaripov Yura <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background:#b7a68e url(./brown_papersq.png);
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/codepen-embed.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #222;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/color-brewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Ported by Fabrício Tavares de Oliveira
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #fff;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Dark style from softwaremaniacs.org (c) Ivan Sagalaev <[email protected]
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #444;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiac
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #f0f0f0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/docco.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
color: #000;
background: #f8f8ff;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/far.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FAR Style (c) MajestiC <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #000080;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/foundation.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Date: 2013-04-02
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #eee;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/github.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ github.com style (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
color: #333;
background: #f8f8f8;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/googlecode.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Google Code style (c) Aahan Krish <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: white;
color: black;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/idea.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
color: #000;
background: #fff;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/ir_black.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #000;
color: #f8f8f8;
Expand Down
4 changes: 2 additions & 2 deletions src/styles/kimbie.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #221a0f;
color: #d3af86;
padding: 0.5em;
Expand All @@ -91,4 +91,4 @@
.xml .css,
.xml .hljs-cdata {
opacity: 0.5;
}
}
4 changes: 2 additions & 2 deletions src/styles/kimbie.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #fbebd4;
color: #84613d;
padding: 0.5em;
Expand All @@ -91,4 +91,4 @@
.xml .css,
.xml .hljs-cdata {
opacity: 0.5;
}
}
2 changes: 1 addition & 1 deletion src/styles/magula.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Music: Aphex Twin / Xtal
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background-color: #f4f4f4;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/mono-blue.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Five-color theme from a single blue hue.
*/
.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #eaeef3;
color: #00193a;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/monokai.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Monokai style - ported by Luigi Maselli - http://grigio.org
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #272822;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/monokai_sublime.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #23241f;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #282b2e;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/paraiso.dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #2f1e2e;
color: #a39e9b;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/paraiso.light.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #e7e9db;
color: #4f424c;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/pojoaque.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Based on Solarized Style from http://ethanschoonover.com/solarized
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
color: #dccf8f;
background: url(./pojoaque.jpg) repeat scroll left top #181914;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/railscasts.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #232323;
color: #e6e1dc;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/rainbow.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Style with support for rainbow parens
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #474949;
color: #d1d9e1;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/school_book.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ School Book style from goldblog.com.ua (c) Zaripov Yura <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 15px 0.5em 0.5em 30px;
font-size: 11px !important;
line-height:16px !important;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/solarized_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmai
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #002b36;
color: #839496;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/solarized_light.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmai
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #fdf6e3;
color: #657b83;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/sunburst.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sunburst-like style (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
display: block;
display: inline-block;
padding: 0.5em;
background: #000;
color: #f8f8f8;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/tomorrow-night-blue.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.hljs {
display: block;
display: inline-block;
background: #002451;
color: white;
padding: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/tomorrow-night-bright.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}

.hljs {
display: block;
display: inline-block;
background: black;
color: #eaeaea;
padding: 0.5em;
Expand Down
Loading

0 comments on commit df3b9c7

Please sign in to comment.