1
0
mirror of https://github.com/php/web-php.git synced 2026-03-30 19:22:17 +02:00
Files
archived-web-php/styles/theme.css
Hannes Magnusson 8c1cab01de Use proper markup
2010-12-27 09:30:40 +00:00

281 lines
5.4 KiB
CSS

/**
*
* COLORS: | HEX | HSB
* ---------------+---------+---------------
* light-purple | #c3add9 | 270, 20%, 85%
* ---------------+---------+---------------
* medium-purple | #987db3 | 270, 30%, 70%
* ---------------+---------+---------------
* dark-purple | #604080 | 270, 50%, 50%
* ---------------+---------+---------------
*
*/
body * {
border-color: #c3add9;
}
body, input, textarea {
font-family: Arial, Helvetica, sans-serif;
}
body {
line-height: 1.4;
background: url('/images/sprites.png') repeat-x 0px -990px;
}
h1 { font-size: 1.7em; line-height: 2.6em; }
h2 { font-size: 1.6em; line-height: 2.4em; }
h3 { font-size: 1.4em; line-height: 2.2em; }
h4 { font-size: 1.3em; line-height: 2.0em; }
h5 { font-size: 1.2em; line-height: 1.8em; }
h6 { font-size: 1.1em; line-height: 1.6em; }
small { font-size: .9em; }
a:link,
a:visited {
color: #528918;
}
a:hover {
color: #355c0b;
}
#headnav {
line-height: 1;
background: url('/images/sprites.png') repeat-x 0px -100px;
}
#headhome a {
background: url(/images/sprites.png) 0 0;
}
#headnav li.parent .children {
background: url('/images/shade.png');
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#headnav li.parent .children .children-1 {
background: #fff;
border-color: #604080;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#headnav li.parent a.menu-link {
background: url(/images/sprites.png) no-repeat 100% 7px;
}
#headnav li.parent.current a.menu-link {
background-position: 100% -23px;
}
#headnav a.menu-link {
color: #444;
border-color: #987db3;
font-weight: bold;
}
#headnav li#headsearch {
border-color: #987db3;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#headsearch-keywords {
color: #666;
background: transparent;
}
#headsearch-keywords:focus {
color: #000;
}
#headsearch-submit {
border-color: #987db3;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
border: 1px solid #604080;
background: #604080;
color: #fff;
}
#headnav li dl {
line-height: 1;
}
#headnav li dl dd:hover,
#headnav li dl dt:hover {
background: #eee;
}
#headnav li.current a.menu-link,
#headnav li a.menu-link:hover {
border-color: #604080;
}
#headnav li.current a.menu-link {
color: #000;
}
h1, h1 a, h1 a:visited, h1 a:link {
font-weight: normal;
color: #666;
letter-spacing: -0.04em;
}
footer {
clear: both;
border-top: 3px solid #c3add9;
padding-top: 5px;
}
footer a {
color: #444;
border-color: #987db3;
font-weight: bold;
margin: 0 8px;
}
footer a:hover {
color: #000;
}
h1 a:hover {
color: #444;
}
/**
* Auto-complete (.ac)
*/
.ac_results {
background: url('/images/shade.png');
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.ac_results ul {
border-color: #604080;
background-color: white;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.ac_over {
background-color: #604080;
color: white;
}
/**
* User notes
*/
#usernotes {
background: #eee;
position: relative;
}
#usernotes .action {
display: block;
top: 1em;
right: 20px;
position: absolute;
text-align: right;
}
#usernotes .foot .action {
position: relative;
top: -1em;
margin-bottom: 1em;
}
#usernotes h3 {
border-color: #4d63ff;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 6px;
}
#usernotes .note {
margin: 0 20px 2em 20px;
border-top: 3px solid #ddd;
}
#usernotes .user, #usernotes .date {
display: block;
width: 50%;
float: left;
margin-bottom: 0.6em;
}
#usernotes .date {
float:right;
text-align: right;
}
/* PHP source code highlighting ------------------------------------------- */
.phpcode, div.classsynopsis {
padding: 0.5em;
text-align: left;
}
div.phpcode span.html {
color: black;
background-color: transparent;
}
div.phpcode span.comment, div.classsynopsisinfo_comment {
color: #FF8000;
background-color: transparent;
}
div.classsynopsisinfo_comment {
font-weight: bold;
}
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;
}
.warn {
padding: 10px 20px;
margin: 1em 2em 1.3em;
margin-right: 0.8em;
border-top: 3px solid #ff4d4d;
background-color: #EFEFEF;
}
pre.info {
font-family:"Courier New", Courier, monospace;
border: 1px solid #ddd;
margin: 1em 2em 1.3em;
margin-right: 0.8em;
background-color: #efefef;
}