diff --git a/fp-includes/core/core.theme.php b/fp-includes/core/core.theme.php index 1b232c5..8ba9836 100644 --- a/fp-includes/core/core.theme.php +++ b/fp-includes/core/core.theme.php @@ -149,17 +149,14 @@ echo "\n\n"; - // echo "\n"; - echo "\n\n"; - //echo "\n"; echo "\n"; + ."\" />\n"; + echo "\n"; - + ."\" />\n"; echo "\n"; } @@ -170,7 +167,7 @@ echo "\n\n"; - echo ''; + + if (@$theme['style']['style_print']) { + echo ''; + } echo "\n\n"; diff --git a/fp-interface/themes/leggero/flatmaas-rev/style.conf.php b/fp-interface/themes/leggero/flatmaas-rev/style.conf.php index dd6e48c..90f028a 100644 --- a/fp-interface/themes/leggero/flatmaas-rev/style.conf.php +++ b/fp-interface/themes/leggero/flatmaas-rev/style.conf.php @@ -2,14 +2,14 @@ /* Style Name: FlatMaas Revisited Style URI: http://www.flatpress.org/ -Description: (UNFINISHED) The old default of FlatPress, now coming as a Leggero style. +Description: The old default of FlatPress, now coming as a Leggero style. Version: 0.705 Author: Drudo Author URI: http://www.flatpress.org/ */ - $style['name'] = 'leggero'; + $style['name'] = 'flatmaas-rev'; $style['author'] = 'NoWhereMan'; $style['www'] = 'http://www.flatpress.org/'; @@ -17,6 +17,7 @@ Author URI: http://www.flatpress.org/ $style['style_def'] = 'style.css'; $style['style_admin'] = 'admin.css'; + $style['style_print'] = '../../leggero/res/print.css'; $style['style'] = 'default'; ?> diff --git a/fp-interface/themes/leggero/leggero/res/print.css b/fp-interface/themes/leggero/leggero/res/print.css new file mode 100644 index 0000000..85f7a18 --- /dev/null +++ b/fp-interface/themes/leggero/leggero/res/print.css @@ -0,0 +1,102 @@ +/* +=================== +Leggero CSS Styles +=================== +Ispired by: http://pluxml.org theme default +------------------- + +Name: Leggero +Author: Laborix +Version: 0.1 +Module: print.css +*/ + +body { + color: #333; + background-color: transparent; +} + +a { + color: #333; + background-color: transparent; + text-decoration: none; +} + +h1 { + font-size: 130%; +} + +h2 { + font-size: 130%; +} + +h3 { + font-size: 100%; +} + +h4 { + font-size: 100%; +} + +.date { + font-size: 100%; +} + +#column { + display: none; +} + +.admincontrols { + display: none; +} + +.readmore { + display: none; +} + +.navigation { + display: none; +} + +.entry-footer { + clear: both; + font-size: 80%; + margin: 2em 0 3em 0; +} + +blockquote { + margin: 1em 1em; + padding: 0 10px; + width: 90%; + color: #333; + background-color: transparent; + font-style: italic; + border-left: 5px solid #bbb; +} + +pre { + clear: both; + margin: 0.5em 0 0.5em 0; + padding: 0.5em; + width: 90%; + color: #333; + background-color: #eee; + font-size: 70%; + border: 1px dotted #333; +} + +.link-comments { + display: none; +} + +hr { + display: none; +} + +#footer { + display: none; +} + +#commentform { + display: none; +} diff --git a/fp-interface/themes/leggero/leggero/style.conf.php b/fp-interface/themes/leggero/leggero/style.conf.php index 75ec85b..18a894f 100644 --- a/fp-interface/themes/leggero/leggero/style.conf.php +++ b/fp-interface/themes/leggero/leggero/style.conf.php @@ -19,6 +19,7 @@ Author URI: http://www.flatpress.org/ $style['style_def'] = 'style.css'; $style['style_admin'] = 'admin.css'; + $style['style_print'] = 'print.css'; $style['style'] = 'default'; -?> \ No newline at end of file +?>