/* ***** BEGIN LICENSE BLOCK *****
#    -*- encoding: utf-8 -*- 
# Style sheet for the theme "biblio-v3" <http://biblio.ismalaris.org/>
# Copyright © 2010 Florian Birée <florian@biree.name>
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
#.
 * ***** END LICENSE BLOCK ***** */
/* Stylesheet compiled using <http://sass-lang.com/> */
/* Constant definitions: */
/**** main ****/
html, body, #page {
  font-family: "DejaVu Sans Condensed", Corbel, Helvetica, "Nimbus Sans L", sans-serif;
  margin: 0;
  padding: 0;
  background: #661101;
  color: black; }

a {
  color: black;
  text-decoration: none;
  border-bottom: 1px dotted black; }
  a:hover {
    color: #2f4600;
    text-decoration: none;
    border-bottom: 1px solid black; }

.left {
  float: left;
  margin: 1ex 1ex 1ex 0; }

.right {
  float: right;
  margin: 1ex 0 1ex 1ex; }

hr {
  border: none;
  background: url("img/zeimusu_Swash_ornament.png") scroll center no-repeat;
  height: 39px;
  padding: 1em 1em;
  margin: 1em 1em; }

q:lang(en) {
  quotes: "“" "”" "`" "´"; }
q:lang(fr) {
  quotes: "«\0000a0" "\0000a0»" "“" "”"; }
q:before {
  content: open-quote; }
q:after {
  content: close-quote; }

/**** header ****/
#header {
  margin: 1em 2em 0 2em;
  padding: 0 0;
  background: #f4eed9 url("img/deco_stamp_left.png") 2px 2px no-repeat;
  border: 1px solid #661101;
  border-bottom: 1px dashed #661101;
  font-family: "DejaVu Serif", Constantia, Palatino, "Times New Roman", serif;
  text-align: center; }
  #header h1 {
    margin: 2px 2px;
    padding: 2em 1em 1ex 1em;
    background: url("img/deco_stamp_right.png") top right no-repeat; }
    #header h1 a {
      border-bottom: none; }
      #header h1 a:hover {
        border-bottom: 8px solid #2f4600; }
  #header p {
    font-style: italic; }
    #header p a {
      color: #2f4600;
      border: none; }
      #header p a:hover {
        border-bottom: 1px solid #661101; }
  #header h2 {
    font-size: 2.5em;
    color: #2f4600; }
    #header h2:before, #header h2:after {
      color: black;
      font-size: 110%; }
    #header h2:before {
      content: "[["; }
    #header h2:after {
      content: "]]"; }

/**** navbar ****/
#navbar {
  position: absolute;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: -1ex;
  width: 90%; }
  #navbar ul, #navbar li {
    margin: auto;
    list-style: none;
    padding: 0;
    display: inline; }
    #navbar ul a, #navbar li a {
      /*-moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;*/
      background: #f4eed9;
      color: #661101;
      border: 1px solid #661101;
      padding: 0.5ex; }
      #navbar ul a:hover, #navbar li a:hover {
        border: 1px dashed #2f4600; }

/**** content ****/
#content {
  margin: 0 2em;
  padding: 3em;
  background: #f4eed9;
  /* centred ~50char-wide column */
  /*margin: auto;*/
  text-align: center;
  /* indent paragraphs not at the begining (of the text / the section) */
  /* book list */ }
  #content h1, #content h2, #content h3 {
    max-width: 40ex;
    margin: 1ex auto;
    text-align: left;
    font-family: "DejaVu Serif", Constantia, Palatino, "Times New Roman", serif;
    color: #2f4600; }
  #content h1 {
    color: #2f4600;
    font-size: 1.9em;
    line-height: 1.3;
    border-bottom: 5px solid #2f4600; }
  #content h2 {
    color: #661101;
    font-size: 1.6em;
    line-height: 1; }
  #content p, #content pre, #content blockquote, #content ul, #content ol {
    max-width: 50ex;
    margin: auto;
    text-align: justify;
    line-height: 135%;
    /* line separation between paragraphs */
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
  #content pre {
    font-family: mono;
    max-width: 90ex;
    font-size: 80%;
    line-height: 100%;
    overflow: auto; }
  #content li {
    list-style: none; }
    #content li:before {
      content: "» "; }
  #content blockquote {
    padding-left: 1ex;
    border-left: 3px double #661101;
    font-style: italic;
    font-size: 90%; }
  #content p + p {
    text-indent: 2em; }
  #content a.image {
    border: none; }
    #content a.image:hover {
      border: none; }
  #content img {
    border: 3px solid #2f4600;
    padding: 1ex;
    background: transparent;
    max-width: 100%; }
  #content ul.books {
    padding: 0; }
    #content ul.books li {
      display: block;
      float: left;
      margin: 1ex;
      padding: 1ex;
      width: 40%;
      height: 13.5em;
      border: 3px solid #661101;
      background: transparent;
      text-align: center; }
      #content ul.books li:before {
        content: "";
        content: none; }
      #content ul.books li:hover {
        border: 3px double #661101; }
      #content ul.books li a {
        display: block;
        border: none;
        font-style: italic; }
        #content ul.books li a:hover {
          border: none;
          color: #661101; }
        #content ul.books li a img {
          border: none;
          margin: auto;
          display: block;
          height: 10.25em; }
  #content span.postbooks {
    clear: both;
    display: block; }

/*** infos ***/
#infos {
  margin: 0 2em 1em 2em;
  padding: 1ex;
  background: #f4eed9; }
  #infos ul {
    color: #661101;
    font-size: 0.6em;
    text-align: right;
    list-style: none; }
    #infos ul li {
      display: inline;
      padding-left: 2ex; }
      #infos ul li a {
        color: #661101; }

/**** footer ***/
#footer {
  margin: 1em 2em;
  padding: 1em 0;
  color: #f4eed9; }
  #footer p {
    font-size: 0.7em;
    margin: 0;
    padding: 0; }
    #footer p a {
      color: #f4eed9; }

/* Edit field :
***************/
#id_page_content {
  display: block;
  width: 100%;
  height: 30em;
  font-family: mono; }

