From: Michael Andreen Date: Sun, 21 Jan 2007 11:52:13 +0000 (+0000) Subject: other media type, and fixes for that X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;ds=sidebyside;h=f6155125bc8587e34bcb8c9bafb283b7651edc8f;p=ndwebbie.git other media type, and fixes for that --- diff --git a/ND/Web/XMLPage.pm b/ND/Web/XMLPage.pm index 561fdc8..f2353f4 100644 --- a/ND/Web/XMLPage.pm +++ b/ND/Web/XMLPage.pm @@ -79,7 +79,7 @@ sub render : method { $self->process; - my $type = 'text/html'; + my $type = 'application/xhtml+xml'; my $body; if ($self->{XML}){ $type = 'text/xml'; diff --git a/default.css b/default.css index 05fcc5a..3338aa9 100644 --- a/default.css +++ b/default.css @@ -1,9 +1,11 @@ -body { - padding-left: 15em; - /*padding-right: 12em;*/ - font-family: sans-serif; +body,html { color: black; background-color: #D9D9D9; + font-family: sans-serif; +} +#body { + padding-left: 15em; + /*padding-right: 12em;*/ } #leftbar,#rightbar{ padding: 0; diff --git a/stylesheets/black.css b/stylesheets/black.css index ee58c04..8dd33a2 100644 --- a/stylesheets/black.css +++ b/stylesheets/black.css @@ -1,4 +1,4 @@ -body { +body,html { font-family: sans-serif; color: #B2B2B2; background-color: black; diff --git a/stylesheets/echoke.css b/stylesheets/echoke.css index 0c60e63..5ffc16b 100644 --- a/stylesheets/echoke.css +++ b/stylesheets/echoke.css @@ -1,6 +1,5 @@ -body +body,html { - padding-left: 15em; font-size: medium; color: gray; font-family: Arial; diff --git a/stylesheets/nd.css b/stylesheets/nd.css index 6c38f07..9a7562d 100644 --- a/stylesheets/nd.css +++ b/stylesheets/nd.css @@ -1,23 +1,8 @@ body { - padding-left: 15em; - /*padding-right: 12em;*/ font-family: sans-serif; color: black; background-color: #D9D9D9; } -#leftbar,#rightbar{ - padding: 0; - margin: 0; - position: absolute; - width: 14em; - top: 1em; -} -#leftbar{ - left: 1em; -} -#rightbar{ - right: 1em; -} legend { color: black; diff --git a/templates/skel.tmpl b/templates/skel.tmpl index 6996243..85ebb5e 100644 --- a/templates/skel.tmpl +++ b/templates/skel.tmpl @@ -77,7 +77,9 @@ +
+