From: Mike Taylor Date: Thu, 14 Dec 2006 15:37:41 +0000 (+0000) Subject: Remove inline stylesheet chrome/style.mc and replace with separate style.css file X-Git-Tag: CPAN-v1.02~54^2~627 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=dfad3e34379adc49c7e0cdf1ebebae8b45d18544 Remove inline stylesheet chrome/style.mc and replace with separate style.css file --- 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 }