/* POUR VISITEURS */ @font-size: 19px; @line-height: 21px; @font-size-small: 15px; @font-size-small-x: 13px; @sans: Sans-serif; /* BLOCKS ------------------------------------- */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; text-rendering: optimizeLegibility; font-feature-settings: "liga", "dlig", "clig", "kern"; -webkit-font-feature-settings: "liga", "dlig", "clig", "kern"; -moz-font-feature-settings: "liga", "dlig", "clig", "kern"; -o-font-feature-settings: "liga", "dlig", "clig", "kern"; -webkit-print-color-adjust: exact; } @page { size: 210mm 297mm; margin-top: 20mm; margin-bottom: 20mm; margin-right: 10mm; margin-left: 10mm; } /* Styles pour la première page */ @page :first { /*margin-top: 50mm;*/ } html, body { width: 210mm; padding: 0; } body { background-size: 100%; background-attachment: fixed; background-repeat: no-repeat; color: black; font-family: @sans; font-size: @font-size; line-height: @line-height; word-wrap: break-word; } /* Style des niveaux de titre */ h1 { font-size: @font-size; line-height: @line-height; position: relative; z-index: 20; font-weight: normal; font-family: @sans; margin-top: @line-height; margin-bottom: @line-height; } h2 { font-family: @sans; text-transform: uppercase; margin-top: 2 * @line-height; margin-bottom: @line-height; text-align: center; font-size: @font-size; line-height: @line-height; } h3, h4, h5, h6 { font-weight: normal; font-family: @sans; margin: 0; text-align: center; font-size: @font-size; line-height: @line-height; } h3 { text-transform: uppercase; margin: @line-height 0; } h4 { text-decoration: underline; } /* Apparition des images */ img { max-width: 70%; max-height: 10cm; margin: @line-height auto; display: block; } img:first-of-type { margin-top: 0; } /* Apparition des images dans une ligne de texte */ img.inline { display: inline; vertical-align: top; margin: 0; height: @line-height; } /* Style des vignettes */ .thumbnail { max-width: 30%; } /* Style des grandes images */ .bigpicture { max-width: 95%; } /* Style des blocs de citation */ blockquote { font-family: @sans; font-size: @font-size; margin: @line-height 3 * @line-height; } p { margin-bottom: 0; } /* 2 paragraphes à la suite font un alinéa */ p + p { text-indent: 40px; } hr { border: 0; height: @line-height; margin: 0; } hr + hr { display: block; border-bottom: 1px solid black; } /* The
 tag defines preformatted text.
 * Text in a 
 element is displayed in a fixed-width font (usually Courier),
 * and it preserves both spaces and line breaks.
*/
code, pre {
    font-family: notcouriersans, monospace;
}

/* Style des légendes d'images */
figcaption {
    font-family: @sans;
    font-size: @font-size-small;
    line-height: @line-height;
    text-decoration: none;
    text-align: center;
    margin-bottom: @line-height;
}
/* Style des frames de vidéo ou autres objets hors image */
figure iframe {
    max-width: 70%;
    margin: @line-height auto;
    display: block;
}

/* Style des notes de bas de pages */
.footnote {
    font-size: @font-size-small;
    line-height: 14px;
    margin-bottom: 2 * @line-height;
}
.footnote p {
    margin-bottom: 0;
}
.footnote-backref {
    display: none;
}

/* INLINES ------------------------------------- */
/* Style des liens hypertextes */
a,
a:visited {
    text-decoration: none;
    color: black;
}
/* Style de l'italique */
em {
    font-style: italic;
}
/* Style du bold */
strong {
    font-weight: bold;
}
/* Style des exposants */
sup {
    font-size: @font-size-small-x;
    line-height: 0;
    vertical-align: 6.5px;
}
sup a {
    font-family: @sans;
}
/* Style du texte souligné */
u {
    text-decoration: none;
    border-bottom: 1px solid black;
}

dt:after {
    content: ": ";
}

#content dd {
        margin-left: 1.4em;
    }
#content dd:before {
        content: "— ";
}


.meta dt, 
.meta dd {
        float: left;
}
.meta dt {
        clear: both;
        margin-right: 0.5em;
}


.comment:before {    
    background-color: #FFFF00 !important;
    border-radius: @line-height;
    display: inline;
    height: @line-height;
    margin: 0 @line-height / 2;
    padding-left: 7px;
    padding-right: 9px;
    text-align: center;
    width: @line-height;
    content: "";
    font-family: @sans;
}


/* FORMS -------------------------- */
form {
    margin-bottom: 0;
}
form label, form textarea {
    font-family: inherit;
    font-size: inherit;
}
form input, form textarea {
    background: none;
    border: 1px solid black;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
/* Style de l'élément activé */
form input:focus, form textarea:focus {
    background-color: white;
}
form input[type=text], form input[type=password] {
    height: 22px;
    position: relative;
    top: -1px;
    width: 200px;
}
form input[type=submit] {
    cursor: pointer;
    padding: 0;
    height: 26px;
}

/* GENERIC CLASSES -------------------------------- */
/* Style des boutons */
.button {
    text-decoration: none;
    margin: 0 @line-height;
}

/* Classe pour transformer des éléments blocs en éléments en ligne */
.inline {
    display: inline;
}


/* PAGE STRUCTURE --------------------------------- */
/* Style des containers */
.wrap {
    display: block;
    margin: 0;
}
.wrap:before, .wrap:after {
    content: " ";
     display: table;
}
.wrap:after {
    clear: both;
}
/*.wrap:nth-of-type(1) {
    height: 0;
}
*/

/* Style des sous-parties de containers */
#content,
.middle {
    /*width: 150mm;*/
    padding: 0;
    /*position: relative;*/
    z-index: -1000;
}
.middle {
    /*padding-left: 25mm;*/
    padding: 0 20mm;
}

/* Pour les inclusions de pads dans les compilations */
#content .middle {
    width: 100%;
}

/* NAV ------------------------------------------ */


/* Navigation */
nav {
    font-family: @sans;
    line-height: @line-height;
    font-size: @font-size-small;
    position: fixed;
    top: 0;
    background-color: white;
    padding: 5px;
    z-index: 1000;
}

#logo {
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 10000;
    display: none;
}
#logo:after {
    content: attr(data-article);
}

nav div#sort-by {
    display: inline;
    color: darkgray;
}

/* MAIN CONTENT ---------------------------------- */
header {
    margin: 0;
    font-size: 3 * @font-size;
    line-height: 3 * @line-height;
    font-family: @sans;
    top: 9px;
    position: relative;
    margin-bottom: @line-height * 2;
}
header p, header h2 {
    font-size: inherit;
    font-family: inherit;
    margin-bottom: 0;
    line-height: inherit;
    text-align: center;
    text-transform: none;
    display: inline;
}

header p.authors:after {
    content: ", ";
}
header.book * {
    font-family: @sans;
}
/* Style du contenu principal */
#content {
    font-weight: 200;
    max-width: 1200px;
}
/* Style de listes non-ordonnées*/
#content ul li:before {
    content: "— ";
    margin-left: 2 * @line-height;
}

div.column {
    padding: 0 @line-height/2;
}
div.column:first-child {
    padding-left: 0;
}
div.column:last-child {
    padding-right: 0;
}

/* Style de listes ordonnées */
.footnote ol {
    list-style-type: decimal-leading-zero;
    margin-left: 2 * @line-height;
}
/* Espace entre les notes de bas de page */
.footnote ol li {
    margin-bottom: 0;
}
/* Style de texte en introduction */
.intro {
    font-family: @sans;
    font-size: @font-size;
    text-indent: 0;
}

/* Styles de la classe meta */
div#metadata p {
    font-family: @sans;
    text-indent: 0;
    margin-top: 3 * @line-height;
    clear: both;
}

/* TITRE COURANT */
    section.header:before,
    section.header:after {
    font-family: @sans;
        font-size: @font-size;
        line-height: @line-height;
        position: absolute;
    }
    section.header:before {
        left: 20mm;
    }
    section.header:after {
        right: 20mm;
    }


/* AUTHORSHIP ----------------------------- */

.authors {
    display: inline;
}
/* Hides Etherpad background colours */
#content span {
    background-color: inherit !important;
}



.pad-screencss #content,
.pad-lasercss #content,
.pad-offsetcss #content {
    white-space: pre-wrap;    
}



.hidden,
.screen-only,
.button,
nav span,
.left,
.right,
div#go-up {
    display: none;
}
.comment:before,
.comment,
.comment:after {
    display: none;
}