Commit | Line | Data |
---|---|---|
2d652c78 MG |
1 | Plack-Middleware-BasicStyle version 0.001001 |
2 | ============================================ | |
1c93f4de MG |
3 | |
4 | Plack::Middleware::BasicStyle is a Plack middleware that adds a basic | |
5 | <style> element to HTML pages that do not have a stylesheet. | |
6 | ||
7 | The default style, taken from | |
8 | L<http://bettermotherfuckingwebsite.com>, is (before minification): | |
9 | ||
10 | <style> | |
11 | body { | |
12 | margin:40px auto; | |
13 | max-width: 650px; | |
14 | line-height: 1.6; | |
15 | font-size:18px; | |
16 | color:#444; | |
17 | padding:0 10px | |
18 | } | |
19 | ||
20 | h1,h2,h3 { | |
21 | line-height:1.2 | |
22 | } | |
23 | </style> | |
24 | ||
25 | INSTALLATION | |
26 | ||
27 | To install this module type the following: | |
28 | ||
29 | perl Makefile.PL | |
30 | make | |
31 | make test | |
32 | make install | |
33 | ||
34 | DEPENDENCIES | |
35 | ||
36 | This module requires these other modules and libraries: | |
37 | ||
38 | * HTML::Parser | |
39 | * Plack | |
40 | ||
41 | COPYRIGHT AND LICENCE | |
42 | ||
2d652c78 | 43 | Copyright (C) 2016-2017 by Marius Gavrilescu |
1c93f4de MG |
44 | |
45 | This library is free software; you can redistribute it and/or modify | |
46 | it under the same terms as Perl itself, either Perl version 5.24.0 or, | |
47 | at your option, any later version of Perl 5 you may have available. | |
48 | ||
49 |