X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fcgi-style.css;h=135786185a558d79a9eeb55f0a0691b1e2d23783;hb=3001f3d98169365e5e4037ef524f6f6ddd687b3f;hp=2b8322f9e5fbcd4cdea387c2fe0bf20d54fdd910;hpb=0a8865e0da215820eeb4f691f0d5f0de4b8896dc;p=privoxy.git diff --git a/templates/cgi-style.css b/templates/cgi-style.css index 2b8322f9..13578618 100644 --- a/templates/cgi-style.css +++ b/templates/cgi-style.css @@ -1,34 +1,149 @@ -# CSS for Privoxy's CGI output: +############################################################################## # +# File : templates/cgi-style.css +# +# Purpose : Style sheet for the web-based config interface. +# +# Copyright : Written by and Copyright (C) 2001 members of the +# Privoxy team. https://www.privoxy.org/ +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## -# Need td,th for buggy NS4 -body,td,th { font-family: helvetica, helv, arial, sans-serif; } +/* + * CSS for Privoxy CGI and script output + */ + +/* + * 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