Constant tpnote_lib::config::TMPL_HTML_CSS_COMMON
source · pub const TMPL_HTML_CSS_COMMON: &str = r#"/* Tp-Note's CSS */
table, th, td { font-weight: normal; }
table.center {
margin-left: auto;
margin-right: auto;
background-color: #f3f2e4;
border:1px solid grey;
}
th, td {
padding: 3px;
padding-left:15px;
padding-right:15px;
}
th.key{ color:#444444; text-align:right; }
th.val{
color:#316128;
text-align:left;
font-family:sans-serif;
}
th.keygrey{ color:grey; text-align:right; }
th.valgrey{ color:grey; text-align:left; }
pre { white-space: pre-wrap; }
em { color: #523626; }
a { color: #316128; }
h1 { font-size: 150% }
h2 { font-size: 132% }
h3 { font-size: 115% }
h4, h5, h6 { font-size: 100% }
h1, h2, h3, h4, h5, h6 { color: #263292; font-family:sans-serif; }
"#;
Expand description
A constant holding common CSS code, used as embedded code in
the TMPL_HTML_EXPORTER
template and as referenced code in the
TMPL_HTML_VIEWER
template.