Indice:Pancaldi - Idea di progetto di una supposta strada ferrata nella provincia di Bologna, 1842.djvu/styles.css

Da Wikisource.
/* Tabella pag 228 */
.tab228 {
    width:100%;
    border-collapse:collapse;
    border-left:3px solid black;
    border-top:3px solid black;
    border-bottom:3px solid black;
}

.tab228 td {
    vertical-align:middle
}

.tab228 td:nth-of-type(even) {
    border-left:1px solid black;
}

/* Intestazione - riga 1 */
.tab228 .header1 td {
    text-align: right;
    font-weight: bold;
    font-size: 150%;
    padding:1em 0;
    border-bottom:3px solid black;
    border-left:0px;
}

/* Intestazione - riga 2 */
.tab228 .header2 td {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid black;
}

/* Intestazione - riga 3 */
.tab228 .header3 td {
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}
.tab228 .header3 td:nth-of-type(odd) {
    border-left: 1px solid black;
}

/* Ultima colonna intestazione, tagliata dalla pagina */
.tab228 .header2 td:nth-last-of-type(1) {
    border-left:3px solid black;
    border-right:0;
}

/* colonna 1 */
.tab228 th {
    vertical-align:middle;
    text-align:center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    border-right: 1px solid black;
    border-top: 1px solid black;
}

/* prima riga dati */
.tab228 .dati1 td, .tab228 .dati1 th {
    border-top:3px double black;
    padding-top: 1em;
}

/* sezione dati */
.tab228 .sezione td:nth-of-type(1) {
    border-top:1px solid black;
    padding-top: 1em;
}

/* sezione totale */
.tab228 .totale td {
    padding-bottom:2em;
    padding-top:1em;
}
.tab228 .totale td:nth-of-type(n+2) {
    border-top:1px solid black;
}
.tab228 .totale td:nth-of-type(1) {
    padding-left:4em;
}

/* Tabella pag 229 */
.tab229 {
    width:100%;
    border-collapse:collapse;
    border-right:3px solid black;
    border-top:3px solid black;
    border-bottom:3px solid black;
}

.tab229 td {
    vertical-align:middle
}

.tab229 td:nth-of-type(even) {
    border-left:1px solid black;
}

/* Intestazione - riga 1 */
.tab229 .header1 td {
    text-align: left;
    font-weight: bold;
    font-size: 150%;
    padding:1em 0;
    border-bottom:3px solid black;
    border-left:0px;
}

/* Intestazione - riga 2 */
.tab229 .header2 td {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid black;
}

/* Intestazione - riga 3 */
.tab229 .header3 td {
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border-left:1px solid black;
    border-bottom: 1px solid black;
}

/* Intestazione - riga 4 */
.tab229 .header4 td {
    text-align: center;
    font-weight: bold;
    font-size: 120%;
    padding:1em 0;
    border-bottom:3px solid black;
    border-top:3px solid black;
}

/* colonna 1 */
.tab229 th {
    vertical-align:middle;
    text-align:center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}
.tab229 .header2 th:nth-of-type(1) {
    border-right: 3px solid black;
    padding-left:1em;
}

/* prima riga dati */
.tab229 .dati1 td, .tab229 .dati1 th {
    border-top:3px double black;
    padding-top: 1em;
}

/* sezione totale */
.tab229 .totale td {
    padding: 1em 0;
    border-left:0;
}
.tab229 .totale td:nth-last-of-type(1) {
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 3px double black;
}
.tab229 .totale td:nth-of-type(1) {
    padding-left: 4em;
}

.tab229 .altro td {
    text-align:center;
    padding: 1em 0;
    border-bottom: 0;
}

.tab229 .rigavuota td {
    padding: .5em 0;
    border-top: 0;
}

/* Tabella pag 230 */
.t230 {
    width:100%;
    border-collapse:collapse;
}

/* Prima colonna */
.t230 td:nth-of-type(1) {
    text-align:left;
    text-indent: 2em;
}
/* Seconda colonna */
.t230 td:nth-of-type(2) {
    text-align:center;
    vertical-align:bottom;
}
/* Terza colonna */
.t230 td:nth-of-type(3) {
    text-align:right;
    border-left: 3px double black;
    vertical-align:bottom;
    white-space: nowrap;
}

/* Riga segue */
.t230 .segue td:nth-of-type(1) {
   padding-left:6em;
   text-indent: 0;
}
.t230 .segue td:nth-of-type(3) {
    border-top: 1px solid black;
}

/* Riga riporto */
.t230 .riporto td:nth-of-type(1) {
   padding-left:6em;
   text-indent: 0;
}
/* Riga titolo */
.t230 .titolo td:nth-of-type(1) {
   font-size: 120%;
   font-weight: bold;
   text-align:center;
}

.t231 td:nth-of-type(1) {
    text-indent: 0;
}
.t231 td:nth-of-type(3) {
    border-left: 0;
    white-space: nowrap;
}