diff --git a/src/.temp/now.js b/src/.temp/now.js index d245a4c..92b366f 100644 --- a/src/.temp/now.js +++ b/src/.temp/now.js @@ -1 +1 @@ -export default 1569229565465 \ No newline at end of file +export default 1569246210811 \ No newline at end of file diff --git a/src/css/effets.scss b/src/css/effets.scss index 5304410..371a51b 100644 --- a/src/css/effets.scss +++ b/src/css/effets.scss @@ -48,5 +48,5 @@ .highlight-white { background: white; - padding: 0.5rem 0rem; + padding: 0.1rem 0rem; } diff --git a/src/css/layout.scss b/src/css/layout.scss index 829532a..ce21bff 100644 --- a/src/css/layout.scss +++ b/src/css/layout.scss @@ -6,8 +6,12 @@ display: flex; flex-direction: column; height: 100%; + // font-family: "SGI-TextAlt"; + // font-size: 10.5pt; + // font-weight: 200; } + .no-folio { page: nofolio; } @@ -62,4 +66,5 @@ display: flex; flex-direction: column; justify-content: center; + align-items: center; } diff --git a/src/css/styles_de_caracteres.scss b/src/css/styles_de_caracteres.scss index f7e484c..a1490ac 100644 --- a/src/css/styles_de_caracteres.scss +++ b/src/css/styles_de_caracteres.scss @@ -27,7 +27,8 @@ [data-note]::after { position: absolute; content: counter(footnote); - transform: translateY(-10px); - font-family: "TextaAlt-Bold" - + transform: translateY(-3px); + font-family: "TextaAlt"; + font-size: 6pt; + } diff --git a/src/css/styles_de_paragraphes.scss b/src/css/styles_de_paragraphes.scss index 6743d9a..e4fc6ae 100644 --- a/src/css/styles_de_paragraphes.scss +++ b/src/css/styles_de_paragraphes.scss @@ -40,11 +40,6 @@ margin-top: 0; padding-top: 0; width: 250px; - display: block; - position: center; - - - } .table-of-content { @@ -110,6 +105,7 @@ font-weight: 200; font-size: 10.5pt; line-height: 18pt; + // hanging-punctuation: first last; } .section-title { @@ -132,6 +128,7 @@ text-align: justify; text-align-last: left !important; hyphens: auto; + hanging-punctuation: first; } .chapter-content h3 { @@ -153,3 +150,9 @@ strong { font-size: 14pt; line-height: 18pt; } + + +ol { + list-style-type: decimal; + +} diff --git a/src/layouts/Default.vue b/src/layouts/Default.vue index a013b7c..4642e11 100644 --- a/src/layouts/Default.vue +++ b/src/layouts/Default.vue @@ -16,12 +16,12 @@ query { html,body{ height:100%; } -body { - font-family: "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; +/* body { + font-family: "SGI TextAlt"; margin:0; padding:0; line-height: 1.5; -} +} */ diff --git a/static/lib/hyph.js b/static/lib/hyph.js index b71eecf..5c43ba1 100644 --- a/static/lib/hyph.js +++ b/static/lib/hyph.js @@ -2,12 +2,23 @@ var Hyphenopoly = { require: { "fr": "honorificabilitudinitas", }, + setup: { selectors: { - ".hyphen": {} - }, - dontHyphenate: { - acronym: true, + // class + ".hyphen": { + hyphen: "\u00AD", + leftmin: 5, + rightmin: 5, + minWordLength: 4, + dontHyphenate: { + math: true, + acronym: true, + capitalized: true, + // \u00a0 | : true, + orphanControl: 2, + } + }, }, }, };