OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57001c2
)
Fix no-highlight code blocks for dark themes
author
Dmitriy Zaporozhets
<dmitriy.zaporozhets@gmail.com>
Thu, 30 Jan 2014 12:02:57 +0000
(14:02 +0200)
committer
Dmitriy Zaporozhets
<dmitriy.zaporozhets@gmail.com>
Thu, 30 Jan 2014 12:02:57 +0000
(14:02 +0200)
app/assets/stylesheets/generic/typography.scss
patch
|
blob
|
history
app/assets/stylesheets/highlight/dark.scss
patch
|
blob
|
history
app/assets/stylesheets/highlight/monokai.scss
patch
|
blob
|
history
app/assets/stylesheets/highlight/solarized_dark.scss
patch
|
blob
|
history
diff --git
a/app/assets/stylesheets/generic/typography.scss
b/app/assets/stylesheets/generic/typography.scss
index
4490566
..
419a63d
100644
(file)
--- a/
app/assets/stylesheets/generic/typography.scss
+++ b/
app/assets/stylesheets/generic/typography.scss
@@
-90,9
+90,6
@@
a:focus {
font-size: 14px;
line-height: 1.6;
- .white .highlight pre {
- background: #f5f5f5;
- }
ul {
padding: 0;
margin: 0 0 9px 25px !important;
diff --git
a/app/assets/stylesheets/highlight/dark.scss
b/app/assets/stylesheets/highlight/dark.scss
index
d370175
..
ca51da3
100644
(file)
--- a/
app/assets/stylesheets/highlight/dark.scss
+++ b/
app/assets/stylesheets/highlight/dark.scss
@@
-9,6
+9,10
@@
border-left: 1px solid #444;
}
+ .no-highlight {
+ color: #DDD;
+ }
+
.line-numbers a {
color: #666;
}
diff --git
a/app/assets/stylesheets/highlight/monokai.scss
b/app/assets/stylesheets/highlight/monokai.scss
index
1557f82
..
36bc5df
100644
(file)
--- a/
app/assets/stylesheets/highlight/monokai.scss
+++ b/
app/assets/stylesheets/highlight/monokai.scss
@@
-9,6
+9,10
@@
background: #558;
}
+ .no-highlight {
+ color: #DDD;
+ }
+
.line-numbers a {
color: #666;
}
diff --git
a/app/assets/stylesheets/highlight/solarized_dark.scss
b/app/assets/stylesheets/highlight/solarized_dark.scss
index
6fd32d2
..
b9bec22
100644
(file)
--- a/
app/assets/stylesheets/highlight/solarized_dark.scss
+++ b/
app/assets/stylesheets/highlight/solarized_dark.scss
@@
-9,6
+9,10
@@
background: #000;
}
+ .no-highlight {
+ color: #DDD;
+ }
+
pre {
background-color: #002B36;
color: #eee;