]> git.joonet.de Git - adminer.git/commitdiff
Separate <h1> and version
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 19 Aug 2009 14:11:58 +0000 (14:11 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 19 Aug 2009 14:11:58 +0000 (14:11 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@980 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/default.css
adminer/include/design.inc.php

index 0dd52755095a02dbbb3fd37881edfe93e94eddec..1efde3fb237a4547e3787135b1fb2d75b5e5dd5b 100644 (file)
@@ -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; }
index 48b88bb0f64c5ee011487b1ca2bb2c991d8db73f..1c1fd0bb01ae7b09365dbe893d34dce610098987 100644 (file)
@@ -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