Commit 7f66b1bf authored by Edith Cannet's avatar Edith Cannet
Browse files

màj ressources javascript et css

parent 8a9eaa23
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -2,10 +2,32 @@ const dict = {
    fr : {
        'toc' : 'Table des matières',
        'refs': 'Références',
        'pagination': 'Pagination : ',
        'date-received': 'Date de réception : ',
        'date-accepted': 'Date d’acceptation : ',
        'colon': ' : ',
        'abstract': 'Résumé : ',
        'abstractTrl': 'Résumé ',
    },
    en: {
        'toc' : 'Table of contents',
        'refs': 'References',
        'pagination': 'Pagination: ',
        'date-received': 'Reception date: ',
        'date-accepted': 'Acceptation date: ',
        'colon': ': ',
        'abstract': 'Abstract: ',
        'abstractTrl': 'Abstract ',
    },
    es: {
        'toc' : 'Índice',
        'refs': 'Referencias',
        'pagination': 'Paginación: ',
        'date-received': 'Fecha de recepción: ',
        'date-accepted': 'Fecha de aceptación: ',
        'colon': ': ',
        'abstract': 'Resumen : ',
        'abstractTrl': 'Resumen ',
    }
}

+167 −44
Original line number Diff line number Diff line
@@ -120,9 +120,9 @@ section.back{
    border-left: 1px solid black;
}

.left-contents h1 {
.left-contents h1:not(div.boxed-text *) {
    font-size: 3.2rem;
    margin-bottom: 50px;
    margin-bottom: 20px;
    line-height: normal;
    padding-top: 25px;/*calc(var(--nav-height));*/
}
@@ -207,30 +207,75 @@ section.front ol, section.front ol {
}


section.body p{
/***** section/h *******/
section.body p:not(div.boxed-text *) {
    margin-top:10px ;
    line-height: 150% ;
    word-wrap: break-word
}

section.body h2 {
/*
section.body p:first-child {
	margin-top:50px;	
}
*/

.title-sup,
.z39-98 {
    display: inline-block;
	margin-top: 10px;
    font-size: 1.2rem;
	background-color: var(--dark-theme-txt);
    padding-right:2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 450;
}

.title-trl {
	margin-top: 20px;
    margin-bottom: 15px;
    font-size: 2rem;
	font-style:italic;
}

.title-sub {
	font-size: 2.4rem;
	margin-top: 25px ;
}

section.body h2:not(div.boxed-text *) {
    margin-top: 30px ;
    margin-bottom: 15px ;
    font-size: 3rem;
    /*line-height: 200%;*/
}

section.body h3 {
    margin-top: 15px ;
section.body h3:not(div.boxed-text *) {
    margin-top: 25px ;
    margin-bottom: 10px ;
    font-size: 2rem;
    font-size: 2.5rem;
    /*line-height: 100%;*/
}

section.body h4 {
    margin-top: 10px ;
section.body h4:not(div.boxed-text *) {
    margin-top: 15px ;
    margin-bottom: 5px ;
    font-size: 1.5rem;
    font-size: 2rem;
    /*line-height: 15%;*/
}

section.body h5 {
    margin-top: 15px ;
    margin-bottom: 5px ;
    font-size: 1.6rem;
    /*line-height: 15%;*/
}

section.body h6 {
    margin-top: 15px ;
    margin-bottom: 5px ;
    font-size: 1.4rem;
    /*line-height: 15%;*/
}

@@ -288,7 +333,8 @@ div[id='figures'] figure {
figure[class='fig-formula inline'] {
    display:inline;
}
/* tables */

/****** table ******/
table caption {
    font-size: 1.2rem;
    font-style: italic;
@@ -309,7 +355,6 @@ table[class='linguistic'] {
td,th {
    border-bottom:1px solid #ccc;
    font-size:1.1rem;
/*    padding:5px;*/
}

.fig-table label {
@@ -358,22 +403,9 @@ section.body h3:not(div.boxed-text *){
section.body h4:not(div.boxed-text *){
    counter-reset: subsubsubsection;
}
/*
section.body h2:not(div.boxed-text *):before{
    counter-increment: section;
    content: counter(section) ". ";
}
section.body h3:not(div.boxed-text *):before{
    counter-increment: subsection;
    content: counter(section)"."counter(subsection)" ";
}
section.body h4:not(div.boxed-text *):before{
    counter-increment: subsubsection;
    content: counter(section)"."counter(subsection)"."counter(subsubsection)" ";
}
*/

/* biblio bas de page */

/* biblio end */
.bibliography {
    margin-top:4ex;
    border-top:1px solid #efefef;
@@ -395,7 +427,9 @@ section.bibliography ul {
section.bibliography li.bibl {
    font-size:1.3rem;
}
/************/


/***** TOC *******/

#toc li {
    margin-top:5px;
@@ -448,7 +482,18 @@ section.bibliography li.bibl {
    margin-left:20%;
}

/***********/
.toc-floatingText {
    background-color: #ddd;
}

/***** REVIEW *******/
.author-aut,
.authority_affiliation {
    text-align: right;
}

/***** INLINE ELEMENTS******/

span[class*="fn-call"], sup{ /** must not affect line height **/
    font-size: .60em;
    vertical-align: 0.65em;
@@ -466,6 +511,7 @@ span.bibr-call{
    cursor: pointer;
}

/***** FOOTNOTES ******/
div[id^="footnotes"] ul,
div[id^="footnotes"] ul {
    list-style-type: none;
@@ -496,7 +542,7 @@ div[id^="footnotes"] li .label:before {
}

div[id^="footnotes"] li .label:after {
    content: ']';
    content: '] ';
}

/*
@@ -520,7 +566,7 @@ div[id^="footnotes"] .label {
    border-bottom: 1px solid var(--dark-theme-txt);
}

/******************************************/
/*********** INDEX **********/
#index .index-level1 {
    list-style-type: none;
    margin-top: 3%;
@@ -567,6 +613,7 @@ div[id^="footnotes"] .label {
.collapsed .toggle-button::after {
  content: "[+]";
}

/******************************************/
.journal-meta {
    padding: 10px;
@@ -576,7 +623,20 @@ div[id^="footnotes"] .label {
    display: block;
    color: var(--grey-color);
    margin-top: 10px;
    content:"";
}

/*
.meta-field::before {
  content: '\f007'; 
  font-family: 'Font Awesome 6 Free'; 
  position: absolute; 
  right: 10px; 
  font-size: 24px; 
  color: var(--grey-color); 
}
*/

.subject:before{
    content : "Sujet";

@@ -596,15 +656,26 @@ div[id^="footnotes"] .label {
    content : "Contributeurs";

}
.abstract:before{
    content : "Résumé";

.abstract {
    margin-top:6px;
}

.trans-abstract:before{
    content : "Résumé traduit";
.correction {
    border:1px solid black;
    margin-top:6px;
    padding:3px;
}

.ack {
    font-style: italic;
    margin-top:6px;
}

.front .epigraph {
    margin-top:6px;
}

.kwd-group:before{
    content: "Mots-clés";
}
@@ -624,14 +695,56 @@ div[id^="footnotes"] .label {
    text-decoration: underline;
}

div[class='idno'] {
    border-bottom: 1px dotted black;
    padding-bottom: 10px;
}

.bio {
    margin-bottom:2ex;
}

/******************************/
/********* BOXED TEXT **********/
div.boxed-text {
    border: 1px solid var(--grey-color);
    border-radius:25px;
    padding: 15px;
    padding-top:5px;
    padding-bottom:5px;
    margin-top: 10px;
    margin-bottom:10px;
}

div.boxed-text h1 {
	font-size: 2.3rem;
    margin-bottom: 10px;
    line-height: normal;
    padding-top: 25px;
}

div.boxed-text h2 {
	font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: normal;
    padding-top: 25px;
}

div.boxed-text h3 {
	font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: normal;
    padding-top: 25px;
}

div.boxed-text p {
	font-size:1.2rem;
	margin-top: 10px;
	line-height: 150%;
	word-wrap: break-word;
}

div.boxed-text * {
	font-size:1.2rem;
}

/** galleys DL links**/
@@ -650,18 +763,29 @@ div.item.galleys ul {
    list-style-type: none;
}

/******************************/
/*********** QUOTE *******************/
disp-quote {
    display: block;
    text-align:right;
}

blockquote {    
    background-color:aliceblue;
    padding-left: 5%;
}

/******************************************/
.quotation2 {
    border-left: 2px solid var(--grey-color);
    padding-left: 5%;
    margin-left: -5%;
}

/*********** BR *******************/
.lb::after {
    content: "\a";
    white-space: pre;
}

/*************** DRAG-BAR ***************************/
ul, ol {
    margin-top:2ex; 
    margin-bottom:2ex;
@@ -688,4 +812,3 @@ iframe {
    background-color: #ddd;
    z-index: 1000;
}
 No newline at end of file