Subject: | suggestion on custom css styles |
it would be good if one can add custome css style to cpan mini
webserver. Let assume if one want to customize pod documentaion view -
the workaround is attached.
Subject: | diff.txt |
--- /home/cpan/bin/cpan/patches/Templates.pm 2011-02-07 17:21:02.268723228 +0300
+++ /usr/lib/perl5/site_perl/5.8.8/CPAN/Mini/Webserver/Templates.pm 2011-01-30 18:09:07.000000000 +0300
@@ -12,14 +12,6 @@
link {
attr {
rel => 'stylesheet',
- href => 'http://localhost/style.css',
- type => 'text/css',
- media => 'screen, projection'
- }
- };
- link {
- attr {
- rel => 'stylesheet',
href => '/static/css/screen.css',
type => 'text/css',
media => 'screen, projection'
@@ -694,7 +686,7 @@
};
if ( $html ) {
div {
- attr { id => "pod", class => "pod" };
+ attr { id => "pod" };
outs_raw $html;
};
}