1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/styles/doc.css

341 lines
6.1 KiB
CSS

/* vim: set et ts=4 sw=4 fdm=marker: : */
/* {{{ The Quick TOC reference top on man pages */
aside#quicktoc {
padding: 10px 0 10px 10px;
border-top: 1px solid #C3ADD9;
border-left: 1px solid #C3ADD9;
border-bottom: 1px solid #C3ADD9;
margin: 0 0 20px 20px;
width: 125px;
position: fixed;
right: 0px;
}
/* }}} */
/* {{{ General styles (p, parameters, initializers, ...) */
.docs p {
margin: 0.7em 0;
}
.docs .methodname b {
color: #000;
}
.docs .parameter {
color: #604080;
font-weight: bold;
}
.docs i .parameter {
font-style: normal;
}
.docs .initializer {
color: #000;
}
/* }}} */
/* {{{ Warning and notes */
.docs div.caution,
.docs div.tip,
.docs blockquote.note {
padding: 10px 20px;
margin: 1em 2em 1.3em;
}
.docs blockquote.note {
border-top: 3px solid #fff08a;
background-color: #EFEFEF;
}
.docs div.tip {
border-top: 3px solid #434343;
background-color: #EFEFEF;
}
.docs div.caution {
border-top: 3px solid #F90;
background-color: #EFEFEF;
}
.docs blockquote.note,
.docs div.caution,
.docs div.tip {
font-size: 1em;
margin-right: 0.8em;
}
.docs div.warning b.warning {
font-size: 1.7em;
}
.docs div.warning p {
padding-left: 60px;
text-align: justify;
}
.docs div.caution b.caution,
.docs div.tip b.tip {
float: left;
margin-right: 0.8em;
}
.docs blockquote.note p,
.docs div.warning p,
.docs div.caution p,
.docs div.tip p {
margin: 0;
}
.docs div.warning {
text-align: center;
background: #f2e5f4 url('/images/docs-warning.png') left center no-repeat;
margin: 20px 2% 20px 2%;
padding: 5px 15px 5px 19px;
border-top: 3px solid #9f8a8a;
border-bottom: 1px solid #9f8a8a;
min-height: 100px;
background-position: 16px;
}
.docs div.warning h1{
font-size: 1.4em;
}
/* }}} */
.docs .refentry .methodsynopsis {
color: #666;
font-family: monospace;
}
/* {{{ Parameter listing */
.docs .refentry .parameters dt {
font-size: 1.2em;
}
.docs .refentry .parameters dd {
margin-top: -0.7em;
padding-left: 20px;
}
.docs .refentry .parameters p {
margin: 0.7em 0;
}
/* }}} */
/* {{{ Examples (highlighting is in theme.css) */
.docs blockquote.note,
.docs div.caution,
.docs div.tip
.docs .cdata pre,
.docs .example-contents div pre,
.docs .example-contents div.phpcode,
.docs .refentry .methodsynopsis {
border-top: 1px solid #9f8a8a;
border-bottom: 1px solid #9f8a8a;
border-left: 0;
border-right: 0;
background-color: #fcfcfc;
margin: 2px 0px;
font-weight: normal;
padding: .5em .2em .5em .2em;
}
/* }}} */
/* {{{ Tables */
.docs th {
text-align: left;
}
.docs td, .docs th {
padding: 2px 5px;
}
.docs .doctable tbody tr:nth-child(even) {
background-color: #EFEFEF;
}
.docs .doctable {
border-top: 1px solid #9F8A8A;
border-bottom: 1px solid #9F8A8A;
width: 100%;
}
.docs .doctable th {
background-color: #FCFCFC;
text-align: center;
border-bottom: 1px solid #9F8A8A;
}
.docs .doctable td, .docs .doctable th {
border-right: 1px solid #9F8A8A ;
}
.docs .doctable td:last-child, .docs .doctable th:last-child {
border-right: 0px;
}
/* }}} */
/* {{{ lists */
ul.itemizedlist,
ul.simplelist,
ul.chunklist,
.docs ol {
padding: 0 0 2px 10px;
margin: 0 0 2px 10px;
}
ul.itemizedlist {
list-style-type: circle;
}
ul.simplelist
{
list-style-type: disc;
}
ul.chunklist {
list-style-type: disc;
}
.docs ol {
list-style-type: decimal;
}
dl.qandaentry {
border-top: 1px solid #000;
}
/* }}} */
.docs div.refnamediv {
border-bottom: 3px solid #81939f;
position: relative;
}
.docs div.sect1 {
position: relative;
}
.docs p.verinfo {
position: absolute;
right:0px;
top: 0px;
color: #b3b3b3;
}
.docs h1.refname {
font-family: sans-serif,Arial,Helvetica;
font-size: 20px;
font-weight: bold;
color: #454e55;
}
.docs p.refpurpose {
color: #454e55;
}
.docs div.refsect1 h3.title {
border: 0;
color: #636363;
position: absolute;
padding: 0;
margin:0;
line-height: 1em;
top:-22px;
left: 0;
font-size: 1.4em;
}
.docs div.refsect1 {
position: relative;
background-color: #f5f5f5;
border: 1px solid #cacaca;
margin-top: 50px;
padding: 15px 10px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
color: #454e55;
}
.docs .para {
margin:0;
}
#changelang {
display: none; /* Temporarly removed until we do not find a suitable place for the element */
}
/* - Side Menu - */
.docs .layout-menu {
width: 240px;
}
.docs .layout-menu ul.parent-menu-list {
list-style: none;
margin: 0;
padding: 0;
}
.docs .layout-menu ul.parent-menu-list li {
padding: 3px 6px;
margin: 3px 0;
background-color: #f3f3f3;
}
.docs .layout-menu ul.parent-menu-list a {
font-size: 14px;
line-height: 1.5;
color: #444;
margin: 0;
padding: 3px 7px;
border: 0;
border-left: 12px solid #987db3;
}
.docs .layout-menu ul.parent-menu-list a:hover,
.docs .layout-menu ul.parent-menu-list li:last-child a {
color: #000;
border-left: 12px solid #604080;
}
.docs .layout-menu ul.child-menu-list {
margin: 0;
padding: 10px 5px 10px 12px;
border-top: 3px solid #fff;
border: 0;
}
.docs .layout-menu ul.child-menu-list li {
font-size: 14px;
list-style-type: none;
margin: 0;
padding: 4px 8px;
border: 0;
border-bottom: 1px dotted #aaa;
background-color: transparent;
}
.docs .layout-menu ul.child-menu-list a {
font-size: 13px;
border: 0;
color: black;
line-height: 1;
overflow: visible;
margin: 0;
padding: 0;
}
.docs .layout-menu ul.child-menu-list a:hover,
.docs .layout-menu ul.parent-menu-list li:last-child ul.child-menu-list a {
border-left: 0;
}
.docs #layout {
padding: 25px 165px 25px 25px; /* FIXME: Overriden from theme.css */
max-width: none; /* FIXME: Overriden from theme.css */
}
/* #layout needed, see http://news.php.net/php.webmaster/11884 */
.docs #layout .layout-content, .docs #layout #usernotes {
margin-left: 272px;
}