rst.css
changeset 339 4d8d46bbe30d
parent 338 61a9d2de0e3e
child 340 d57bcb08e80c
equal deleted inserted replaced
338:61a9d2de0e3e 339:4d8d46bbe30d
     1 body, frameset { background-color: ivory; }
       
     2 body {
       
     3     padding: 0 10px 0 10px;
       
     4     max-width: 800px;
       
     5     margin: 0 auto;
       
     6 }
       
     7 
       
     8 a { text-decoration:none; }
       
     9 a:link { color: brown; }
       
    10 a:visited { color: IndianRed; }
       
    11 a:hover { background: bisque; border-radius: 10px; padding: 1px; }
       
    12 p { text-indent: 2em; }
       
    13 
       
    14 #contents {
       
    15     max-width: 500px;
       
    16     margin: 0 auto;
       
    17     padding: 5px 0;
       
    18     background: cornsilk;
       
    19     border: 1px solid red;
       
    20     border-radius: 10px;
       
    21 }
       
    22 
       
    23 .formula, .literal-block {
       
    24     display: inline-block;
       
    25     overflow: auto;
       
    26     box-sizing: border-box;
       
    27     max-width: calc(100% - 4em);
       
    28     margin: 0 0 0 4em;
       
    29     padding: 5px;
       
    30     border: 1px solid brown;
       
    31     background: LightYellow;
       
    32 }
       
    33 table {
       
    34     border-collapse:collapse;
       
    35     margin-left:auto;
       
    36     margin-right:auto;
       
    37 }
       
    38 table, tr, td {
       
    39     border: 1px dotted maroon;
       
    40     background-color: cornsilk;
       
    41 }
       
    42 table tr td {
       
    43     margin: 3px;
       
    44     padding: 3px;
       
    45 }
       
    46 
       
    47 .cr { color: red; }
       
    48 .cg { color: green; }
       
    49 
       
    50 colgroup { display: none; }
       
    51 
       
    52 pre span.keyword {
       
    53     color: blue;
       
    54 }
       
    55 pre span.function {
       
    56     color: brown;
       
    57 }
       
    58 pre span.literal {
       
    59     color: green;
       
    60 }
       
    61 
       
    62