Some more appearance tweaks.
This commit is contained in:
parent
e3fafb6e6d
commit
d04ed8001b
|
@ -37,11 +37,11 @@ module WikiHelper
|
|||
link_to('Forward in time',
|
||||
{:web => @web.address, :action => 'revision', :id => @page.name, :rev => @revision_number + 1},
|
||||
{:class => 'navlink', :accesskey => 'F', :id => 'to_next_revision'}) +
|
||||
" <small>(#{@revision.page.revisions.length - @revision_number} more)</small> "
|
||||
" <span class='revisions'>(#{@revision.page.revisions.length - @revision_number} more)</span> "
|
||||
else
|
||||
link_to('Forward in time', {:web => @web.address, :action => 'show', :id => @page.name},
|
||||
{:class => 'navlink', :accesskey => 'F', :id => 'to_next_revision'}) +
|
||||
" <small> (to current)</small>"
|
||||
" <span class='revisions'>(to current)</span>"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -49,7 +49,7 @@ module WikiHelper
|
|||
link_to('Back in time',
|
||||
{:web => @web.address, :action => 'revision', :id => @page.name, :rev => @revision_number - 1},
|
||||
{:class => 'navlink', :id => 'to_previous_revision'}) +
|
||||
" <small>(#{@revision_number - 1} more)</small>"
|
||||
" <span class='revisions'>(#{@revision_number - 1} more)</span>"
|
||||
end
|
||||
|
||||
def back_for_page
|
||||
|
@ -57,7 +57,7 @@ module WikiHelper
|
|||
{:web => @web.address, :action => 'revision', :id => @page.name,
|
||||
:rev => @page.revisions.length - 1},
|
||||
{:class => 'navlink', :accesskey => 'B', :id => 'to_previous_revision'}) +
|
||||
" <small>(#{@page.revisions.length - 1} #{@page.revisions.length - 1 == 1 ? 'revision' : 'revisions'})</small>"
|
||||
" <span class='revisions'>(#{@page.revisions.length - 1} #{@page.revisions.length - 1 == 1 ? 'revision' : 'revisions'})</span>"
|
||||
end
|
||||
|
||||
def current_revision
|
||||
|
|
|
@ -21,7 +21,7 @@ max-width:55em;
|
|||
}
|
||||
|
||||
a:visited {
|
||||
color:#666;
|
||||
color:#555;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
|
@ -97,7 +97,7 @@ font-size:80%;
|
|||
}
|
||||
|
||||
.navigation {
|
||||
color:#999;
|
||||
color:#555;
|
||||
font-size:90%;
|
||||
margin-top:0.3em;
|
||||
}
|
||||
|
@ -161,8 +161,8 @@ padding-left:1.5em;
|
|||
}
|
||||
|
||||
.byline {
|
||||
color:#999;
|
||||
font-size:65%;
|
||||
color:#666;
|
||||
font-size:.8em;
|
||||
font-style:italic;
|
||||
margin-bottom:1em;
|
||||
padding-top:1px;
|
||||
|
@ -185,6 +185,9 @@ font-size:.85em;
|
|||
.views a, .linked a {
|
||||
font-weight: normal
|
||||
}
|
||||
span.revisions {
|
||||
font-size:.95em
|
||||
}
|
||||
|
||||
#allPages, #wantedPages {
|
||||
float: left;
|
||||
|
@ -221,8 +224,8 @@ border: 2px solid #FE0;
|
|||
}
|
||||
|
||||
#footer {
|
||||
color:#999;
|
||||
font-size:60%;
|
||||
color:#666;
|
||||
font-size:.75em;
|
||||
font-style:italic;
|
||||
line-height:1.2em;
|
||||
padding-top:2em;
|
||||
|
@ -230,7 +233,7 @@ text-align:right;
|
|||
}
|
||||
|
||||
#footer a:link,#footer a:visited {
|
||||
color:#888;
|
||||
color:#777;
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
|
@ -318,7 +321,7 @@ white-space:nowrap;
|
|||
}
|
||||
|
||||
div#MarkupHelp td.arrow {
|
||||
color:#999;
|
||||
color:#666;
|
||||
padding:0 0.75em;
|
||||
}
|
||||
|
||||
|
@ -351,7 +354,7 @@ margin-bottom:2.5em;
|
|||
}
|
||||
|
||||
.property {
|
||||
color:#999;
|
||||
color:#666;
|
||||
font-size:80%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue