2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Website: Merge from beta.

[SVN r80773]
This commit is contained in:
Daniel James
2012-09-30 11:38:10 +00:00
parent 06de38c810
commit d3fd022569
2 changed files with 17 additions and 9 deletions

View File

@@ -134,15 +134,16 @@ function latest_link($params)
echo '<div class="boost-common-header-notice">';
if (is_file(ARCHIVE_DIR."/{$current->dir()}/$params[key]"))
{
echo 'This is the documentation for an old version of boost, click '.
'<a href="/doc/libs/release/'.$params['key'].'">'.
'here for the current version of this page</a>';
echo '<a class="boost-common-header-inner" href="/doc/libs/release/',$params['key'],'">',
"Click here to view the latest version of this page.",
'</a>';
}
else
{
echo 'This is the documentation for an old version of boost, ';
echo '<a href="/doc/libs/">click here for the current boost ';
echo 'documentation</a>.';
echo '<a class="boost-common-header-inner" href="/doc/libs/">',
"This is an old version of boost. ",
"Click here for the latest version's documentation home page.",
'</a>';
}
echo '</div>', "\n";
break;

View File

@@ -109,12 +109,19 @@
border: 1px solid #aa5;
background: #ffc;
color: #000;
padding: 10px 13px;
}
.boost-common-header-notice a {
a.boost-common-header-inner,
span.boost-common-header-inner,
div.boost-common-header-inner {
display: block;
padding: 10px 13px;
text-decoration: none;
color: #000;
}
a.boost-common-header-inner:hover {
text-decoration: underline;
color: #005a9c;
}
@media all and (min-width: 550px) {