Style changes

This commit is contained in:
Yorhel 2017-01-20 09:55:43 +01:00
parent 8235fb28b8
commit 06694fd131
2 changed files with 16 additions and 16 deletions

View file

@ -99,7 +99,7 @@ sub home {
my $fn = sub { local $_=shift; 1 while(s/(\d)(\d{3})($|,)/$1,$2/); $_ }; my $fn = sub { local $_=shift; 1 while(s/(\d)(\d{3})($|,)/$1,$2/); $_ };
$self->htmlHeader(title => 'Man Pages Archive'); $self->htmlHeader(title => 'Man Pages Archive');
h1 'Man Pages Archive'; h1 'Man Pages Archive';
p; lit sprintf <<' _', map $fn->($stats->{$_}), qw|hashes mans files packages|; p class => 'txt'; lit sprintf <<' _', map $fn->($stats->{$_}), qw|hashes mans files packages|;
Indexing <b>%s</b> versions of <b>%s</b> manual pages found in <b>%s</b> Indexing <b>%s</b> versions of <b>%s</b> manual pages found in <b>%s</b>
files of <b>%s</b> packages. files of <b>%s</b> packages.
<br /><br /> <br /><br />
@ -269,6 +269,7 @@ sub about {
$release-security repositories are indexed. Indexing started around mid $release-security repositories are indexed. Indexing started around mid
June 2012.</dd> June 2012.</dd>
</dl> </dl>
<p>
Only packages for a single architecture (i386 or amd64) are scanned. To my Only packages for a single architecture (i386 or amd64) are scanned. To my
knowledge, packages that come with different manuals for different knowledge, packages that come with different manuals for different
architectures either don't exist or are extremely rare. It does happen that architectures either don't exist or are extremely rare. It does happen that
@ -276,20 +277,17 @@ sub about {
every package is at least available for the most popular architecture, so every package is at least available for the most popular architecture, so
hopefully we're not missing out on much. <br /><br /> hopefully we're not missing out on much. <br /><br />
The repositories are scanned for new packages on a daily basis. The repositories are scanned for new packages on a daily basis.
</p>
_ _
end; end;
h2 'Other systems'; h2 'Other systems';
p; lit <<' _'; p; lit <<' _';
Although further development of this site is a bit stalled at the moment, Suggestions for new (or old) systems to index are welcome.
I'd love to index the manuals of most major Linux distributions in the
future. Fedora and OpenSUSE, in particular, are interesting targets to
index.
<br /><br /> <br /><br />
It would also be great to index a few more non-Linux systems such as other It would be great to index a few more non-Linux systems such as other BSDs,
BSDs, Solaris/Illumos and Mac OS X. Unfortunately, those don't always follow Solaris/Illumos and Mac OS X. Unfortunately, those don't always follow a
a binary package based approach, or are otherwise less easy to properly binary package based approach, or are otherwise less easy to properly index.
index.
<br /><br /> <br /><br />
In general, systems that follow an entirely source-based distribution In general, systems that follow an entirely source-based distribution
approach can't be indexed without compiling everything. Since that is both approach can't be indexed without compiling everything. Since that is both

View file

@ -2,12 +2,11 @@
* { margin: 0; padding: 0; font-family: "Trebuchet MS", sans-serif; } * { margin: 0; padding: 0; font-family: "Trebuchet MS", sans-serif; }
html { background: #333; padding: 0 10px; } html { background: #333; padding: 0 10px; }
body { margin: 10px auto 50px auto; max-width: 1250px; border-collapse: separate; padding-bottom: 10px; border-radius: 10px; box-shadow: 0 10px 10px #def; } body { margin: 10px auto 50px auto; max-width: 1100px; border-collapse: separate; padding-bottom: 10px; border-radius: 10px; box-shadow: 0 10px 10px #def; }
h1 { font-size: 24px; font-weight: normal; color: #abc; } h1 { font-size: 24px; font-weight: normal; color: #abc; }
h2 { font-size: 21px; margin-top: 40px; color: #468; font-weight: normal; clear: left } h2 { font-size: 21px; margin-top: 40px; color: #468; font-weight: normal; clear: left }
h2 + i { font-size: 12px; } h2 + i { font-size: 12px; }
h3 { font-size: 16px; margin-top: 20px; color: #468; font-weight: normal } h3 { font-size: 16px; margin-top: 20px; color: #468; font-weight: normal }
dd { margin-left: 15px; }
a { color: #048; } a { color: #048; }
a:hover { text-decoration: underline; color: #48B;} a:hover { text-decoration: underline; color: #48B;}
code { font-family: "Lucida Console", Monospace; font-size: 12px; background-color: #f0f8ff } code { font-family: "Lucida Console", Monospace; font-size: 12px; background-color: #f0f8ff }
@ -35,15 +34,18 @@ code { font-family: "Lucida Console", Monospace; font-size: 12px; background-col
#charselect a:hover, #charselect a:hover,
.paginate a:hover { background: #cde; } .paginate a:hover { background: #cde; }
#external { list-style-type: none } p.txt { margin: 5px 0 0 10px; max-width: 700px }
#external { list-style-type: none; margin-left: 10px }
i.grayedout { color: #aaa; font-size: 13px; } i.grayedout { color: #aaa; font-size: 13px; }
#about { max-width: 900px } #about { max-width: 700px }
#about dt { margin-top: 5px } #about h2 { margin-bottom: 5px }
#about dl { margin-bottom: 5px } #about dl { margin-bottom: 5px }
#about p, #about dd { text-align: justify } #about dt { margin: 5px 0 0 10px }
#about ul { padding: 5px 0 5px 20px } #about p { margin: 0 0 0 10px; }
#about dd { margin: 0 0 0 20px; }
#about ul { padding: 5px 0 5px 30px }
#systems li { display: block; float: left; width: 300px; min-height: 70px; margin: 20px 10px; padding-left: 60px } #systems li { display: block; float: left; width: 300px; min-height: 70px; margin: 20px 10px; padding-left: 60px }
#systems span { display: block; margin-left: -55px; float: left; width: 50px; height: 50px; background-repeat: no-repeat; } #systems span { display: block; margin-left: -55px; float: left; width: 50px; height: 50px; background-repeat: no-repeat; }