nabble_stylesheets

NAML documentation   Watch a video
   Usages of this macro
... in nabble_stylesheets.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<override_macro name="nabble_stylesheets">
    <n.overridden />
    <style type="text/css">
        body { padding-left:40px !important; padding-right:40px !important; }
        a {text-decoration:none}
        table.main { border:none !important; margin-top:1em !important}
        table.main * {background:transparent !important}
        table.main tr {border-bottom: 1px solid #ccc}
        table.main tr:first-child {border-bottom: 2px solid #ccc}
        img[src$='icon_post_message.png'],
        img[src$='people_sm.png'],
        img[src$='thread_sm.png'],
        img[src$='gear.png'] { display: none; }
        table.main td { height:50px !important }     
        div.action-link { margin-right:2em !important }  
        td.replies-column { width:10em }
    </style>
</override_macro>
Overrides configuration
... in configuration.naml
13
14
15
16
17
18
19
20
21
22
23
<override_macro name="nabble_stylesheets" unindent="true">
        <n.overridden/>
        
        
        <style type="text/css">
            body, input, button, textarea, select {
                font-family: 'Verdana';
            }
        </style>
        
    </override_macro>
Overrides configuration
... in configuration.naml
1
2
3
4
5
6
7
8
9
10
11
<override_macro name="nabble_stylesheets" unindent="true">
        <n.overridden/>
        
        
        <style type="text/css">
            .second-font, h1, h2, h3, h4, h5, h6 {
                font-family: 'Verdana';
            }
        </style>
        
    </override_macro>
Overrides default macro
... in responsive.naml
196
197
198
199
200
201
202
203
204
<override_macro name="nabble_stylesheets" unindent="true">
    <n.overridden/>
    <style type="text/css">
        @media (max-width: 600px) {
            #search-box,#topic-search-box{margin:1em 0}
            td.pin-column img{display:none}
        }
    </style>
</override_macro>
Overrides default macro
... in utilities.naml
65
66
67
68
<macro name="nabble_stylesheets">
    <link rel="stylesheet" href="/nabble.css?v=[n.css_version
Binary
Namespace: NabbleNamespace
/]" type="text/css" />
    <link rel="stylesheet" href="/template/NamlServlet.jtp?macro=site_style" type="text/css" />
</macro>