Back to index

php5  5.3.10
css.c
Go to the documentation of this file.
00001 /* 
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Colin Viebrock <colin@easydns.com>                          |
00016    +----------------------------------------------------------------------+
00017 */
00018 
00019 /* $Id: css.c 321634 2012-01-01 13:15:04Z felipe $ */
00020 
00021 #include "php.h"
00022 #include "info.h"
00023 
00024 PHPAPI void php_info_print_css(TSRMLS_D) /* {{{ */
00025 {
00026        PUTS("body {background-color: #ffffff; color: #000000;}\n");
00027        PUTS("body, td, th, h1, h2 {font-family: sans-serif;}\n");
00028        PUTS("pre {margin: 0px; font-family: monospace;}\n");
00029        PUTS("a:link {color: #000099; text-decoration: none; background-color: #ffffff;}\n");
00030        PUTS("a:hover {text-decoration: underline;}\n");
00031        PUTS("table {border-collapse: collapse;}\n");
00032        PUTS(".center {text-align: center;}\n");
00033        PUTS(".center table { margin-left: auto; margin-right: auto; text-align: left;}\n");
00034        PUTS(".center th { text-align: center !important; }\n");
00035        PUTS("td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}\n");
00036        PUTS("h1 {font-size: 150%;}\n");
00037        PUTS("h2 {font-size: 125%;}\n");
00038        PUTS(".p {text-align: left;}\n");
00039        PUTS(".e {background-color: #ccccff; font-weight: bold; color: #000000;}\n");
00040        PUTS(".h {background-color: #9999cc; font-weight: bold; color: #000000;}\n");
00041        PUTS(".v {background-color: #cccccc; color: #000000;}\n");
00042        PUTS(".vr {background-color: #cccccc; text-align: right; color: #000000;}\n");
00043        PUTS("img {float: right; border: 0px;}\n");
00044        PUTS("hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}\n");
00045 }
00046 /* }}} */
00047 
00048 /*
00049  * Local variables:
00050  * tab-width: 4
00051  * c-basic-offset: 4
00052  * End:
00053  * vim600: sw=4 ts=4 fdm=marker
00054  * vim<600: sw=4 ts=4
00055  */