@charset "big5";
/*
 * Master style sheet for new site
 * $Header: /source/Repository/cbs/newstyle.css,v 1.39 2005/02/01 19:44:41 acli Exp $
 * 
 * WARNING: Macintosh Chinese fonts must be specified first if you want to
 * ensure Macintosh interoperability; otherwise, certain Macintosh versions
 * of Netscape may use random fonts to display Chinese text.
 *
 * WARNING: If a font family is specified and there is reason to believe that
 * Chinese text could be affected, a separate style with Chinese fonts used
 * must be created. Otherwise the page will not be correctly viewable by
 * Macintosh users.
 * 
 * WARNING: C++-style comments may confuse NS6 under arbitrary circumstances
 * and render random blocks useless (!)
 *
 * Note: The "slogan" images uses Mrs Eaves (a Baskerville variant), but I
 * find that this is not very appropriate (not very legible) for the copy.
 * So I changed the font for the copy.
 */


/* Generic */

html, body {
   /* Luxi Serif is included for X, esp. for zhuyin/pinyin accented chars */
   font-family: "Lucida Bright", "Utopia", "Georgia", "Luxi Serif", serif;
}
*[lang=zh-TW] {
   font-family: BiauKai, "AR PL KaiTiM Big5", KaiU, Kai, serif;
}

h2 {
   font-family: Arial, Helvetica, sans-serif;
   font-size: inherit;
   font-weight: bold;
}
h2 *[lang=zh-TW] {
   font-family: "Apple LiGothic Medium", "MS Hei", Hei, sans-serif;
}

h2:before {
   font-family: "Zapf Dingbats", sans;
   content: "\0025a0 ";
   color: /* #978ea3 */ #d2aa05;
}

h3 {
   font-size: inherit;
   font-weight: bold;
}

h3:before {
   font-family: "Zapf Dingbats", sans;
   content: "\0025a0 ";
   color: #acd4b9;
}

ul {
   list-style: outside;
   padding-left: 1em;
   padding-right: 1em; /* for symmetry in the front page */
}
ul li {
   margin-top: 0.5em;
   margin-bottom: 0.5em;
}
ul li + li {
   margin-top: 0em;
}

.prose p + p {
   margin-top: -1em;
   text-indent: 1em;
}

.nav {
   font-family: Arial, Helvetica, sans-serif;
   font-size: smaller;
}
.nav *[lang=zh-TW] {
   font-family: "Apple LiGothic Medium", "MS Gothic", "MS Hei", "Kochi Gothic", "Baekmuk Dotum", Hei, sans-serif;
}

a {
   color: #978ea3;
   text-decoration: inherit;
}

a:hover {
   color: white;
   background-color: #978ea3;
}

th {
   font-family: Arial, Helvetica, sans-serif;
   font-size: smaller;
}
th *[lang=zh-TW] {
   font-family: "Apple LiGothic Medium", "MS Hei", Hei, sans-serif;
}

tr.o {
   background-color: #e0e0e0;
}

tr.z td, tr.z th {
   border-style: solid;
   border-width: 1px;
}

tr.o td, tr.e td {
   border-style: none; /* removes inner border */
}

table.eo, table.oe {
   border-style: none; /* removes outer border */
}

img.tr {
   /* margin-top: -4px; confuses Mozilla (?!) & is not too better-looking */
   padding-left: 1em;
}

input[type=text] {
   border-color: #978ea3;
   border-top-style: none;
   border-left-style: none;
   border-bottom-style: dotted;
   border-right-style: none;
}

input[type=text]:hover {
   border-color: #978ea3;
   border-bottom-style: solid;
}

input[type=submit] {
   font-family: Arial, Helvetica, sans-serif;
   border-style: solid;
   border-color: #978ea3;
   color: #978ea3;
   background-color: white;
}
input[type=submit] *[lang=zh-TW] {
   font-family: "Apple LiGothic Medium", "MS Hei", Hei, sans-serif;
}

input[type=submit]:hover {
   background-color: #978ea3;
   color: white;
}

td table tbody tr td a:hover img { /* FIXME */
   /* The following 2 lines do exactly the same thing, neither is standard */
   -moz-opacity: 0.5;		/* Netscape only */
   filter: Alpha(opacity=50);	/* Internet Explorer only */
}

/* Front page only */

table.fpnav {
   /* border-collapse: collapse; */
   border-style: none;
}
tr.fpnav {
   border-style: none;
}
td.fpnav-int {
   border-style: none;
   font-size: 14px; /* FIXME */
}
td.fpnav-info {
   border-style: none;
   font-size: 20px;
}
td.fpnav-ref {
   border-style: none;
   font-size: 20px;
}
th.fpnav-int {
   border-style: none;
   background-color: #9191c1; /*#323299;*/
   font-size: 16px;
}
th.fpnav-info {
   border-style: none;
   background-color: #d2aa05;
   font-size: 16px;
}
th.fpnav-ref {
   border-style: none;
   background-color: #acd4b9;
   font-size: 16px;
}
/*
.fpnav > li {
   list-style-image: url(bullet.png);
}
*/

em.highlighted {
   background-color: yellow;
   font-size: smaller;
}

/* The following styles make sense only for English or French */

u.surname {
   text-transform: uppercase;
   text-decoration: inherit; /* i.e., this u does not really underline */
   font-size: 93.75%; /* one point smaller if the em is 16pt */
}

/* EOF */

