macro_viewer_stylesheet

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer_stylesheet.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<override_macro name="macro_viewer_stylesheet">
    <style type="text/css">
        table.code {
            width: 100%;
            font-family: verdana, arial, sans-serif;
            font-size: 11pt;
            border-collapse:collapse;
            margin:.40em 0;
        }
        table.code tr {
            vertical-align:top;
        }
        table.code td {
            padding: 0;
        }
        table.code td.line-number {
            width: 2em;
            text-align:right;
            padding-right:.3em;
            border-right-width:2px;
            border-right-style:solid;
        }
        table.code td.line-contents {
            padding-left: .5em;
        }
        table.code a {
            text-decoration:none;
        }
        table.code a:hover {
            text-decoration:underline;
        }
    </style>
</override_macro>
Overrides default macro
... in macro_viewer.naml
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
<macro name="macro_viewer_stylesheet">
    <style type="text/css">
        table.code {
            width: 100%;
            font-family: verdana, arial, sans-serif;
            font-size: 11pt;
            border-collapse:collapse;
            margin:.35em 0;
        }
        table.code tr {
            vertical-align:top;
        }
        table.code td {
            padding: 0;
        }
        table.code td.line-number {
            width: 2em;
            text-align:right;
            padding-right:.3em;
            border-right-width:2px;
            border-right-style:solid;
        }
        table.code td.line-contents {
            padding-left: .5em;
        }
        table.code a {
            text-decoration:none;
        }
        table.code a:hover {
            text-decoration:underline;
        }
    </style>
</macro>