/*
** style-sheet for use with TEI (Lite P4 XML) subset used for producing
** slides for the 2005 UIUC TEI Workshop. Based on a TEI Lite stylesheet by
** Adrian Edwards (modified by Sebastian Rahtz) -- see comment at bottom
**
** It is my belief (and desire) that this style-sheet should be
** considered copyleft 2005 by Syd Bauman, Julia Flanders, and the
** Brown University Women Writers Project. However, I don't know what
** the licensing status of the file we started with is. Of course,
** there really isn't too much of the original here, anymore; and it
** was freely available on the TEI site.
*/

$COMMENT {
  display: block;
  color: purple;
  white-space: pre;
}

$PROCINS {
  color: black;
  background-color: #c0c0c0;
}

body {
  font-family: "serif";
  font-size: medium;
  padding: 2ex 2ex 2ex 2ex;
  background-color: #D6DDD3;
  display: block;
}

body > head {
	display: block;
	font-size: x-large;
	text-align: center;
}

code {
  display: inline;
  font-family: monospace;
}

date {
  display: inline;
}

body > div {
  display: block;
  margin-bottom: 1em;
  counter-increment: div1;
}

body > div > div {
  display: block;
  margin-bottom: 1em;
  counter-increment: div2;
}

body > div > div > div {
  display: block;
  margin-bottom: 1em;
  counter-increment: div3;
}

eg {
  font-family: monospace;
  padding-top: 1ex;
  padding-left: 1ex;
  padding-bottom: 1ex;
  display: block;
  margin-top: 1em 1em 1em 1em;
  white-space: pre;
  background-color: #FFCC99;
}

emph {
  display: inline;
  font-style: italic;
}

foreign {
  display: inline;
  font-style: italic;
}

formula {
  display: inline;
  font-style: italic;
}

gi {
  display: inline;
  font-family: monospace;
}
gi:before {
  content: "<";
}
gi:after {
  content: ">";
}

gloss {
  display: inline;
}

body > head {
  display: block;
  font-size: 130%;
  padding: 1ex 1ex 1ex 1ex;
  font-weight: bold;
  margin-bottom: 1.5em;
  margin-top: 1em;
}
body > div > head {
  display: block;
  font-size: 130%;
  padding: 1ex 1ex 1ex 1ex;
  background-color: #CDCDCD;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 1em;
}

body > div > div > head {
  display: block;
  font-size: 120%;
  padding: 1ex 1ex 1ex 1ex;
  background-color: #CDCDCD;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 1em;
}

body > div > div > div > head {
  display: block;
  font-size: 110%;
  padding: 1ex 1ex 1ex 1ex;
  background-color: #A0BEBE;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 1em;
}

body > div > head:before {
  content: counter(div1) ". ";
  color: red;
}

body > div > div > head:before {
  content: counter(div1) " " counter(div2) ". ";
  color: red;
}

hi {
  display: inline;
  font-weight: bolder;
}
    
hi[rend="italic"] {
  display: inline;
  font-style: italic;
}

ident[type='attrName'] {
  display: inline;
  font-family: monospace;
}
ident[type='attrName']:after {
	content: "=";
	}
ident[type="val"] {
	display: inline;
	font-family: monospace;
	font-size: large;
	}

item {
  display: list-item;
  margin-left: 2em;
  margin-bottom: 0;
}

list[type="gloss"] > item {
  display: list-item;
  margin-left: 2em;
  margin-bottom: .5em;
}

list[type="glosstable"] {
	display: inline-block;
	}
list[type="glosstable"] > label {
	display: inline;
	font-size: medium;
	font-weight: normal;
	}
list[type="glosstable"] > item {
	display: inline;
	}
	
item[n]:before {
  display: marker;
  content: attr(n);
}

label {
  display: inline;
  font-size: large;
  
  font-weight: bold;
  }

kw {
  display: inline;
  font-style: italic;
}

lb {
  display: block;
}

list {
  display: block;
  list-style-type: none;
  margin-left: 1ex;
}
    
list[rend="inline"] {
  display: inline;
}

list[rend~="bullets"] {
  list-style-type: disc;
  list-style-position: outside;
}

list[type="ordered"] {
  list-style-type: decimal;
  list-style-position: outside;
}

mentioned {
  display: inline;
  font-style: italic;
}

name {
  display: inline;
}

note {
  display: block;
  font-size: 75%;
  margin: 1em 1em 1em 1em;
}
note[n]:before {
  content: attr(n);
  vertical-align: super;
}
note[place="left"] {
  float: left;
}
note[place="right"] {
  float: right;
}
note[place="inline"], note[place="unspecified"] {
  display: inline;
}

num {
  display: inline;
}

p {
  display: block;
  margin-bottom: 0.5em;
}

q {
  display: inline;
  quotes: '“' '”' "‘" "’";
  margin-top: 0em;
  margin-left: 0em;
  margin-right: 0em;
  margin-bottom: 0em;
}
q:before {
  content: open-quote;
}
q:after {
  content: close-quote;
}
q[rend="display"] {
  display: block;
  margin-bottom: 0.5em;
  margin-left: 3em;
  margin-right: 3em;
  quotes: none;
}

soCalled {
  display: inline;
  font-style: italic;
  quotes: "‘" "’" '“' '”';
}
soCalled:before {
  content: open-quote;
}
soCalled:after {
  content: close-quote;
}

table {
  text-align: center;
  display: table;
  margin-left: 2em;
  margin-right: 2em;
}
row {
  display: table-row;
}
cell {
  display: table-cell;
  text-align: left;
  padding: 0 1ex 0 1ex;
}

term {
  display: inline;
  quotes: '“' '”' "‘" "’";
}
term:before {
  content: open-quote;
}
term:after {
  content: close-quote;
}

title {
  display: inline;
  font-style: italic;
}

teiHeader { display: none; color: silver; }

/*
    Based on the CSS2 specification for TEI Lite (XML Version) 1.3
    written by Adrian Edwards (adrian_edwards@yahoo.com)
    2000-04-19, edited by Sebastian Rahtz (sebastian.rahtz@oucs.ox.ac.uk)
    2001-02-16 available from http://www.tei-c.org.uk/Stylesheets/teixlite.css */
