mirror of https://github.com/fenix-soft/MY_MDR.git
250 lines
4.2 KiB
CSS
250 lines
4.2 KiB
CSS
/* minimal css for markdown*/
|
|
|
|
@namespace h "http://www.w3.org/1999/xhtml";
|
|
@page
|
|
{
|
|
|
|
}
|
|
body
|
|
{
|
|
font-family: serif; line-height: 1.5em;
|
|
|
|
margin-right: 2em;
|
|
margin-left: 2em;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
p
|
|
{
|
|
|
|
text-indent:0em;
|
|
text-align: justify;
|
|
font-size: 1.0em;
|
|
}
|
|
p+p
|
|
{
|
|
text-indent:0em;
|
|
text-align: justify;
|
|
font-size: 1.0em;
|
|
}
|
|
a
|
|
{
|
|
color:#blue;
|
|
text-decoration: underline
|
|
}
|
|
|
|
/* mouse over link */
|
|
a:hover {
|
|
color: red;
|
|
}
|
|
|
|
/* visited link */
|
|
a:visited {
|
|
color: green;
|
|
}
|
|
|
|
h1
|
|
{
|
|
margin-top:2em;
|
|
margin-bottom:2em;
|
|
page-break-after:avoid;
|
|
font-size: 1.6em;
|
|
text-align: center;
|
|
text-indent:0em;
|
|
line-height: 1.2em;
|
|
}
|
|
h2
|
|
{
|
|
margin-top:1em;
|
|
margin-right:0em;
|
|
margin-bottom:2em;
|
|
margin-left:0em;
|
|
page-break-after:avoid;
|
|
font-size: 1.4em;
|
|
text-align: left;
|
|
text-indent:0em;
|
|
}
|
|
h3
|
|
{
|
|
margin-top:1em;
|
|
margin-bottom:2em;
|
|
line-height:normal;
|
|
page-break-after:avoid;
|
|
font-size: 1.30em;
|
|
text-align: center;
|
|
text-indent:0em;
|
|
}
|
|
h4
|
|
{
|
|
margin-top:2em;
|
|
margin-bottom:2em;
|
|
line-height:normal;
|
|
page-break-after:avoid;
|
|
font-size: .90em;
|
|
text-align: center;
|
|
text-indent:0em;
|
|
}
|
|
h5
|
|
{
|
|
margin-top:2em;
|
|
margin-bottom:2em;
|
|
line-height:normal;
|
|
page-break-after:avoid;
|
|
font-size: .90em;
|
|
text-align: center;
|
|
text-indent:0em;
|
|
}
|
|
h6
|
|
{
|
|
margin-top:2em;
|
|
margin-bottom:2em;
|
|
line-height:normal;
|
|
page-break-after:avoid;
|
|
font-size: .90em;
|
|
text-align: center;
|
|
text-indent:0em;
|
|
}
|
|
|
|
.footnotes
|
|
{
|
|
font-size: 1em;
|
|
margin-left:1em;
|
|
text-indent:-1.5em;
|
|
text-align: justify;
|
|
font-style: italic;
|
|
}
|
|
|
|
.footnoteRef
|
|
{
|
|
font-size: .90em;
|
|
margin-left:1em;
|
|
text-indent:-1.5em;
|
|
text-align: justify;
|
|
font-style: italic;
|
|
}
|
|
|
|
blockquote
|
|
{
|
|
margin-left:2em;
|
|
text-indent:-1em;
|
|
text-align: left;
|
|
font-style: italic;
|
|
border-left: 5px solid grey;
|
|
padding-left: 1.2rem;
|
|
}
|
|
.marginalia
|
|
{
|
|
margin-left:35%;
|
|
text-indent:0em;
|
|
text-align: justify;
|
|
}
|
|
.noindent
|
|
{
|
|
margin:0pt;
|
|
text-indent:0em;
|
|
text-align: justify;
|
|
font-size: 1.00em;
|
|
}
|
|
.illustration
|
|
{
|
|
margin:0pt;
|
|
margin-bottom:2em;
|
|
text-indent:0em;
|
|
text-align: center;
|
|
font-size: .80em;
|
|
font-style:oblique;
|
|
}
|
|
.left
|
|
{
|
|
text-align: left;
|
|
}
|
|
.center
|
|
{
|
|
text-align: center;
|
|
text-indent:0em;
|
|
}
|
|
.right
|
|
{
|
|
text-align: right;
|
|
}
|
|
.caption
|
|
{
|
|
margin-top:1em;
|
|
margin-right:0em;
|
|
margin-bottom:0.3em;
|
|
margin-left:0em;
|
|
page-break-after:avoid;
|
|
font-size: 1.00em;
|
|
text-align: center;
|
|
color:#000000;
|
|
}
|
|
.floatleft
|
|
{
|
|
float:left;
|
|
margin: 0.5em;
|
|
padding: 2px;
|
|
}
|
|
.floatright
|
|
{
|
|
float:right;
|
|
margin: 0.5em;
|
|
padding: 2px;
|
|
}
|
|
.bordertop
|
|
{
|
|
border-top: 0.75pt solid black
|
|
}
|
|
hr
|
|
{
|
|
width: 90%;
|
|
align: center;
|
|
}
|
|
|
|
img
|
|
{
|
|
/* ridimensionamento immagine automatico mobile*/
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
|
|
.italic
|
|
{
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
span.normal {font-style: normal;}
|
|
span.linethrough {text-decoration: line-through}
|
|
span.underline {text-decoration: underline}
|
|
span.fakesmallcaps {font-size: .75em}
|
|
|
|
/* codice */
|
|
|
|
/* code
|
|
{white-space: pre;} "Lo spazio vuoto viene mantenuto dal browser. Il testo andrà a capo solo sulle interruzioni di riga, il testo del codice stampato a schermo va a capo quando il codice dentro i tag va a capo . si usa come stile codice, senza (white-space: pre;) il codice viene stampato in una sola riga" */
|
|
code
|
|
{white-space: pre;}
|
|
|
|
|
|
|
|
pre {
|
|
/* distanza in px del riquadro code rispetto alla pagina */
|
|
margin: 5px;
|
|
/* distanza "padding" in px del testo rispetto al riquadro del codice */
|
|
padding:7px;
|
|
white-space:nowrap;
|
|
border:1px solid #c0baba;
|
|
/* Colore sfondo del riquadro codice grigio chiaro "#ede6e6", white se si vuole bianco */
|
|
background:#ede6e6;
|
|
border-radius:3px;
|
|
|
|
font-family:monospace;
|
|
font-size: .9em;
|
|
text-align: left;
|
|
line-height: 1.4em;
|
|
overflow: auto;
|
|
}
|
|
|