A marXup language to generate html files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

230 lines
2.9 KiB

@font-face
{
font-family: Lato;
font-style: normal;
font-weight: normal;
src: url(../fonts/Lato.woff);
}
@font-face
{
font-family: Maths;
font-style: italic;
font-weight: normal;
src: url(../fonts/cmunti.otf);
}
@font-face
{
font-family: Maths;
font-style: normal;
font-weight: normal;
src: url(../fonts/cmunui.otf);
}
@font-face
{
font-family: latin-modern-maths;
font-style: normal;
font-weight: normal;
src: url(../fonts/latinmodern-math.otf);
}
/*-------------------------------------------------
Body and misc styles
--------------------------------------------------*/
body
{
display:block;
background-size: 1800px 1197px;
margin-left:20px;
font-family: Lato, Helvetica, sans-serif;
font-size : 18px;
}
a
{
font-weight: bold;
text-decoration: none;
color: #555555;
}
a:hover
{
font-weight : bold;
color: #AAAAAA;
}
a img
{
border: none;
}
img
{
-ms-interpolation-mode: bicubic;
}
/*-------------------------------------------------
Maths styles
--------------------------------------------------*/
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.4em;
}
.regular
{
font-style: normal;
}
.maths
{
font-family: Maths;
font-style: italic;
font-size: 18px;
}
.maths .sqrt-symbol
{
font-family: Maths;
font-style: normal;
font-size:1.37em;
}
.maths .sqrt-arg
{
margin-left:-0.1em;
border-top: 0.1em solid black;
}
.maths .fraction
{
display:inline-block;
vertical-align:-0.8em;
text-align: center;
}
.maths .fraction .numerator
{
display:block;
}
.maths .fraction .denominator
{
display:block;
border-top: 1px solid;
}
.maths .n-sum-product
{
display:inline-block;
vertical-align:-1.2em;
text-align: center;
}
.maths .range-min, .maths .range-max
{
display:block;
font-size:0.8em;
}
.maths .range-max
{
line-height: 0.7em;
}
.maths .n-op-symbol
{
font-family: latin-modern-maths;
font-size:1.8em;
font-style:normal;
display:block;
}
.maths .op, .maths .rel, .maths .symbol
{
font-family: latin-modern-maths;
font-style: normal;
}
.maths .vector
{
font-family: latin-modern-maths;
font-style: italic;
}
.maths .digit, .maths .delim
{
font-style: normal;
}
/*-------------------------------------------------
Code styles
--------------------------------------------------*/
.code
{
font-family: Courier;
white-space: pre;
}
div.code, p.code
{
background-color: #CCCCCC;
margin-top: 20px;
margin-bottom: 20px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
overflow: scroll;
line-height: 125%;
}
.code .keyword
{
color:#AA00AA;
font-weight: bold;
}
.code .type
{
color:#CC5500;
/* font-weight: bold;*/
}
.code .preproc
{
color:#0055AA;
font-weight: bold;
}
.code .function-name
{
color:#2222FF;
}
.code .comment, .code .comment .keyword, .code .comment .type, .comment .code .preproc
{
color:#007700;
font-weight: normal;
}
.code .string
{
color: #AA0000;
};
.code .syntax-error
{
color:#FF0000;
font-style:italic;
}