1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 19:52:29 +02:00
Files
archived-web-php/styles/site.css
Gabor Hojtsy bdc87d1278 hr not .hr
2004-10-11 13:36:38 +00:00

490 lines
8.6 KiB
CSS

/* General page styles ---------------------------------------------------- */
body, html {
margin: 0px;
padding: 0px;
color: black;
background-color: white;
}
body, input, textarea, select, option {
font-family: verdana, arial, helvetica, sans-serif;
}
code, pre, tt {
font-family: Courier, "Courier New", monospace;
}
#content, #headmenu, #footnav, #copyright, #thismirror,
#headsearch span, #headsearch input, #headsearch select {
font-size: 85%;
}
a, a:visited, a:hover {
color: #000099;
background-color: transparent;
}
a:active {
color: #0000ff;
background-color: transparent;
}
h1, h2, h3, h4 {
font-weight: bold;
color: #000066;
background-color: transparent;
}
h1 { font-size: 130%; }
h2 { font-size: 125%; }
h3 { font-size: 110%; }
h4 { font-size: 100%; }
/* browsers handle this differently
input.max, textarea.max, select.max {
width: 100%;
}
*/
img {
border: 0px;
}
div.tip, p.tip {
border: 1px solid #0000cc;
color: #000066;
background-color: #eeeeff;
padding: 0px 8px;
}
p.formerror, p.warn {
border: 1px solid #666600;
color: #660000;
background-color: #ffeeee;
margin: 4px;
padding: 6px;
}
hr {
border: 0px;
color: black;
background-color: black;
height: 1px;
/* clear: both; has problems in IE and Opera */
}
.newspage hr {
clear: both;
}
.center {
text-align: center;
}
.center table {
margin-left: auto;
margin-right: auto;
text-align: left;
}
.center th {
text-align: center;
}
.newsdate {
font-size: smaller;
font-style: italic;
color: #6666cc;
background-color: transparent;
}
div.indent {
margin-left: 50px;
}
li {
padding-top: 3px;
padding-bottom: 3px;
list-style-type: square;
}
em {
font-weight: bold;
font-style: italic;
}
ul.simple {
padding-left: 8px;
margin: 0 0 1em 0;
}
ul.simple li {
padding: 0px;
list-style-type: none;
}
.md5sum {
color: #6666cc;
background-color: transparent;
}
/* Content are styles ----------------------------------------------------- */
#content {
padding: 10px;
}
#content h1 {
margin-top: 0px;
}
/* Layout styling and helpers --------------------------------------------- */
#layout_2, #layout_3 {
/* Background image will be set in a mirror specific CSS rule */
background-position: top left;
background-repeat: repeat-y;
}
#layout_3_helper {
/* TODO: Background to the right */
}
.cleaner {
clear: both;
height: 1px;
font-size: 1px;
}
#leftbar {
float: left;
width: 186px;
padding: 5px;
font-size: smaller;
}
#leftbar p, #leftbar h3 {
margin-top: 0;
margin-bottom: 1em;
}
#layout_2 #content {
margin-left: 196px;
}
/* Header navigation area ------------------------------------------------- */
#headnav {
color: inherit;
background-color: #9999cc;
height: 67px;
position: relative;
}
#headnav img {
border: 0px;
margin: 0px 3px;
}
#headmenu {
position: absolute;
bottom: 0px;
right: 5px;
text-align: right;
padding-left: 126px;
}
#headsearch {
background-color: #666699;
border-width: 1px 0px;
border-color: #333366;
border-style: solid;
text-align: right;
padding-right: 6px;
font-size: 75%;
color: white;
}
#headsearch input.submit {
vertical-align: baseline;
}
#headsearch form, #headsearch p {
margin: 0px;
}
#headsearch span.shortkey {
text-decoration: underline;
}
/* Footer navigation area ------------------------------------------------- */
#footnav {
color: inherit;
background-color: #9999cc;
border-width: 1px 0px;
border-color: #333366;
border-style: solid;
text-align: right;
padding-right: 6px;
}
#pagefooter {
position: relative;
font-size: 75%;
color: inherit;
background-color: #cccccc;
width: 100%;
}
#thismirror {
text-align: right;
margin-left: 50%;
padding: 6px;
}
#copyright {
position: absolute;
top: 0px;
left: 0px;
padding: 6px;
margin-right: 30%;
}
#footnav a, #headmenu a {
font-size: 75%;
text-decoration: none;
}
/* Credits page styles ---------------------------------------------------- */
.e {
background-color: #ccccff;
color: inherit;
font-weight: bold;
}
.h {
background-color: #9999cc;
color: inherit;
font-weight: bold;
}
.v, .vr {
background-color: #cccccc;
color: inherit;
}
.vr {
text-align: right;
}
/* PHP source code highlighting ------------------------------------------- */
div.phpcode span.html {
color: black;
background-color: transparent;
}
div.phpcode span.comment {
color: #FF8000;
background-color: transparent;
}
div.phpcode span.default {
color: #0000BB;
background-color: transparent;
}
div.phpcode span.keyword {
color: #007700;
background-color: transparent;
}
div.phpcode span.string {
color: #DD0000;
background-color: transparent;
}
/* Standard tables -------------------------------------------------------- */
table.standard td {
background-color: #eeeeee;
color: inherit;
}
table.standard th {
background-color: #cccccc;
color: inherit;
}
table.standard td.highlight {
background-color: #ffffcc;
color: inherit;
}
table.standard td.sub, table.standard th.sub,
table.standard th.subr, table.standard th.subl {
background-color: #dddddd;
color: inherit;
}
table.standard th.subr {
text-align: right;
vertical-align: top;
}
table.standard th.subl {
text-align: left;
vertical-align: top;
}
/* Mirror listing tables -------------------------------------------------- */
table.mirrors td {
background-color: #eeeeee;
color: inherit;
font-size: smaller;
}
table.mirrors th {
background-color: #cccccc;
color: inherit;
}
table.mirrors th.ch {
text-align: left;
}
table.mirrors th img {
border: 1px solid #000000;
}
table.mirrors th.flag {
width: 45px;
}
table.mirrors tr.this td {
background-color: #ffffcc;
color: inherit;
}
table.mirrors td.caret {
text-align: right;
background-color: white !important;
color: inherit;
}
/* Calendar table --------------------------------------------------------- */
table#cal {
font-size: smaller;
background-color: #a0a0a0;
color: inherit;
}
table#cal td {
background-color: #f0f0f0;
color: inherit;
vertical-align: top;
}
table#cal a {
text-decoration: none;
}
table#cal a:hover {
text-decoration: underline;
}
table#cal a.day {
float: right;
font-weight: bold;
color: #666666;
background-color: transparent;
}
table#cal div.event {
margin-bottom: 2px;
padding-bottom: 2px;
border-bottom: 1px dashed #000000;
}
table#calnav td, table#cal td.notaday {
background-color: #d0d0d0;
color: inherit;
}
table#cal a.cat1 {
color: green;
background-color: transparent;
}
table#cal a.cat3 {
color: black;
background-color: transparent;
}
/* Logos table ------------------------------------------------------------ */
table#logos {
background-color: #f0f0f0;
color: inherit;
}
table#logos td {
vertical-align: middle;
}
table#logos td.logo, table#logos td.logob {
text-align: center;
width: 33%;
background-color: #ffffff;
color: inherit;
}
table#logos td.logob {
background-color: #000000;
color: inherit;
}
table#logos td.star {
width: 20px;
}
table#logos td ul {
padding-left: 15px;
list-style-type: square;
}
/* User notes on manual pages --------------------------------------------- */
div#usernotes {
background-color: #e0e0e0;
color: inherit;
}
div#usernotes div.head, div#usernotes div.foot {
background-color: #d0d0d0;
color: inherit;
padding: 4px;
}
div#usernotes div.foot {
text-align: right;
}
div#usernotes div.foot a, div#usernotes div.head a {
color: black;
background-color: transparent;
}
div#usernotes span.action {
float: right;
}
div#usernotes div.note {
padding: 4px;
}
div#usernotes div.text {
background-color: #f0f0f0;
color: inherit;
padding: 2px;
margin-top: 4px;
}
/* Left sidebar TOC on manual pages --------------------------------------- */
ul#manualtoc {
margin: 0px 5px 5px 5px;
padding: 0px;
}
ul#manualtoc li {
font-size: 85%;
margin: 1px 0 1px 1px;
padding: 1px 0 1px 11px;
list-style-type: none;
background-repeat: no-repeat;
background-position: center left;
}
ul#manualtoc li.header {
font-size: 115%;
padding: 5px 0px 5px 11px;
border-bottom: 1px solid #cccccc;
margin-bottom: 5px;
}
ul#manualtoc li.active {
font-weight: bold;
}
ul#manualtoc li a {
text-decoration: none;
}
ul#manualtoc li a:hover {
text-decoration: underline;
}
/* Top and bottom navigation controls on manual pages --------------------- */
div.manualnavbar {
background-color: #e0e0e0;
color: inherit;
padding: 4px;
margin-bottom: 10px;
}
div.manualnavbar a {
text-decoration: none;
}
div.manualnavbar a:hover {
text-decoration: underline;
}
div.manualnavbar .prev, div.manualnavbar .langchooser {
padding-right: 4px;
}
div.manualnavbar .next, div.manualnavbar .lastupdated {
float: right;
padding-left: 4px;
}
div.manualnavbar hr {
color: #cccccc;
background-color: #cccccc;
}
div.manualnavbar form {
margin: 0px;
font-size: 75%;
}
div.manualnavbar .lastupdated {
font-size: 75%;
}