mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/rdoc: Update to RDoc master a1195ce. Changes include:
Improved accessibility of the main sidebar navigation. Fixed handling of regexp options in HTML source highlighting. * test/rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a7fa4d5d9a
commit
cc46b530b0
11 changed files with 52 additions and 29 deletions
|
@ -1,11 +1,11 @@
|
|||
<div id="home-section" role="banner" class="nav-section">
|
||||
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
||||
<h2>
|
||||
<a href="<%= rel_prefix %>/index.html" rel="home">Home</a>
|
||||
</h2>
|
||||
|
||||
<h3>
|
||||
<div id="table-of-contents-navigation">
|
||||
<a href="<%= rel_prefix %>/table_of_contents.html#pages">Pages</a>
|
||||
<a href="<%= rel_prefix %>/table_of_contents.html#classes">Classes</a>
|
||||
<a href="<%= rel_prefix %>/table_of_contents.html#methods">Methods</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -193,7 +193,8 @@ nav h2 {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
nav h3 {
|
||||
nav h3,
|
||||
#table-of-contents-navigation {
|
||||
margin: 0;
|
||||
padding: 2px 8px 2px 8px;
|
||||
text-align: right;
|
||||
|
@ -213,8 +214,13 @@ nav p {
|
|||
border-top: 0;
|
||||
}
|
||||
|
||||
#home-section h2,
|
||||
#home-section h3 {
|
||||
#home-section h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#table-of-contents-navigation {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue