/* ==================================================
   base.css
   last updated : <2006-02-19 22:13:40 daiki>
   ================================================== */

@import url("http://www-step.kugi.kyoto-u.ac.jp/~daiki/lib/css/prettify.css");


/* ============================== base */
body { font-size: medium;
       font-family: 'Arial', 'Verdana', 'Helvetica', sans-serif; }


.left        { text-align: left; }
.right	     { text-align: right; }
.center	     { text-align: center; }

.tabbed	     { padding-left: 1em; }





/* ============================== color */
/* bg */
body     { background-color: #fff; }

a:hover	 { background-color: #99f; }

img.snap { background-color: #ccc; }


/* text */
body      { color: #003; }

a	  { color: #369; }
a:visited { color: #969; }
a:hover	  { color: #000; }

h1	  { color: #933; }
h2	  { color: #333; }
h2 a	  { color: #333; }
h2 a:visited	  { color: #333; }
h2 a:hover	  { color: #333; }


/* border */
div.main    { border-color: #999; }
div.footer  { border-color: #999; }
div.contact { border-color: #666; }

a         { border-color: #99f; }
a:visited { border-color: #99f; }
a:active  { border-color: #ff6; }

h1	  { border-color: #933; }
h2	  { border-color: #333; }

img.snap   { border-color: #999; }
img.banner { border-color: #999; }





/* ============================== layout */
/* width/height */
div.main    { width: 60%; }
div.sidebar { width: 30%; }


/* margin */
body             { margin: 0px; }
div.main	 { margin: 0px 0px 1em 0px; }
div.sidebar	 { margin: 0px 0px 1em 0px; }
div.contact	 { margin: 1em; }
p.address	 { margin-top: 2em; }
h2		 { margin-top: 1em; }
div.main h2	 { margin-top: 2em; }
ul		 { margin: 0em 0em 0.5em 2em; }
ul li		 { margin-bottom: 1em; }
ol li		 { margin-bottom: 1em; }
dl		 { margin-left: 1em; }
dt		 { margin-top: 1em; }
dd		 { margin-bottom: .5em; }


/* padding */
body           { padding: 1em; }

div.main       { padding: 1em; }
div.sidebar    { padding: 0em; }
div.sidebar    { padding-left: .5em; }
div.footer     { padding: .5em; }
div.contact    { padding: 0px 0px 0px .5em; }
div.caption    { padding-left: 1em; }

p.address      { padding-right: .5em; }

h1	       { padding: 1px 0px 0px .5em; }
h2	       { padding: 1px 0px 0px .3em; }

img.snap       { padding: 2px; }
img.banner     { padding: 0px; }

ul	       { padding: 0px; }



/* float/clear */
div.main             { float: left; }
div.sidebar	     { float: left; }


/* display */


/* border */
div.main	       { border-style: none none none dashed; }
div.main	       { border-width: 1px; }
div.footer	       { border-style: solid none none none; }
div.footer	       { border-width: 1px; }
div.contact	       { border-style: none none none solid; }
div.contact	       { border-width: 0px 0px 0px 2px; }

a                      { border-style: dashed;}
a		       { border-width: 0px 0px 1px 0px; }
a:visited	       { border-style: dashed;}
a:visited	       { border-width: 0px 0px 1px 0px;}
a:active	       { border-style: solid; }
a:active	       { border-width: 1px; }

a.simple	       { border-style: none;}
a.simple:visited       { border-style: none;}

img.snap	       { border-style: solid;}
img.snap	       { border-width: 1px;}
img.banner	       { border-style: solid; }
img.banner	       { border-width: 1px; }

h1		       { border-style: none none solid solid; }
h1		       { border-width: 0px 0px 2px 1em; }

h2		       { border-style: none none none solid; }
h2		       { border-width: .5em; }





/* ============================== font/text */
/* font-size */
div.sidebar { font-size: smaller; }
div.contact { font-size: 90%; }
div.caption { font-size: smaller; }
p.address   { font-size: 90%; }
h1	    { font-size: 120%; }
h2	    { font-size: 100%; }


/* text-align */
div.timestamp { text-align: right; }
p.address     { text-align: right; }


/* line-height */
ul    { line-height: 150%; }
ol li { line-height: 120%; }
dl    { line-height: 120%; }


/* text-weight */
div.contact { font-weight: bold; }
h1          { font-weight: bold; }
h2	    { font-weight: bold; }
dt	    { font-weight: bold; }


/* text-decoration */
a                { text-decoration: none; }
a:visited	 { text-decoration: none;}
a.simple         { text-decoration: none;}
a.simple:visited { text-decoration: none;}
h2		 { text-decoration: underline; }


/* list-style */
ul li		 { list-style-type:square; }


/* white-space */
/* error ?
pre      { white-space: -moz-pre-wrap;
           white-space: -pre-wrap;
	   white-space: -o-pre-wrap;
	   white-space: pre-wrap;
	   word-wrap: break-word; }
*/




/* ================================================== end */
