category_table_stylesheet

NAML documentation   Watch a video
   Usages of this macro
... in category_table_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
<override_macro name="category_table_stylesheet">
    <style type="text/css">
        table.main {
            margin-top:.2em;
            border-collapse:collapse;
            width:100%;
            border-width:1px;
            border-style:solid;
        }
        table.main tr.header-row td {
            padding: .3em .4em;
            font-weight: bold;
            border-bottom-width: 1px;
            border-bottom-style: solid;
        }
        table.main tr.main-row td {
            padding:.6em .5em;
            border-bottom-width: 1px;
            border-bottom-style: dotted;
        }
        table.main tr.main-row,
        table.avatar-table tr {
            vertical-align:top;
        }
        div.sub-forums {
            margin-top:.8em;
            font-size:90%;
            clear:both;
        }
    </style>
</override_macro>
Overrides default macro
... in view_category.naml
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<macro name="category_table_stylesheet">
    <style type="text/css">
        table.main {
            margin-top:.2em;
            border-collapse:collapse;
            width:100%;
            border-width:1px;
            border-style:solid;
        }
        table.main tr.header-row td {
            padding: .3em .4em;
            font-weight: bold;
            border-bottom-width: 1px;
            border-bottom-style: solid;
        }
        table.main tr.main-row td {
            padding:.3em .5em;
            border-bottom-width: 1px;
            border-bottom-style: dotted;
        }
        table.main tr.main-row,
        table.avatar-table tr {
            vertical-align:top;
        }
        div.sub-forums {
            margin-top:.8em;
            font-size:90%;
            clear:both;
        }
    </style>
</macro>