:root { --color: black; --color2: #ca9c73; --color3: #f66758; --color4: #8ec0b8; --color5: #fff30e; --serif: "Latin Modern"; --sans: "Lack"; --mono: "Latin Modern Mono"; --font-lettrine: "Syne"; --font-size: 21px; --font-size-small: 12px; --line-height: 27px; } /* 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"; } body { background-size: 100%; color: var(--color); font-family: var(--serif); font-size: var(--font-size); line-height: var(--line-height); padding: var(--line-height) / 2; } /* Insertion du pad dans la page */ iframe { outline: 1px solid #333; } iframe#ether { height: 700px !important; max-width: 50em; margin: auto; } /* Style des niveaux de titre */ h1, h2, h3, h4, h5, h6 { font-size: var(--font-size); font-weight: bold; font-family: var(--font-lettrine); margin: 0; margin-top: calc(2 * var(--line-height)); margin-bottom: var(--line-height); padding-top: var(--line-height); clear: both; letter-spacing: 1px; } h1 { font-size: var(--font-size); line-height: var(--line-height); margin: var(--line-height) 0; text-align: center; font-family: var(--font-lettrine); font-weight: normal; letter-spacing: 1px; text-align: left; } #content h1 { font-size: calc(var(--font-size) * 3.5); line-height: 1em; margin: 5em 0; } h2 { font-size: calc(var(--font-size) * 1.5); text-align: left; font-weight: bold; } h3 { padding: 0; margin: 0; font-family: var(--font-lettrine); font-weight: normal; margin-top: 2em; letter-spacing: 1px; margin-bottom: 1em; } h3.quote { font-family: var(--serif); font-style: italic; font-weight: normal; letter-spacing: 0; margin-top: 0; } h4 { margin-top: 0; } img { max-width: 200px; float: left; margin: calc(var(--line-height) / 2); display: block; } img.inline { display: inline; vertical-align: top; margin: 0; height: 1em; } img.large { width: 90%; max-width: none; margin: auto; } .thumbnail { max-width: 30%; } blockquote { font-family: var(--sans); font-size: var(--font-size); margin: var(--line-height) calc(2 * var(--line-height)); } p { margin-bottom: 0; clear: both; } p + p { margin-top: var(--line-height); } hr { border: 0; height: var(--line-height); margin: 0; } hr + hr { display: block; border-bottom: 1px solid black; } code, pre { font-family: var(--mono); white-space: pre-wrap; } pre { outline: 1px solid var(--color2); padding: var(--line-height); width: 75%; margin-top: calc(var(--line-height) / 2); margin-bottom: calc(var(--line-height) / 2); color: var(--color2); } /* Style des légendes d'images */ figcaption { font-family: var(--sans); font-size: var(--font-size)-small; line-height: 1.3em; text-align: center; margin-bottom: var(--line-height); } /* Style des frames de vidéo ou autres objets hors image */ figure iframe { max-width: 70%; margin: var(--line-height) auto; display: block; } audio, video { display: block; clear: both; margin: auto; margin-bottom: var(--line-height) * 2; } /* Style des notes de bas de pages */ .footnote { font-size: var(--font-size-small); line-height: 1.3em; margin-bottom: calc(2 * var(--line-height)); } .footnote p { margin-bottom: 0; } /* INLINES ------------------------------------- */ /* Style des liens hypertextes */ a, a:visited { /* text-decoration: none; */ color: var(--color); } /* Style du texte en roll-over sur les liens */ a:hover { text-decoration: none; color: black; } /* Style quand on arrive à une ancre */ .target { background-color: var(--color); } /* Style de l'italique */ em { font-style: italic; } /* Style du bold */ strong { font-weight: bold; } /* Style des exposants */ sup { font-size: 0.65em; line-height: 0; vertical-align: 0.5em; } sup a { font-family: var(--sans); } /* Style du texte souligné */ u { text-decoration: none; border-bottom: 2px solid yellow; } dt { font-style: italic; display: inline; font-family: var(--sans); } dt:after { content: ": "; } dd { display: inline; margin:0; } dd:after { content:'\0A'; white-space:pre; } dd + dd { margin-left: calc(var(--line-height) * 2); } .metadata dt, .metadata dd { float: left; } .metadata dt { clear: both; margin-right: 4px; } .metadata dd +dd { margin-left: 0; } .metadata dd:after { content: ", "; } .metadata dd:last-child:after { content: ""; } .metadata dt.meta-participants { display: none; } .comment:before { background-color: yellow !important; border-radius: 1em; display: inline; height: 1em; margin: 0 0.5em; padding-left: 7px; padding-right: 9px; text-align: center; width: 1em; content: "!"; font-family: var(--sans); } /* FORMS -------------------------- */ form { margin-bottom: none; } form label, form textarea { font-family: inherit; font-size: inherit; } form input, form textarea { background: none; border-style: solid; border-color: black; font-family: var(--serif); font-size: inherit; border-width: 1px; padding: 3px; } /* Style de l'élément activé */ form input:focus, form textarea:focus { background-color: white; } form input[type=text], form input[type=password] { position: relative; width: 200px; width: 15em; margin: 5px; padding: 3px 5px; border-radius: 3px; } form input[type=submit] { cursor: pointer; padding: 0; padding: 3px 5px 3px 5px; border-style: none; border-color: none; text-decoration: none; color: var(--color); margin: 5px; font-family: var(--font-lettrine); border: 1px solid transparent; border-radius: 3px; } form input[type=submit]:hover { background-color: white; color: black; border: 1px solid black; } form input[type=submit]:active { background-color: var(--color4); color: white; border: 1px solid var(--color4); outline: 0px; } form label { width: 13em; text-align: left; display: inline-block; } .form-row { margin: .5em 0px; } .error { color: var(--color2); } /* GENERIC CLASSES -------------------------------- */ /* Style des boutons */ .button { text-decoration: none; padding: 0 1em 0 0; } /* Style des boutons en roll over */ .button:hover { background-color: none; outline: none; } /* Classe pour transformer des éléments blocs en éléments en ligne */ .inline { display: inline; } /* PAGE STRUCTURE --------------------------------- */ /* Style des containers */ .wrap { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: -ms-flexbox; display: -moz-box; display: -webkit-flex; display: flex; flex: 0 0; } .wrap.body { flex: 1 0; } .left-side, .right-side { -webkit-box-flex: 1; -moz-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .middle { flex: 2 0 25em; max-width: 50em; padding: 0 var(--line-height); } .write-mode .middle { width: 70%; } /* Pour les inclusions de pads dans les compilations */ #content .middle { width: 100%; } #title-bar h1 { margin-top: 0; padding-top: 0; } body { display: flex; flex-direction: column; min-height: 100vh; } /* NAV ------------------------------------------ */ /* Navigation */ nav { font-family: var(--font-lettrine); line-height: var(--line-height); font-size: var(--font-size-small); position: sticky; top: 0; background-color: white; padding: calc(var(--line-height) / 4); display: flex; flex-wrap: wrap; flex: 0 0; background: linear-gradient(to top, rgba(255,255,255,0), white 30%, var(--color5)); } #nav-left { flex: 1 0 600px; font-size: 130%; line-height: 1.3; letter-spacing: 1px; text-transform: lowercase; display: flex; } #nav-left .button:hover { color: var(--color2); } #nav-right { flex: 1 1 300px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-around; } nav div#staff-menu { display: inline; color: darkgray; } nav #logo { display: inline-block; flex: 0 0; margin: 0; padding: 0; } nav #logo img { float: none; margin: .25em 1.5em .25em .5em; padding: 0; max-width: 225px; } nav .menu { flex: 1 0; vertical-align: top; padding: .25em; } nav .menu-toggle { display: none; } /* nav span:before { content: " — "; } */ nav div#sort-by { display: inline; color: darkgray; } nav .author-name { color: darkgray; margin-right: 2em; } nav .mode-button { font-size: 125%; text-transform: uppercase; font-weight: 900; letter-spacing: 3px; padding: 0; } nav .mode-button:hover, nav .mode-button.active { color: var(--color3); } /* Texte précédent/suivant */ div#previous a, div#next a { position: fixed; top: 6.5em; font-family: sans-serif; font-size: var(--font-size-small); line-height: 1.2em; padding: var(--line-height); z-index: 6666; } div#previous a span, div#next a span { display: none; } div#previous a:hover span, div#next a:hover span { display: block; } div#next { text-align: right; padding-right: 0; } div#next a { right: 0; } /* MAIN CONTENT ---------------------------------- */ header { margin-top: var(--line-height); font-size: calc(2.5 * var(--font-size)); line-height: 1.2em; text-align: center; } header p, header h2 { font-family: inherit; margin-bottom: 0; line-height: inherit; text-align: center; display: inline; } header h2 { font-size: inherit; font-family: var(--font-lettrine); text-transform: none; display: none; } header p.authors:after { content: ", "; } #content ul li:before { content: "– "; margin-left: calc(2 * var(--line-height)); } ol { list-style-type: decimal; margin-left: calc(2 * var(--line-height)); } .footnote ol li { margin-bottom: 0em; } dl.meta { font-family: var(--sans); color: lightgray; font-size: var(--font-size-small); line-height: 1.25em; } div.metadata { font-family: var(--sans); font-size: var(--font-size-small); line-height: 1.25em; position: absolute; top: 0px; left: -15em; width: 15em; } div#go-up { clear: both; margin-top: calc(2 * var(--line-height)); } div#go-up a { border-bottom: none; } div#go-up a:hover { color: var(--color); } /* AUTHORSHIP ----------------------------- */ .authors { display: inline; } /* Hides Etherpad background colours */ #content span { background-color: inherit !important; } /* ------ PRINT/SCREEN ------ */ @media screen { .print-only { display: none; } } /* User Interface */ .popup-wrapper { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999999999999; background: rgba(0,0,0,0.6667); text-align: center; } .popup-wrapper.hidden { display: none; } .popup-wrapper:before { position: relative; height: 100%; content: ""; display: inline-block; vertical-align: middle; } .popup { display: inline-block; vertical-align: middle; background-color: white; padding: 30px; } /** * Scaling etherpad */ .write-mode .wrap.body .middle { display: flex; flex-direction: column; } .write-mode .wrap.body .middle #content { flex: 1 0; display: flex; flex-direction: column; margin-bottom: var(--line-height); } .write-mode .wrap.body .middle #content iframe { flex: 1 0 500px; } @media screen and (max-width: 600px) { #nav-left { flex: 1 0; justify-content: space-between; flex-wrap: nowrap; } nav .menu-toggle { display: block; } nav .menu { display: none; flex: 1 0; padding-bottom: 5vh; } nav .menu .menu-group { margin-top: 1em; white-space: normal; } nav .menu .button { display: block; } nav[data-expanded="true"] { background: linear-gradient(to top, rgba(255,255,255,0), white 10%, white 70%, var(--color5)); flex-direction: column; } nav[data-expanded="true"] #nav-left { flex-wrap: wrap; } nav[data-expanded="true"] .menu-toggle:before { content: "close "; } nav[data-expanded="true"] .menu { display: block; } nav[data-expanded="true"] #nav-right { flex: 0 0; } .middle { flex: 2 0; } .left-side, .right-side { display: none; } }