Sin resumen de edición |
Sin resumen de edición |
||
| (No se muestran 79 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); | |||
} | } | ||
@page | /* Página tamaño carta, márgenes 1cm por lado */ | ||
size: 8.5in 11in; | @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; | |||
@page: | |||
}*/ | |||
/* 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 { | |||
@page: | @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 { | |||
@page | |||
margin: 0; | margin: 0; | ||
} | } | ||
/* Cuerpo del documento */ | |||
body { | |||
margin: 0; | /*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 { | |||
h3 { | string-set: doctitle content(); | ||
page-break- | page-break-after: auto; | ||
page-break-inside: auto; | |||
counter-reset: footnote; | |||
line-height: 1.3; | line-height: 1.3; | ||
font-size: | 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; | |||
} | } | ||
ul.toc { | /* 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; | |||
} | } | ||
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;
}