
/* ------------------------------------------------------------------
 * Overall
 */

header#page-header nav.doc-userinfo {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
}

header#page-header nav.doc-userinfo a {
  color: #99f;
}


/* ------------------------------------------------------------------
 * Page Editor
 */

section.editor-content {
  position: absolute;
  top: 104px;
  left: 50%;
  margin-left: -450px;
  bottom: 0;
}

fieldset.edit-fields {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  right: 20px;
}

fieldset.edit-fields div.top-fields {
  position: absolute;
  top: 20px; left: 10px; right: 10px; height: 22px;
}

fieldset.edit-fields div.bottom-fields {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px; height: 22px;
}

fieldset.edit-fields div.middle-fields {
  position: absolute;
  top: 52px;
  left: 10px; right: 10px;
  bottom: 42px;
}

fieldset.edit-fields div.field {
  position: relative;
  height: 22px;
  line-height: 22px;
}

fieldset.edit-fields div.field label {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100px;
}

fieldset.edit-fields div.field input[type=text] {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: 110px;
}

/* ------------------------------------------------------------------
 * Page "delete"
 */

section.delete-content {
  padding-bottom: 1em;
}

section.delete-content fieldset {
  padding: 10pt;
}

section.delete-content input[type=submit] {
  margin-top: 1em;
}

/* ------------------------------------------------------------------
 * Page "view"
 */

section.content h1 {
  margin: 0;
}

section.view-content {
  position: relative;
}

nav.page-controls {
  float: right;
  margin: 10px;
  padding: 0 10px;
  border: solid 2px #666;
  border-radius: 3px;
  background: #fff;
}

nav.page-controls ul {
  margin: 0 0 0 20px; padding: 0;
}

section.view-content img.float-left {
  margin-right: 1em;
}

section.view-content img.float-right {
  margin-left: 1em;
}

/* --------------------------------------------------------------------
 * Page "Revision History"
 */

article.revision {
  margin-top: 0.5em;
  margin-left: 1em;
}

div.revision-details {
  margin-top: 0.5em;
  margin-left: 1em;
}

div.revision-graph {
  width: 70pt;
  height: 0.5em;
  float: left;
  margin: 0.25em 1em;
  border: solid 1px black;
}

div.revision-graph div {
  float: right;
  height: 100%;
}

div.revision-graph div.words-removed { background: #ff7b6e; }
div.revision-graph div.words-added { background: #a7e59b; }
div.revision-graph div.words-changed { background: yellow; }

span.diff-added { background: #a7e59b; }
span.diff-removed { background: #ff7b6e; text-decoration: line-through; }
