Sin resumen de edición |
Sin resumen de edición |
||
| (No se muestran 45 ediciones intermedias del mismo usuario) | |||
| Línea 3: | Línea 3: | ||
/* define a page */ | /* define a page */ | ||
* { | * { | ||
outline: 1px dashed rgba(0, 0, 0, 0. | outline: 1px dashed rgba(0, 0, 0, 0.0); | ||
} | } | ||
| Línea 10: | Línea 10: | ||
@page { | @page { | ||
size: 8.5in 11in; | size: 8.5in 11in; | ||
margin: 1cm 1cm 1cm 1cm; /* top, right, bottom, left */ | |||
} | } | ||
/* 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; | |||
} | }*/ | ||
/*body > *:first-child { | /*body > *:first-child { | ||
| Línea 28: | Línea 24: | ||
}*/ | }*/ | ||
/* Página izquierda */ | /* Página izquierda */ | ||
/* @page:left { | |||
@bottom-left { | @bottom-left { | ||
content: counter(page); | content: counter(page); | ||
| Línea 42: | Línea 38: | ||
border-top: 0.25pt solid #666; | border-top: 0.25pt solid #666; | ||
} | } | ||
} | }*/ | ||
/* Página derecha */ | /* Página derecha */ | ||
/* @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 63: | Línea 59: | ||
font-size: 9pt; | font-size: 9pt; | ||
color: #333; | color: #333; | ||
margin: | margin: 10pt 0 10pt 0; | ||
} | } | ||
} | }*/ | ||
/* Portada */ | /* Portada */ | ||
| Línea 84: | 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: | font-size: 10.5pt; | ||
color: #000; | color: #000; | ||
background: #fff !important; | background: #fff !important; | ||
| Línea 96: | Línea 92: | ||
h2, h3, h4, h5 { | h2, h3, h4, h5 { | ||
font-weight: bold; | 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 */ | /* Capítulos */ | ||
/* h3 { | |||
string-set: doctitle content(); | string-set: doctitle content(); | ||
page-break- | page-break-after: auto; | ||
page-break-inside: auto; | |||
counter-reset: footnote; | counter-reset: footnote; | ||
line-height: 1.3; | line-height: 1.3; | ||
font-size: | font-size: 20pt; | ||
margin-top: 0; | |||
} | } | ||
| Línea 116: | 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 132: | Línea 163: | ||
/* Imágenes */ | /* Imágenes */ | ||
img { | .img { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
| Línea 148: | Línea 179: | ||
} | } | ||
. | .ficha img { | ||
width: | 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: | width: 95%; | ||
margin: 0 auto | margin: 0 auto 16pt auto; | ||
padding: | padding: 10pt; | ||
overflow: visible; | overflow: visible; | ||
background: #33659d3d; | background: #33659d3d; | ||
| Línea 164: | Línea 209: | ||
display: block; | display: block; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid; | |||
clear: both; | clear: both; | ||
/*display:none;*/ | /*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 244: | Línea 307: | ||
margin: 0 auto !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; | display: block; | ||
overflow: visible; | overflow: visible; | ||
background: #fff !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;
}