-# CSS for Privoxy's CGI output:
-#
+/*
+ * CSS for Privoxy CGI and script output
+ *
+ * $Id: cgi-style.css,v 1.5 2002/04/24 02:14:36 oes Exp $
+ */
-# Need td,th for buggy NS4
-body,td,th { font-family: helvetica, helv, arial, sans-serif; }
+/*
+ * General rules: Font, Color, Headings, Margins, Links
+ */
+body,td,th { font-family: arial, helvetica, helv, sans-serif; }
body { background-color: #ffffff; color: #000000; }
-# Headings & text:
-h1 { font-size: 160%; margin: 0px; }
-h2 { font-size: 140%; margin: 0px; }
-h3 { font-size: 120%; margin: 0px; }
-p,pre { font-size: medium; margin-left: 20px; }
-p.small { font-size: 10px; margin: 0px; }
+h1 { font-size: 140%; margin: 0px; }
+h2 { font-size: 120%; margin: 0px; }
+h3 { font-size: 110%; margin: 0px; }
-# Table Boxen:
-td.box { border: solid black 1px; background-color: #eeeeee; }
-td.status { border: solid black 1px; background-color: #ff0000; color: #ffffff; font-size: 300%; font-weight: bolder; }
+p,pre { margin-left: 15px; }
+li { margin: 2px 15px; }
+dl { margin: 2px 15px; }
+
+a:link { color: #0000dd; text-decoration: none; }
+a:visited { color: #330099; text-decoration: none; }
+a:active { color: #3333ff; text-decoration: none; }
+
+/*
+ * Boxen as Table elements:
+ */
td.title { border: solid black 1px; background-color: #dddddd; }
-td.warning { border: solid black 1px; background-color: #ffdddd; }
+td.box { border: solid black 1px; background-color: #eeeeee; }
td.info { border: solid black 1px; background-color: #ccccff; }
-td.submit { border: solid black 1px; background-color: #ddffdd; }
+td.warning { border: solid black 1px; background-color: #ffdddd; }
+
+/*
+ * Special Table Boxen: for nesting, naked container and for
+ * the Status field in CGI Output:
+ */
td.wrapbox { border: solid black 1px; padding: 5px; }
td.container { padding: 0px; }
+td.status { border: solid black 1px; background-color: #ff0000; color: #ffffff; font-size: 300%; font-weight: bolder; }
+
+/*
+ * Same Boxen as <div>s:
+ */
+div.title { border: solid black 1px; background-color: #dddddd; margin: 20px; padding: 20px; }
+div.box { border: solid black 1px; background-color: #eeeeee; margin: 20px; padding: 20px; }
+div.info { border: solid black 1px; background-color: #ccccff; margin: 20px; padding: 20px; }
+div.warning { border: solid black 1px; background-color: #ffdddd; margin: 20px; padding: 20px; }
+div.wrapbox { border: solid black 1px; margin: 20px; padding: 5px; }
-# Misc:
+/*
+ * Bold definitions in <dl>s, grey BG for table headings, transparent (no-bordered) table
+ */
+dt { font-weight: bold; }
th { background-color: #dddddd; }
-em.warning { color: #ff0000 }
+table.transparent { border-style: none}
+
+/*
+ * Special purpose paragraphs: Small for page footers,
+ * Important for quoting wrong or dangerous examples,
+ * Whiteframed for the toggle?mini=y CGI
+ */
+p.small { font-size: 10px; margin: 0px; }
+p.important { border: solid black 1px; background-color: #ffdddd; font-weight: bold; padding: 2px; }
+p.whiteframed { margin: 5px; padding: 5px; border: solid black 1px; text-align: center; background-color: #eeeeee; }
-# For Toggle-Mini:
-p.togglebox { margin: 5px; padding: 5px; border: solid black 1px; text-align: center; background-color: #eeeeee; }
+/*
+ * Links as buttons:
+ */
-# Extreme emphasis:
-p.important { border: solid black 1px; background-color: #ffdddd; font-weight: bold; padding: 2px; }
\ No newline at end of file
+td.buttons {
+ padding: 2px;
+}
+
+a.cmd, td.buttons a {
+ white-space: nowrap;
+ width: auto;
+ padding: 2px;
+ background-color: #dddddd;
+ color: #000000;
+ text-decoration: none;
+ border-top: 1px solid #ffffff;
+ border-left: 1px solid #ffffff;
+ border-bottom: 1px solid #000000;
+ border-right: 1px solid #000000;
+}
+a.cmd:hover, td.buttons a:hover {
+ background-color: #eeeeee;
+}
+a.cmd:active, td.buttons a:active {
+ border-top: 1px solid #000000;
+ border-left: 1px solid #000000;
+ border-bottom: 1px solid #ffffff;
+ border-right: 1px solid #ffffff;
+}
+
+
+/*
+ * Special red emphasis:
+ */
+em.warning { color: #ff0000 }