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