2011-02-10 22:45:39 +00:00
|
|
|
/*
|
|
|
|
main.css - general stylesheet for BOINC web pages
|
|
|
|
|
|
|
|
No colors are defined here.
|
|
|
|
Put colors in a separate stylesheet (e.g., white.css, style2.css)
|
|
|
|
|
|
|
|
Use classes, not IDs.
|
|
|
|
|
|
|
|
We use the following classes:
|
|
|
|
|
|
|
|
table.bordered
|
|
|
|
a table with a border around it
|
|
|
|
td.bordered
|
|
|
|
bordered table cell (admin pages only)
|
|
|
|
td.heading
|
|
|
|
table cell acting as heading
|
|
|
|
td.fieldname
|
|
|
|
td.fieldvalue
|
|
|
|
table cells with name/value pairs
|
|
|
|
td.fieldname_error
|
|
|
|
td.fieldvalue_error
|
|
|
|
same, but colored to show error
|
|
|
|
td.row0, row1
|
|
|
|
rows with alternating colors
|
|
|
|
td.highlighted_row0, highlighted_row1
|
|
|
|
same, but highlighted
|
|
|
|
|
|
|
|
... a bunch for message boards; see below
|
|
|
|
|
|
|
|
In the home page:
|
|
|
|
|
|
|
|
td.news
|
|
|
|
td.uotd
|
|
|
|
h2.headline
|
|
|
|
div.mainnav
|
|
|
|
|
|
|
|
*/
|
2009-04-15 20:09:42 +00:00
|
|
|
|
|
|
|
a, a:link, a:visited, a:active {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-decoration: none;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover { text-decoration: underline; }
|
|
|
|
|
|
|
|
body {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-family: Verdana, Arial, Sans Serif;
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 5px 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2 {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: normal;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3, h4 { font-weight: bold; }
|
|
|
|
|
|
|
|
hr {
|
2010-11-03 21:48:39 +00:00
|
|
|
size: 0;
|
|
|
|
margin: 8px 2px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2011-02-10 22:45:39 +00:00
|
|
|
img {
|
2010-11-03 21:48:39 +00:00
|
|
|
border: none;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2010-11-03 21:48:39 +00:00
|
|
|
padding: 4px 6px;
|
|
|
|
margin: 2px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table.bordered {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
-moz-border-radius: 6px;
|
|
|
|
-webkit-border-radius: 6px;
|
|
|
|
-khtml-border-radius: 6px;
|
|
|
|
border-radius: 6px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
|
|
|
vertical-align: top;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2010-11-03 21:48:39 +00:00
|
|
|
vertical-align: top;
|
|
|
|
padding: 4px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.bordered {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.heading {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 4px 0;
|
|
|
|
padding: 8px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.fieldname {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-align: right;
|
|
|
|
padding-right: 10px;
|
2010-09-20 23:59:25 +00:00
|
|
|
font-size: 14px;
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 2px 0;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.fieldvalue {
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 2px 0;
|
|
|
|
vertical-align: top;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.fieldname_error {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-align: right;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.fieldvalue_error {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.friend {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-align: center;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.row0,
|
|
|
|
.row1 ,
|
|
|
|
.highlighted_row0,
|
|
|
|
.highlighted_row1 {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2009-04-15 20:09:42 +00:00
|
|
|
/* Buttons etc. */
|
|
|
|
|
|
|
|
input[type="button"],
|
|
|
|
input[type="submit"],
|
|
|
|
.btn {
|
2011-02-10 22:45:39 +00:00
|
|
|
padding: 4px 4px;
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 2px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
|
|
|
cursor: pointer;
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
-khtml-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
/* IE6 doesn't understand [type=XXXX] so we use class "button" */
|
2009-04-15 20:09:42 +00:00
|
|
|
|
|
|
|
a.button {
|
2010-11-03 21:48:39 +00:00
|
|
|
line-height: 2.4em;
|
2011-02-10 22:45:39 +00:00
|
|
|
padding: 4px 4px;
|
|
|
|
margin: 0px 0px;
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
|
|
|
white-space: nowrap;
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
-khtml-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="button"]:hover,
|
|
|
|
input[type="submit"]:hover,
|
2010-11-03 21:48:39 +00:00
|
|
|
input.btn:hover,
|
2009-04-15 20:09:42 +00:00
|
|
|
.button:hover ,
|
|
|
|
.forum_toplinks a:hover {
|
2010-11-03 21:48:39 +00:00
|
|
|
text-decoration: none;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
input[type="text"], input[type="password"], select, textarea {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
margin: 2px 4px;
|
|
|
|
padding: 3px;
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
-khtml-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Main Page */
|
|
|
|
|
2011-02-10 22:45:39 +00:00
|
|
|
td.news {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 4px;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
-webkit-border-radius: 10px;
|
|
|
|
-khtml-border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2011-02-10 22:45:39 +00:00
|
|
|
h2.headline {
|
2010-11-03 21:48:39 +00:00
|
|
|
margin-top: 0;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2011-02-10 22:45:39 +00:00
|
|
|
td.uotd {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 4px;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
-webkit-border-radius: 10px;
|
|
|
|
-khtml-border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Forum */
|
|
|
|
|
|
|
|
td.category , tr.subtitle{
|
2010-11-03 21:48:39 +00:00
|
|
|
border: none;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 6px 0;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 4px 2px;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.postheader {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 4px;
|
|
|
|
padding-left: 8px;
|
|
|
|
height: 28px;
|
|
|
|
-moz-border-radius: 0 10px 0 0;
|
|
|
|
-webkit-border-radius-topright: 10px;
|
|
|
|
-khtml-border-radius-topright: 10px;
|
|
|
|
border-radius-topright: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
td.postheader form {
|
|
|
|
padding: 4px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
td.postbody {
|
|
|
|
line-height: 140%;
|
|
|
|
padding: 4px 12px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.postfooter {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 12px;
|
|
|
|
height: 26px;
|
|
|
|
margin-left: 4px;
|
|
|
|
padding-left: 8px;
|
|
|
|
-moz-border-radius: 0 0 10px 0;
|
|
|
|
-khtml-border-radius-bottomright: 10px;
|
|
|
|
-webkit-border-radius-bottomright: 10px;
|
|
|
|
border-radius-bottomright: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
td.postheader .button,
|
2009-04-15 20:09:42 +00:00
|
|
|
td.postfooter .button {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 12px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-08 17:56:39 +00:00
|
|
|
tr.helpdeskseparator {
|
2010-11-03 21:48:39 +00:00
|
|
|
height: 10pt;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-08 17:56:39 +00:00
|
|
|
tr.postseparator {
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 4px 0;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
td.threadline {
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: middle;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.numbers {
|
2010-11-03 21:48:39 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
td.lastpost, td.threadicon {
|
|
|
|
vertical-align: middle;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 80%;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.leftcol {
|
|
|
|
-moz-border-radius: 10px 0 0 10px;
|
|
|
|
-khtml-border-radius-topleft: 10px;
|
|
|
|
-khtml-border-radius-bottomleft: 10px;
|
|
|
|
-webkit-border-radius-topleft: 10px;
|
|
|
|
-webkit-border-radius-bottomleft: 10px;
|
|
|
|
border-radius-topleft: 10px;
|
|
|
|
border-radius-bottomleft: 10px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.authorcol {
|
2010-11-03 21:48:39 +00:00
|
|
|
width: 136px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.authorcol {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 8px 5px;
|
|
|
|
width: 120px;
|
|
|
|
margin: 2px 0 2px 2px;
|
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
-webkit-border-radius: 10px;
|
|
|
|
-khtml-border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
2009-04-15 20:09:42 +00:00
|
|
|
|
|
|
|
.authorinfo {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 11px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
img.authorinfo {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
margin: 3px 9px;
|
|
|
|
}
|
2009-04-15 20:09:42 +00:00
|
|
|
|
2009-06-12 16:35:08 +00:00
|
|
|
img.flag {
|
2010-11-03 21:48:39 +00:00
|
|
|
margin: 2px 1px;
|
2009-06-12 16:35:08 +00:00
|
|
|
}
|
|
|
|
|
2009-04-15 20:09:42 +00:00
|
|
|
.authorcol .button {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 12px;
|
|
|
|
margin: 0 4px;
|
|
|
|
line-height: 2.6em;
|
|
|
|
}
|
2009-04-15 20:09:42 +00:00
|
|
|
|
|
|
|
blockquote.postbody {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-left-width: 2px;
|
|
|
|
border-left-style: solid;
|
|
|
|
padding: 2px 6px;
|
|
|
|
margin: 0 6px 0 10px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2009-04-15 20:09:42 +00:00
|
|
|
.forum_toplinks td {
|
2010-11-03 21:48:39 +00:00
|
|
|
vertical-align: middle;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.page_title {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 24px;
|
|
|
|
margin: 20px;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.note {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 0.9em;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.news_date {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 0.8em;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.news_title,
|
|
|
|
span.inboxunread {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nobr{
|
2010-11-03 21:48:39 +00:00
|
|
|
white-space: nowrap;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2009-06-10 22:54:21 +00:00
|
|
|
.pre {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-family: "Courier New", courier, monospace;
|
|
|
|
display: block;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: auto;
|
2009-06-03 23:00:43 +00:00
|
|
|
}
|
|
|
|
|
2009-04-15 20:09:42 +00:00
|
|
|
.code {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-family: "Courier New", courier, monospace;
|
|
|
|
display: block;
|
|
|
|
margin-left: 5em;
|
|
|
|
border-left-width: 3px;
|
|
|
|
border-left-style: solid;
|
|
|
|
padding-left: 1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: auto;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smalltext {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-size: 0.8em;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.error,
|
|
|
|
.notice {
|
2010-11-03 21:48:39 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.1em;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
2011-02-10 22:45:39 +00:00
|
|
|
div.pm_preview {
|
2010-11-03 21:48:39 +00:00
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 0.2em;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* IE hack */
|
|
|
|
|
|
|
|
* html body .code {
|
2010-11-03 21:48:39 +00:00
|
|
|
white-space: normal;
|
2009-04-15 20:09:42 +00:00
|
|
|
}
|