[ruby/rdoc] Fix image links in rdoc.css
Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`. Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in the console the spam of the failed GET queries. This fixes it. https://github.com/ruby/rdoc/commit/daf36f9894
This commit is contained in:
parent
8bb4892376
commit
21ce8b3298
@ -94,7 +94,7 @@ pre {
|
|||||||
|
|
||||||
.missing-docs {
|
.missing-docs {
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
background: white url(images/wrench_orange.png) no-repeat 4px center;
|
background: white url(../images/wrench_orange.png) no-repeat 4px center;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
border: 1px solid #d00;
|
border: 1px solid #d00;
|
||||||
@ -138,11 +138,11 @@ pre {
|
|||||||
.table-of-contents li .toc-toggle {
|
.table-of-contents li .toc-toggle {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
background: url(images/add.png) no-repeat;
|
background: url(../images/add.png) no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-of-contents li .toc-toggle.open {
|
.table-of-contents li .toc-toggle.open {
|
||||||
background: url(images/delete.png) no-repeat;
|
background: url(../images/delete.png) no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @end */
|
/* @end */
|
||||||
@ -270,7 +270,7 @@ dl.label-list dt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.calls-super {
|
.calls-super {
|
||||||
background: url(images/arrow_up.png) no-repeat right center;
|
background: url(../images/arrow_up.png) no-repeat right center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @end */
|
/* @end */
|
||||||
@ -487,7 +487,7 @@ main .method-click-advice {
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
background: url(images/zoom.png) no-repeat right top;
|
background: url(../images/zoom.png) no-repeat right top;
|
||||||
}
|
}
|
||||||
main .method-heading:hover .method-click-advice {
|
main .method-heading:hover .method-click-advice {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user