Diferencia entre revisiones de «Plantilla:RevistasCAAD»

De WikiCAAD
Línea 3: Línea 3:
  * [[Template:Tool]], etc.
  * [[Template:Tool]], etc.
  */
  */
table.infobox {
.infobox {
box-sizing: border-box;
box-sizing: border-box;
border: 2px solid #a2a9b1;
border: 2px solid #a2a9b1;
Línea 9: Línea 9:
border-collapse: collapse;
border-collapse: collapse;
border-spacing: 0;
border-spacing: 0;
/* background-color: white; */
/* background-color: white;*/
clear: right; /* these are overriden by .infobox-rtl on the templates of interest */
/* these are overriden by .infobox-rtl on the templates of interest */
/* @noflip */
clear: right;
/* @noflip */
float: right;
float: right;
/* @noflip */
margin: 0 0 0.5em 0.5em;
margin: 0 0 0.5em 0.5em;
}
}


table.infobox-rtl {
.infobox-rtl {
/* @noflip */
clear: left;
clear: left;
/* @noflip */
float: left;
float: left;
/* @noflip */
margin: 0 0.5em 0.5em 0;
margin: 0 0.5em 0.5em 0;
}
}


table.infobox th {
.infobox th {
/* @noflip */
text-align: left;
text-align: left;
padding: 0.2em 0.5em;
padding: 0.2em 0.5em;
Línea 27: Línea 35:
}
}


table.infobox-rtl th {
.infobox-rtl th {
/* @noflip */
text-align: right;
text-align: right;
}
}


@media (max-width: 719px) {
@media (max-width: 719px) {
body.mediawiki table.infobox {
/* high specificity to ensure specific infoboxes won't override these
* properties with their own tstyles inadvertently */
body.mediawiki .infobox {
float: none;
float: none;
clear: both;
clear: both;
Línea 40: Línea 51:
}
}


table.infobox td {
.infobox td {
border: none;
border: none;
padding: 0.2em 0.5em;
padding: 0.2em 0.5em;
Línea 46: Línea 57:
}
}


table.infobox .infobox-header {
.infobox-header {
/* background-color: #a2a9b1;
/*background-color: #a2a9b1;
color: #FFF; */
color: #FFF;*/
text-align: left;
text-align: left;
}
}


table.infobox .infobox-header a {
.infobox-header a {
color: #FFF;
color: #FFF;
}
}


table.infobox .infobox-header td,
.infobox-header td,
table.infobox .infobox-header th {
.infobox-header th {
padding: 0.5em 0.5em;
padding: 0.5em 0.5em;
}
}


table.infobox .infobox-header img {
.infobox-header img {
padding: 0 0.2em 0 0.5em;
padding: 0 0.2em 0 0.5em;
}
}

Revisión del 19:34 8 jun 2024

/**

* Common TemplateStyles used by Template:Extension, Template:Skin,
* Template:Tool, etc.
*/

.infobox { box-sizing: border-box; border: 2px solid #a2a9b1; width: 15%; border-collapse: collapse; border-spacing: 0; /* background-color: white;*/ /* these are overriden by .infobox-rtl on the templates of interest */ /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 0 0 0.5em 0.5em; }

.infobox-rtl { /* @noflip */ clear: left; /* @noflip */ float: left; /* @noflip */ margin: 0 0.5em 0.5em 0; }

.infobox th { /* @noflip */ text-align: left; padding: 0.2em 0.5em; vertical-align: top; }

.infobox-rtl th { /* @noflip */ text-align: right; }

@media (max-width: 719px) { /* high specificity to ensure specific infoboxes won't override these * properties with their own tstyles inadvertently */ body.mediawiki .infobox { float: none; clear: both; width: 100%; margin: 0 0 .5em 0; } }

.infobox td { border: none; padding: 0.2em 0.5em; vertical-align: top; }

.infobox-header { /*background-color: #a2a9b1; color: #FFF;*/ text-align: left; }

.infobox-header a { color: #FFF; }

.infobox-header td, .infobox-header th { padding: 0.5em 0.5em; }

.infobox-header img { padding: 0 0.2em 0 0.5em; }