Indice:Toaldo - La meteorologia applicata all'agricoltura - 1786.pdf/styles.css

Da Wikisource.
/* Stili per i titoli */

.t1 {text-align:center; font-size:130%; letter-spacing:.5em; font-style: italic;}
.t2 {text-align:center; font-size:100%; font-variant: small-caps; padding:1em 0;}
.t3 {text-align:center; font-size:100%; font-style: italic; line-height: 1.5;}
.t4 {text-align:center; font-size:100%; padding:1em 0;}

/*come t2, ma con indent inverso */
.t5 p {font-size:100%; font-variant: small-caps; padding:1em 0; text-indent:-2em; margin-left:2em}

.t6 {text-align:center; font-size:130%; letter-spacing:.5em; white-space:nowrap;}

/* Rientro per note su più pagine */
.indent2 {text-indent: 0; padding-left:2em;}

/* Usato per mantenere costante il numero di celle in righe e colonne con colspan e rowspan */
.nascosto {display: none;}

/* Usato per ruotare il testo all'interno delle tabelle. Il testo da ruotare va inserito in un div usando ad esempio il template Ct per compatibilità con Safari */
.rot {writing-mode:vertical-lr;}

/* stile tabella pagina 67 */
.tab1 {margin-left:auto; margin-right:auto; border-collapse:collapse; border: 1px solid black;}
.tab1 td {text-align: center; border: 1px solid black;}
.tab1 tr:first-of-type td {border-right: 0px none black; border-left: 0px none black;}

/* stile tabella pagina 76 */
.tab2 {width: 100%; border-collapse:collapse;}
.tab2 th {font-size:80%; font-weight:normal; white-space:nowrap; font-style:italic;}
.tab2 td {white-space:nowrap;}
.tab2 td:nth-of-type(2), .tab2 td:nth-of-type(7) {text-align:right}
.tab2 td:nth-of-type(4) {text-align:center}

/* stile tabella inizio pagina 81 */
.tab3 {border-collapse: collapse; width: 100%;}
.tab3 td {text-align:left; vertical-align: bottom; padding: 0;}
.tab3 .linea {border-bottom: 1px solid black;}
.tab3 td > div {width:100%; position:relative; bottom:-0.8em; border-top:1px solid black;}

/* stile tabella fine pagina 81 */
.tab4 {margin-left:auto; margin-right:auto; border-collapse:collapse;}
.tab4 td:nth-of-type(1), .tab4 td:nth-of-type(2) {text-align:right;}
.tab4 .bordo td:nth-of-type(1),
.tab4 .bordo td:nth-of-type(2) {border-bottom:1px solid black;}

/* stile tabella pagina pagina 94 */
.tab4 {border-collapse:collapse; width:100%;}
.tab4 td {text-align:right; border: 1px solid black;}
.tab4 tr:nth-of-type(1) td:nth-of-type(1) {text-align:center;}
.tab4 td:nth-of-type(1) {text-align:left; white-space:nowrap;}

/* stile per le tabelle del calendario perpetuo da pag 115 */
.tab5 {border-collapse:collapse; width:100%; border-top: 1px solid black;}
.tab5 th {font-weight:normal; vertical-align:top; text-align:center; border-right: 1px solid black; white-space:nowrap;}
.tab5 th:last-of-type {vertical-align:bottom; font-style: italic; border-right:0;}
.tab5 td {border-right: 1px solid black; text-align:right;}
.tab5 td:last-of-type {text-align:left; border-right:0; padding-left:1em;}
.tab5 .bt {border-top: 1px solid black;}

/* stile per le tabelle del calendario termometrico da pag 127 */
.tab6 {border-collapse:collapse; width:100%;}
.tab6 th {font-weight:normal; vertical-align:top; text-align:center; border-right: 1px solid black; border-bottom:1px solid black;}
.tab6 td {text-align:right; padding-right:2em; border-right: 1px solid black;}
.tab6 th:last-of-type, .tab6 td:last-of-type {border-right:0;}
.tab6 .top td {border-right:0; border-top:1px solid black; height:1em;}
.tab6 .medi td {border-right:0; border-top:1px solid black;}
.tab6 .medi td:first-of-type {padding-right:0; text-align:center}

/* stile per le tabelle da pag 139 */
.tab7 {border-collapse:collapse; width:100%; border-top:1px solid black;}
.tab7 th {font-weight:normal; vertical-align:middle; text-align:center; padding-bottom:1em; border-right:1px solid black; border-bottom:1px solid black;}
.tab7 td {text-align:right; border-right: 1px solid black;}
.tab7 th:last-of-type, .tab7 td:last-of-type {border-right:0;}
.tab7 td:nth-of-type(5n+4) {text-align:center;}
.tab7 td:nth-of-type(5) {width:.5em;padding:0; margin:0;}
.tab7 .bottom td {border-right:0; border-bottom:1px solid black; height:1em;}
.tab7 .top td {border-right:0; border-top:1px solid black;}