Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Separate <h1> and version

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@980 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit 31e3b89409ef19bc8753d43e6f08179f088496c1 1 parent 62ef274
jakubvrana authored
Showing with 5 additions and 5 deletions.
  1. +3 −2 adminer/default.css
  2. +2 −3 adminer/include/design.inc.php
View
5 adminer/default.css
@@ -2,8 +2,8 @@ body { color: #000; background: #fff; line-height: 1.25em; font-family: Verdana,
a { color: blue; }
a:visited { color: navy; }
a:hover { color: red; }
-h1 { font-size: 100%; margin: 0; padding: .8em 1em; border-bottom: 1px solid #999; font-weight: normal; color: #777; background: #eee; }
-h1 .h1 { font-size: 150%; color: #777; text-decoration: none; font-style: italic; }
+h1 { font-size: 150%; margin: 0; padding: .8em 1em; border-bottom: 1px solid #999; font-weight: normal; color: #777; background: #eee; }
+h1 a, h1 a:visited { color: #777; text-decoration: none; font-style: italic; }
h2 { font-size: 150%; margin: 0 0 20px -18px; padding: .8em 1em; border-bottom: 1px solid #000; color: #000; font-weight: normal; background: #ddf; }
h3 { font-weight: normal; font-size: 130%; margin: .8em 0; }
table { margin: 0 20px .8em 0; border: 0; border-top: 1px solid #999; border-left: 1px solid #999; font-size: 90%; }
@@ -14,6 +14,7 @@ fieldset { display: inline; vertical-align: top; padding: .5em .8em; margin: 0 .
p { margin: 0 20px 1em 0; }
img { vertical-align: middle; border: 0; }
code { background: #eee; }
+.version { float: right; color: #777; margin: 1.5em 1em; text-align: right; }
.js .hidden { display: none; }
.nowrap { white-space: nowrap; }
.wrap { white-space: normal; }
View
5 adminer/include/design.inc.php
@@ -62,9 +62,8 @@ function page_footer($missing = false) {
<?php switch_lang(); ?>
<div id="menu">
-<h1><a href="http://www.adminer.org/" class="h1"><?php echo $adminer->name(); ?></a> &nbsp; <?php echo $VERSION; ?> &nbsp;
-<a href="http://www.adminer.org/#download" id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
-</h1>
+<div class="version"><?php echo $VERSION; ?> &nbsp; <a href="http://www.adminer.org/#download" id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a></div>
+<h1><a href="http://www.adminer.org/"><?php echo $adminer->name(); ?></a></h1>
<?php $adminer->navigation($missing); ?>
</div>
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.