From ab0b7da9e265eee1313f54682689972b3aa0d99a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 14 Dec 2006 15:37:41 +0000 Subject: [PATCH] Remove inline stylesheet chrome/style.mc and replace with separate style.css file --- web/htdocs/chrome/style.mc | 48 -------------------------------------------- web/htdocs/style.css | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 web/htdocs/chrome/style.mc create mode 100644 web/htdocs/style.css diff --git a/web/htdocs/chrome/style.mc b/web/htdocs/chrome/style.mc deleted file mode 100644 index 42b3ab3..0000000 --- a/web/htdocs/chrome/style.mc +++ /dev/null @@ -1,48 +0,0 @@ -/* $Id: style.mc,v 1.12 2006-11-30 12:50:20 mike Exp $ */ -body { - color: black; - background: white; -} - -blockquote { - background: #ffffc0; - margin: 1em 3em; - padding: 0.5em; -} - -.banner { background: url(/beach.jpeg) } -.logo { text-decoration: none; color: white; margin-left: 1em } -.title { color: black; margin-right: 1em } -.panel1 { background: #d4e7f3; padding: 0em 1em; } -.panel1 a { text-decoration: none } -.panel3 { background: #b4c7d3 } - -<%doc>Fixing the layout -.panel1 { width: 9em } -.spacer { width: 1em } - -.panel2 { - background: #b0d0ff; - margin: -0.5em; - padding: 0.5em; -} - -<%doc>Why isn't this the default? -img { border: 0 } - -<%doc>These are just so we can set alignment in an XHTMLish way -.left { text-align: left } -.center { text-align: center } -.right { text-align: right } - -.searchform tr th { text-align: right; padding-right: 0.5em } -.searchform tr td input { background: #ffffc0 } -.searchform tr td select { background: #ffffc0 } - -.fullrecord { background: #ffffee } -.fullrecord th { text-align: left } - -.thleft th { text-align: left } - -.disabled { color: grey } -.error { color: red; font-weight: bold } diff --git a/web/htdocs/style.css b/web/htdocs/style.css new file mode 100644 index 0000000..221e9ba --- /dev/null +++ b/web/htdocs/style.css @@ -0,0 +1,48 @@ +/* $Id: style.css,v 1.1 2006-12-14 15:37:41 mike Exp $ */ +body { + color: black; + background: white; +} + +blockquote { + background: #ffffc0; + margin: 1em 3em; + padding: 0.5em; +} + +.banner { background: url(/beach.jpeg) } +.logo { text-decoration: none; color: white; margin-left: 1em } +.title { color: black; margin-right: 1em } +.panel1 { background: #d4e7f3; padding: 0em 1em; } +.panel1 a { text-decoration: none } +.panel3 { background: #b4c7d3 } + +/* Fixing the layout */ +.panel1 { width: 9em } +.spacer { width: 1em } + +.panel2 { + background: #b0d0ff; + margin: -0.5em; + padding: 0.5em; +} + +/* Why isn't this the default? */ +img { border: 0 } + +/* These are just so we can set alignment in an XHTMLish way */ +.left { text-align: left } +.center { text-align: center } +.right { text-align: right } + +.searchform tr th { text-align: right; padding-right: 0.5em } +.searchform tr td input { background: #ffffc0 } +.searchform tr td select { background: #ffffc0 } + +.fullrecord { background: #ffffee } +.fullrecord th { text-align: left } + +.thleft th { text-align: left } + +.disabled { color: grey } +.error { color: red; font-weight: bold } -- 1.7.10.4