1
0
mirror of https://github.com/php/web-php.git synced 2026-04-25 07:58:04 +02:00
Files
archived-web-php/sitewide.css
T
Gabor Hojtsy fa83f5a811 Real fix for calendar table background colors and add different
coloring for user group events (green) and training (black). All
the other links will stay blue as usual.
2003-08-15 10:32:03 +00:00

300 lines
5.2 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%; }
input.max, textarea.max, select.max {
width: 100%;
}
img {
border: 0px;
}
div.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;
}
.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;
}
/* Content are styles ----------------------------------------------------- */
#content {
padding: 10px;
}
#content h1 {
margin-top: 0px;
}
/* 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: 50%;
}
#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.sub, table.standard th.sub,
table.standard th.subr {
background-color: #dddddd;
color: inherit;
}
table.standard th.subr {
text-align: right;
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.type_1 {
color: green;
background-color: transparent;
}
table#cal a.type_3 {
color: black;
background-color: transparent;
}