From c283ded753a71438790694d443171c33f95a04c2 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Wed, 3 Sep 2008 12:59:34 +0200 Subject: [PATCH] Make the h1 titles little lower So they are more on level with menu --- PciIds/Html/Help.pm | 2 +- PciIds/Html/List.pm | 2 +- PciIds/Html/Util.pm | 2 +- help/list | 2 +- static/screen.css | 9 +++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/PciIds/Html/Help.pm b/PciIds/Html/Help.pm index 0911a42..619dcc9 100644 --- a/PciIds/Html/Help.pm +++ b/PciIds/Html/Help.pm @@ -19,8 +19,8 @@ sub getHelp( $$ ) { genHtmlHead( $req, $head, undef ); my $addr = PciIds::Address::new( $req->uri() ); print "
\n"; - print "

$head".( defined $addr ? " (".$addr->pretty().")" : "" )."

\n"; genMenu( $req, $addr, $args, $auth, [ [ 'Help index', 'help', 'index' ] ] ); + print "

$head

\n"; print "
\n"; genPath( $req, $addr, 1 ); my $url = setAddrPrefix( $req->uri(), 'read' ).buildExcept( 'help', $args ).'?help='; diff --git a/PciIds/Html/List.pm b/PciIds/Html/List.pm index 72606a9..116a33f 100644 --- a/PciIds/Html/List.pm +++ b/PciIds/Html/List.pm @@ -25,8 +25,8 @@ sub list( $$$$ ) { my $id = $address->top()->pretty(); genHtmlHead( $req, $id, "\n" ); print "
\n"; - print '

'.encode( $id ).'

'; genMenu( $req, $address, $args, $auth, [ [ 'Help', 'help', 'list' ], $address->helpName() ? [ 'ID syntax', 'help', $address->helpName() ] : (), [ '', 'jump' ] ] ); + print '

'.encode( $id ).'

'; print "
\n"; print ""; genPath( $req, $address, 0 ); diff --git a/PciIds/Html/Util.pm b/PciIds/Html/Util.pm index 784cd70..56c1802 100644 --- a/PciIds/Html/Util.pm +++ b/PciIds/Html/Util.pm @@ -189,8 +189,8 @@ sub genLocMenu( $$$$$ ) { sub genCustomHead( $$$$$$ ) { my( $req, $args, $addr, $caption, $lactions, $ractions ) = @_; print "
\n"; - print "

$caption

\n"; genLocMenu( $req, $args, $addr, $lactions, $ractions ); + print "

$caption

\n"; print "
\n"; genPath( $req, $addr, 1 ); } diff --git a/help/list b/help/list index b403c85..6fd6444 100644 --- a/help/list +++ b/help/list @@ -24,7 +24,6 @@ Colors are used both in discussion and list of sub-items to mark status of discu

Example

-

ID 0000

ID 0000

diff --git a/static/screen.css b/static/screen.css index b1c0d30..69315d8 100644 --- a/static/screen.css +++ b/static/screen.css @@ -59,13 +59,11 @@ table.admin .item td } div.lmenu { - position: relative; float: left; width: 20%; } div.rmenu { - position: relative; float: right; text-align: right; width: 20%; @@ -74,8 +72,11 @@ div.rmenu div.top h1 { text-align: center; - height: 0px; /* Hack. Place menu and navigation besides, not below. */ - margin: 0px; + padding-top: 0.5ex; +} +div.top ul +{ + margin-top: 0px; } div.clear { -- 2.39.2