Indice:Delle strade ferrate italiane e del miglior ordinamento di esse.djvu/styles.css

Da Wikisource.
/* stili tabelle pag 528 e 529*/

.tab528, .tab529 {
    width:100%;
    border-collapse: collapse;
}

.tab528 th, .tab529 th {
    font-weight: normal;
    text-align: center;
    font-style: italic;
    white-space: nowrap;
}

.header1 th:first-of-type,
.header2 th:first-of-type {
    transform: rotate(-90deg);
    font-style: normal;
    vertical-align: middle;
}

.header1 th:last-of-type {
    border-top: 3px solid black;
    border-left: 3px solid black;
    border-bottom: 1px solid black;
}
.tab528 .header1 th:nth-last-of-type(2) {
    border-bottom: 3px solid black;
}

.tab528 td {
    vertical-align: bottom;
    text-align:right;
}

.tab528 td:last-of-type {
    vertical-align:middle;
}
.tab528 td:nth-last-of-type(2) {
    border-left: 3px solid black;
    border-right: 3px solid black;
    text-align:right;
}
.tab528 td:nth-last-of-type(4) {
    text-indent:-1em;
}

.tab528 .totale {
    text-align:right;
}

.tab528 .totale td:last-of-type,
.tab528 .totale td:nth-last-of-type(2) {
    border-top: 1px solid black;
}

.tab529 td:last-of-type,
.tab529 td:nth-last-of-type(2) {
    text-align: right;
}
.tab529 td:last-of-type {
    border-left: 3px solid black;
}

.tab529 .riporto td:nth-last-of-type(2) {
    white-space: nowrap;
    border-right: 3px solid black;
}

.tab529 .dati1 td, .tab529 .dati2 td {
    vertical-align:bottom;
}
.tab529 .dati1 td:nth-last-of-type(2) {
    border-top: 3px solid black;
    border-left: 3px solid black;
    border-bottom: 3px solid black;
}
.tab529 .dati2 td:nth-last-of-type(2) {
    border-top: 3px solid black;
    border-left: 3px solid black;
}

.tab529 .totale1 td {
    text-align: right;
}
.tab529 .totale1 td:last-of-type {
    border-top: 1px solid black;
}