Sin resumen de edición
Sin resumen de edición
 
(No se muestran 60 ediciones intermedias del mismo usuario)
Línea 2: Línea 2:
/* this stylesheet is used when generating a PDF with PrinceXML or any other tool that understands the CSS used. */
/* this stylesheet is used when generating a PDF with PrinceXML or any other tool that understands the CSS used. */
/* define a page */
/* define a page */
* {
  outline: 1px dashed rgba(0, 0, 0, 0.0);
}


   /* Página tamaño carta, márgenes 1cm por lado */
   /* Página tamaño carta, márgenes 1cm por lado */
   @page {
   @page {
    size: letter;
  size: 8.5in 11in;
    margin: .5cm;
  margin: 1cm 1cm 1cm 1cm; /* top, right, bottom, left */
    @footnotes {
      border-top: 0.6pt solid black;
      padding-top: 8pt;
    }
   }
   }


   /* Primera página (portada): sin márgenes ni numeración */
   /* Primera página (portada): sin márgenes ni numeración */
   @page :first {
   /*@page :first {
   margin: 0;
   margin: 0;
  /* o border: none; background: white; */
}
}*/


body > *:first-child {
/*body > *:first-child {
   page-break-before: right;
   page-break-before: right;
   /* forzar que el primer contenido inicie en la segunda página */
    
}
}*/
   /* Página izquierda */
   /* Página izquierda */
  @page:left {
/*  @page:left {
     @bottom-left {
     @bottom-left {
       content: counter(page);
       content: counter(page);
Línea 38: Línea 38:
       border-top: 0.25pt solid #666;
       border-top: 0.25pt solid #666;
     }
     }
   }
   }*/


   /* Página derecha */
   /* Página derecha */
  @page:right {
/*  @page:right {
     @bottom-left {
     @bottom-left {
       content: 'Boletín de Publicaciones Científicas del Personal Académico del CIESAS';
       content: 'Boletín de Publicaciones Científicas del Personal Académico del CIESAS';
Línea 59: Línea 59:
       font-size: 9pt;
       font-size: 9pt;
       color: #333;
       color: #333;
       margin: 15pt 0 10pt 0;
       margin: 10pt 0 10pt 0;
     }
     }
   }
   }*/


   /* Portada */
   /* Portada */
Línea 80: Línea 80:
     font-family: 'Lucida Sans Unicode', sans-serif;
     font-family: 'Lucida Sans Unicode', sans-serif;
     line-height: 1.5;
     line-height: 1.5;
     font-size: 11pt;
     font-size: 10.5pt;
     color: #000;
     color: #000;
     background: #fff !important;
     background: #fff !important;
Línea 92: Línea 92:
   h2, h3, h4, h5 {
   h2, h3, h4, h5 {
     font-weight: bold;
     font-weight: bold;
     page-break-after: avoid;
     margin-top: 0;
    page-break-inside: avoid;
   }
   }
h3 {
  string-set: doctitle content();
  page-break-before: avoid !important;  /* Evita salto antes */
  page-break-inside: avoid !important;  /* Evita salto dentro */
  page-break-after: avoid !important;  /* Evita salto después */
  counter-reset: footnote;
  line-height: 1.3;
  font-size: 20pt;
  margin-top: 0;
}
h3.mw-headline:before {
  counter-increment: chapternum;
  content: counter(chapternum) " ";
  page-break-before: avoid !important;
  page-break-inside: avoid !important;
  page-break-after: avoid !important;
  margin-top: 0;
}
h3 {
  widows: 0;  /* mínimo 2 líneas al final de una página */
  orphans: 4; /* mínimo 2 líneas al inicio de una página */
}
h3 + .ficha {
  page-break-before: avoid; /* No separar antes del párrafo que sigue */
}


  h2 + p, h3 + p {
    page-break-before: avoid;
  }


   /* Capítulos */
   /* Capítulos */
  h3 {
/* h3 {
     string-set: doctitle content();
     string-set: doctitle content();
     page-break-before: left;
     page-break-after: auto;
    page-break-inside: auto;
     counter-reset: footnote;
     counter-reset: footnote;
     line-height: 1.3;
     line-height: 1.3;
     font-size: 18pt;
     font-size: 20pt;
  margin-top: 0;
   }
   }


Línea 112: Línea 138:
     counter-increment: chapternum;
     counter-increment: chapternum;
     content: counter(chapternum) " ";
     content: counter(chapternum) " ";
    page-break-after: auto;
    page-break-inside: avoid;
  margin-top: 0;
   }
   }
h3::before {
  content: "";
  display: block;
  height: Xpx;
}*/


.mw-page-title-main {
.mw-page-title-main {
Línea 118: Línea 153:
     text-aling:center;
     text-aling:center;
     font-style:none;
     font-style:none;
    padding-top: 0;
    margin-top:0;
}
}


   /* Tablas */
   /* Tablas */
   table {
   table {
     page-break-inside: avoid;
     /*page-break-inside: avoid;*/
   }
   }


   /* Imágenes */
   /* Imágenes */
   img {
   .img {
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
Línea 142: Línea 179:
   }
   }


   .img_ficha img {
   .ficha img {
     width: 5cm !important;
     width: 4cm !important;
     float: left;
     /*float: left;*/
    page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
  display:block;
margin:0 auto;
max-width: 100%;  /* para que no sobresalga */
  height: auto;
   }
   }
.ficha::after {
  content: "";
  display: table;
  clear: both;
}


   /* Caja de ficha técnica */
   /* Caja de ficha técnica */
   .ficha {
   .ficha {
     width: 100%;
     width: 95%;
     margin: 0 auto 12pt auto;
     margin: 0 auto 16pt auto;
     padding: 8pt;
     padding: 10pt;
    min-height: 150px;
     overflow: visible;
     overflow: hidden;
     background: #33659d3d;
     background: #33659d3d;
     border-radius: 15px;
     border-radius: 15px;
     display: table;
     display: block;
     page-break-inside: avoid;
     page-break-inside: avoid;
    break-inside: avoid;
     clear: both;
     clear: both;
    /*display:none;*/
/*outline: 2px dashed rgba(0, 0, 0, 0.3);*/
  page-break-before: auto;
  page-break-after: auto;
min-height:190px;
position: relative;
   }
   }
.ficha p {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
}
p {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
  font-size:10.5pt;
}


   /* TOC - Tabla de contenidos */
   /* TOC - Tabla de contenidos */
Línea 226: Línea 298:


   /* Contenedor */
   /* Contenedor */
  #bodyContent,
  #mw-content-text,
   #content,
   #content,
   .mw-body,
   .mw-body,
   .mw-parser-output {
   .mw-parser-output,
  #pagina {
     width: 100% !important;
     width: 100% !important;
     margin: 0 !important;
     margin: 0 auto !important;
     padding: 0 !important;
     padding: 0 !important;
  page-break-inside: auto !important;
  break-inside: auto !important;
  page-break-before: auto;
  page-break-after: auto;
    display: block;
    overflow: visible;
    background: #fff !important;
   
   }
   }
  /*#pagina {
    /*padding: 0;
    margin-left: 2mm;
    margin-right: 2mm;
    padding-top: 0;*/
    page-break-inside: auto !important;
    break-inside: auto !important;
  }*/


   /* Ocultar elementos no deseados del skin Minerva */
   /* Ocultar elementos no deseados del skin Minerva */
Línea 254: Línea 328:
   .printfooter,
   .printfooter,
   .mw-editsection,
   .mw-editsection,
   #footer,
  footer,
   #mw-footer,
   #mw-navigation,
   #mw-navigation,
   #mw-page-base,
   #mw-page-base,
Línea 268: Línea 343:
     display: none !important;
     display: none !important;
   }
   }
.mw-body {
background: #FFFFFF!Important;
}

Revisión actual - 20:24 10 oct 2025

/* Los estilos CSS colocados aquí afectarán la impresión */
/* this stylesheet is used when generating a PDF with PrinceXML or any other tool that understands the CSS used. */
/* define a page */

 * {
  outline: 1px dashed rgba(0, 0, 0, 0.0);
}

  /* Página tamaño carta, márgenes 1cm por lado */
  @page {
   size: 8.5in 11in;  
  margin: 1cm 1cm 1cm 1cm;  /* top, right, bottom, left */
  }

  /* Primera página (portada): sin márgenes ni numeración */
  /*@page :first {
  margin: 0;
 
}*/

/*body > *:first-child {
  page-break-before: right;
  
}*/
  /* Página izquierda */
/*  @page:left {
    @bottom-left {
      content: counter(page);
      font-size: 9pt;
      margin: 10pt 0 25pt 0;
      border-top: 0.25pt solid #666;
    }
    @bottom-right {
      content: 'Boletín de Publicaciones Científicas del Personal Académico del CIESAS';
      font-size: 9pt;
      color: #333;
      margin: 10pt 0 25pt 0;
      border-top: 0.25pt solid #666;
    }
  }*/

  /* Página derecha */
/*  @page:right {
    @bottom-left {
      content: 'Boletín de Publicaciones Científicas del Personal Académico del CIESAS';
      font-size: 9pt;
      color: #333;
      margin: 10pt 0 25pt 0;
      border-top: 0.25pt solid #666;
    }
    @bottom-right {
      content: counter(page);
      font-size: 9pt;
      margin: 10pt 0 25pt 0;
      border-top: 0.25pt solid #666;
    }
    @top-right {
      content: string(doctitle);
      font-size: 9pt;
      color: #333;
      margin: 10pt 0 10pt 0;
    }
  }*/

  /* Portada */
  div.frontcover {
  page: cover;
  text-align: center;
  display: block;
  padding-top: 5cm;
  }

  @page cover {
    margin: 0;
  }

  /* Cuerpo del documento */
  body {
    /*counter-reset: page;*/
    font-family: 'Lucida Sans Unicode', sans-serif;
    line-height: 1.5;
    font-size: 10.5pt;
    color: #000;
    background: #fff !important;
  }

h1 {
    text-align: center;
    font-size: 12pt;
  }

  h2, h3, h4, h5 {
    font-weight: bold;
    margin-top: 0;
  }
h3 {
  string-set: doctitle content();
  page-break-before: avoid !important;  /* Evita salto antes */
  page-break-inside: avoid !important;  /* Evita salto dentro */
  page-break-after: avoid !important;   /* Evita salto después */
  counter-reset: footnote;
  line-height: 1.3;
  font-size: 20pt;
  margin-top: 0;
}

h3.mw-headline:before {
  counter-increment: chapternum;
  content: counter(chapternum) " ";
  page-break-before: avoid !important;
  page-break-inside: avoid !important;
  page-break-after: avoid !important;
  margin-top: 0;
}

h3 {
  widows: 0;  /* mínimo 2 líneas al final de una página */
  orphans: 4; /* mínimo 2 líneas al inicio de una página */
}

h3 + .ficha {
  page-break-before: avoid; /* No separar antes del párrafo que sigue */
}


  /* Capítulos */
 /* h3 {
    string-set: doctitle content();
    page-break-after: auto;
    page-break-inside: auto;
    counter-reset: footnote;
    line-height: 1.3;
    font-size: 20pt;
  margin-top: 0;
  }

  h3.mw-headline:before {
    counter-increment: chapternum;
    content: counter(chapternum) " ";
    page-break-after: auto;
    page-break-inside: avoid;
  margin-top: 0;
  }

h3::before {
  content: "";
  display: block;
  height: Xpx;
}*/

.mw-page-title-main {
    font-size:16pt;
    text-aling:center;
    font-style:none;
    padding-top: 0;
    margin-top:0;
}

  /* Tablas */
  table {
    /*page-break-inside: avoid;*/
  }

  /* Imágenes */
  .img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
    page-break-before: auto;
    page-break-after: auto;
  }

  .img_portada img  {
       display: block !important;
       margin-right: .5cm!important;
       width: 17cm !important;
       page-break-inside: avoid;

  }

  .ficha img {
    width: 4cm !important;
    /*float: left;*/
    page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
  display:block;
margin:0 auto;
 max-width: 100%;  /* para que no sobresalga */
  height: auto;
  }

.ficha::after {
  content: "";
  display: table;
  clear: both;
}



  /* Caja de ficha técnica */
  .ficha {
    width: 95%;
    margin: 0 auto 16pt auto;
    padding: 10pt;
    overflow: visible;
    background: #33659d3d;
    border-radius: 15px;
    display: block;
    page-break-inside: avoid;
    break-inside: avoid;
    clear: both;
    /*display:none;*/
 /*outline: 2px dashed rgba(0, 0, 0, 0.3);*/
  page-break-before: auto;
  page-break-after: auto;
min-height:190px;
position: relative;
  }
.ficha p {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;

}

 p {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
  font-size:10.5pt;
}


  /* TOC - Tabla de contenidos */
  #toc {
    margin: 5cm;
  }

  ul.toc {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  ul.toc li {
    line-height: 2;
  }

  ul.toc li a {
    text-decoration: none;
  }

  .tocnumber {
    display: none;
  }

  .toclevel-1 {
    font-size: 18pt;
  }

  /* Agregar número de página a enlaces en TOC */
  ul.toc a::after {
    content: leader('.') target-counter(attr(href), page);
  }

  /* Estilo de enlaces */
  a {
    color: #000;
    text-decoration: none;
  }

  a[href]:after {
    /*content: " (" attr(href) ")";
    font-size: 10pt;*/
    display:none;
  }

  a.xref::after {
    content: ' (p. ' target-counter(attr(href url), page) ')';
  }

  /* Footnotes */
  .fn {
    float: footnote;
    counter-increment: footnote;
  }

  .fn::footnote-call {
    content: counter(footnote);
    font-size: 9pt;
    vertical-align: super;
  }

  .fn::footnote-marker {
    font-weight: bold;
  }

  /* Contenedor */
  #bodyContent,
  #mw-content-text,
  #content,
  .mw-body,
  .mw-parser-output,
  #pagina {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  page-break-inside: auto !important;
  break-inside: auto !important;
  page-break-before: auto;
  page-break-after: auto;
    display: block;
    overflow: visible;
    background: #fff !important;
    
  }

  /* Ocultar elementos no deseados del skin Minerva */
  .header,
  .minerva-header,
  .minerva-footer,
  .minerva-navigation,
  .mw-ui-icon,
  .toggle,
  .navbox,
  .catlinks,
  .printfooter,
  .mw-editsection,
  footer,
  #mw-footer,
  #mw-navigation,
  #mw-page-base,
  #mw-head,
  .vector-menu,
  .minerva-banner,
  .minerva-toggle,
  .minerva-user-menu,
  .minerva-page-actions,
  .header-container.header-chrome,
   div.mw-file-description,
  .suggestions {
    display: none !important;
  }

.mw-body {
background: #FFFFFF!Important;
}