Browse Source

notes et césures

Ouidade 4 years ago
parent
commit
e56a136813

+ 1 - 1
src/.temp/now.js

@@ -1 +1 @@
-export default 1569229565465
+export default 1569246210811

+ 1 - 1
src/css/effets.scss

@@ -48,5 +48,5 @@
 
 .highlight-white {
 	background: white;
-	padding: 0.5rem 0rem;
+	padding: 0.1rem 0rem;
 }

+ 5 - 0
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;
 }

+ 4 - 3
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;
+
 }

+ 8 - 5
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;
+
+}

+ 3 - 3
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;
-}
+} */
 
 
 </style>

+ 15 - 4
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,
+               }
+            },
         },
     },
 };