/* make-cssdoc.r stylesheet for the screen */
/* see also the print stylesheet */

/* colors */
body { color: black; background: white; }
h1, h2, h3, h4, h5, h6 { color: #00008B; }
a { color: blue; }
a:hover { color: red; }
p.titrenote {color: yellow;}

/* background color */
p.titrenote {background-color: black;}
pre.code {background-color: #D3D3D3;}
#def {background: yellow;}

/* colored border */
pre.code {border: #00008B 1px solid;}
h1.title {border-bottom: #00008B 2px solid;}
h2 {border-top: #00008B 2px solid;}

/* margins */
body {margin-left: 5%; margin-right: 5%; }
h1, h2 { margin-left: -2%; }
h3,h4,h5,h6 { margin-left: -1%; }

/* font-families */
body {font-family: Arial, Helvetica, sans-serif; }
h1,h2,h3,h4,h5,p,ul { font-family: Arial, Helvetica, sans-serif; }
pre { font-family: monospace; }
p.titrenote {font-family: "Courier new", monospaced, sans-serif;} 
span.note {font-family: "Courier new", monospaced, sans-serif;} 

/**************************************************************/
/* Past this line all is identical with the print stylesheet  */
/**************************************************************/

/* font-size */
body {font-size: 80%; }

/* used for the boilerplate just under the title */

pre.boilerplate {
	font-weight: bold;
	width: 200px;
	padding: 5px;
	padding-top: 0px;
}

/* used for to display code fragment */

pre.code {
	width: 95%;
	padding: 5px;
	margin-top: 10px;
	/* end of line is hidden when the line is too long */
	overflow: hidden;
}

/* DIV used for definitions */

/* frame container */
#frame {position: relative; width: 100%;}

/* the word been defined */
#def {
	left: 0px; 
	top: 0px; 
	width:100px ; 
	height: 20px;
	text-align: right;
	padding-right: 0.2em; 
	border: black 1px solid
}

/* the definition text */
#deftext {
	position: relative; 
	left: 110px; 
	top: -20px; 
	width: 80%; 
	padding-left: 0.2em ; 
	/* padding-left: 1 em; */
	border-left: black 1px solid;
}


/* The yellow on black first line of a note */

p.titrenote {
	font-weight: bold;
	width: 95%;
	margin-bottom: 0px;
	padding: 5px;
	border: black 1px solid;
}

/* the body of the note (comes just after a p.titrenote) */

span.note {
	display: block;
	width: 95%;
	padding: 5px;
	border: black 1px solid;
	/* end of line is hidden if the line is too long */
	overflow: hidden;
}

/* The copyright or credit text that shows up at the end on the document */

p.findocument {
	font-size: xx-small;
	margin-left: -2%; 
	margin-top: 30px;
	border-top: black 1px solid;

}

/* line starting with a bullet */

ul {
	margin-top: 0px;
	padding: 0px;
	list-style-type: square;
	list-style-position: inside;
}

/* enum line */

ol {
	margin-top: 0px;
	padding: 0px;
	list-style-type: decimal;
	list-style-position: inside;
}

/* for the title */

h1.title {
	margin-bottom: 3px; 
	border-top: none;
	padding-bottom: 10px;
}

/* for the table of content (=toc) line */

h2 {
	padding-top: 20px; 
}

/* para used to separate the toc links */

p.toc1 {
	font-weight: bold;
	margin-bottom: 0px;
	margin-top: 0.2em;
}

p.toc2 {
	margin-left: 1em;
	font-weight: bold;
	margin-bottom: 0px;
	margin-top: 0px;
}

p.toc3 {
	margin-left: 2em;
	font-weight: normal;
	margin-bottom: 0px;
	margin-top: 0px;
}

p.toc4 {
	margin-left: 3em;
	font-weight: normal;
	margin-bottom: 0px;
	margin-top: 0px;
}


/* to replace blockquotes */

.myblockquote{ 
	margin-left: 1.5em; 
	margin-right: 1.5em; 
	display: block; 
} 


