1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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.
daf36f9894
This commit is contained in:
Maxime Lapointe 2019-05-14 11:52:36 -04:00 committed by Hiroshi SHIBATA
parent 8bb4892376
commit 21ce8b3298

View file

@ -94,7 +94,7 @@ pre {
.missing-docs {
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;
line-height: 2em;
border: 1px solid #d00;
@ -138,11 +138,11 @@ pre {
.table-of-contents li .toc-toggle {
width: 16px;
height: 16px;
background: url(images/add.png) no-repeat;
background: url(../images/add.png) no-repeat;
}
.table-of-contents li .toc-toggle.open {
background: url(images/delete.png) no-repeat;
background: url(../images/delete.png) no-repeat;
}
/* @end */
@ -270,7 +270,7 @@ dl.label-list dt {
}
.calls-super {
background: url(images/arrow_up.png) no-repeat right center;
background: url(../images/arrow_up.png) no-repeat right center;
}
/* @end */
@ -487,7 +487,7 @@ main .method-click-advice {
visibility: hidden;
padding-right: 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 {
visibility: visible;