site_style

NAML documentation   Watch a video
   Usages of this macro
... in configuration.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
34
<override_macro name="site_style" unindent="true">
    <n.overridden/>
body, .nabble, .nabble .no-bg-color {
    background-color: #fafafa;
}
 
body {
padding:0;
margin:0;
}
 
.nabble a:link,
.nabble a.not-visited-link {
    color: #4f6e00;
}
 
.nabble h1,
.nabble .light-black {
    color: color: #4f6e00;
}
.nabble h2 {
    color: #4f6e00;
}
 
.nabble .shaded-bg-color {
    background-color: rgba(79,110,0,0.1);
}
 
.nabble a:visited,
.nabble a.visited-link {
    color: #4f6e00;
}
 
</override_macro>
Overrides default macro
... in utilities.naml
72
73
74
75
76
<macro name="site_style" unindent="true">
    <n.uncache_for
Binary
Namespace: ServletNamespace
Parameters: do
/>
    <n.set_response_header
Binary
Namespace: ServletNamespace
Parameters: name, value
 name="Content-Type" value="text/css"/>
    <n.comment
Macro
Parameters: text
.>To be overridden</n.comment.>
</macro>