my $addr = PciIds::Address::new( $req->uri() );
print "<div class='top'>\n";
genMenu( $req, $addr, $args, $auth, [ ( $helpname eq 'index' ) ? () : [ 'Help index', 'help', 'index' ] ] );
- print "<h1>$head</h1>\n";
+ print "<div class='bluesquare'><h1>$head</h1><p class='home'>The PCI ID Repository</div>\n";
print "<div class='clear'></div></div>\n";
genPath( $req, $addr, 1 );
my $url = setAddrPrefix( $req->uri(), 'read' ).buildExcept( 'help', $args ).'?help=';
genHtmlHead( $req, $id, "<style type='text/css' media='screen,print'>col.id-col { width: ".$address->subIdSize()*1.25."ex; }</style>\n" );
print "<div class='top'>\n";
genMenu( $req, $address, $args, $auth, [ [ 'Help', 'help', 'list' ], $address->helpName() ? [ 'ID syntax', 'help', $address->helpName() ] : (), [ '', 'jump' ] ] );
- print '<h1>'.encode( $id ).'</h1>';
- print "<div class='clear'></div>\n";
- print "</div\n>";
+ print '<div class="bluesquare"><h1>The PCI ID Repository</h1><p class="home">The home of the <code>pci.ids</code> file</div>';
+ print "<div class='clear'></div></div>\n";
genPath( $req, $address, 0 );
print htmlDiv( 'name', '<p>Name: '.encode( $name ) ) if defined $name && $name ne '';
print htmlDiv( 'note', '<p>Note: '.encode( $note ) ) if defined $note && $note ne '';
my( $req, $args, $addr, $caption, $lactions, $ractions ) = @_;
print "<div class='top'>\n";
genLocMenu( $req, $args, $addr, $lactions, $ractions );
- print "<h1>$caption</h1>\n";
+ print "<div class='bluesquare'><h1>$caption</h1><p class='home'>The PCI ID Repository</div>\n";
print "<div class='clear'></div></div>\n";
genPath( $req, $addr, 1 );
}
<link rel='stylesheet' type='text/css' media='print' href='/static/print.css'>
</head><body>
-<div class=header>
-<h1 class=collapse>The PCI ID Repository</h1>
-<p class=collapse style='margin-top: 1ex'>The home of the <code>pci.ids</code> file
-</div>
+<div class='top'><div class='bigbluesquare'>
+<h1>The PCI ID Repository</h1>
+<p class='home'>The home of the <code>pci.ids</code> file
+</div></div>
<p>This is a public repository of all known ID's used in PCI devices:
ID's of vendors, devices, subsystems and device classes. It is used in
{
width: 3%;
}
-.header
+div.top
{
- text-align: center;
- padding: 1ex;
+ padding: 0ex;
margin: 0 0 4ex 0;
}
-.collapse
+div.top h1,
+div.top p.home
{
+ text-align: center;
margin: 0 0;
}
+div.top h1
+{
+ margin-top: 0.5ex;
+}
+div.top p.home
+{
+ margin-bottom: 1ex;
+}
text-align: right;
width: 20%;
padding-right: 1em;
+ margin: 0px;
}
-div.top h1
+div.bigbluesquare
{
- text-align: center;
- padding-top: 0.5ex;
+ width: 100%;
+}
+div.bluesquare
+{
+ position: absolute;
+ left: 20%;
+ top: 1ex;
+ width: 60%;
+}
+div.bluesquare,
+div.bigbluesquare
+{
+ background-color: #4c3bff;
+ color: #fffa45;
+ border: solid blue;
+}
+div.rmenu,
+div.lmenu
+{
+ background: #DDDDFF;
+}
+div.top p.home
+{
+ margin-top: 1ex;
}
div.top ul
{
{
background: #BBBBFF;
}
-.header
-{
- background-color: #4c3bff;
- color: #fffa45;
- border: solid blue;
- border-width: 1px;
-}