site_style

NAML documentation   Watch a video
   Usages of this macro
... in configuration.naml
23
24
25
26
27
28
<override_macro name="site_style">
        <n.overridden/>
        
            #forum-title { display: none; }
        
    </override_macro>
Overrides configuration
... in configuration.naml
16
17
18
19
20
21
<override_macro name="site_style">
        <n.overridden/>
        
            div.root-text h5, div.message-text h5 { margin: 0 0 0 5em; /*Sets left margin*/ padding: 0; /*Sets line spacing*/ font-size: 1em; font-weight: 400; } div.root-text h6:before, div.message-text h6:before { content: "\2022\00A0\00A0" ; margin: 0 0 0 -1em; /*Sets Bullet outdent*/ padding-right: 0em; /*Sets space after bullet*/ } div.root-text h6, div.message-text h6 { margin: 0 0 0 5em; /*Sets left margin*/ padding: 0; /*Sets line spacing*/ font-size: 1em; font-weight: 400; } div.root-text img, div.message-text img { display: block; margin-right: auto; margin-left: auto; max-width: 95%; } div.root-text img.smiley, div.message-text img.smiley { display:inline; } div.root-text img.left, div.message-text img.left { clear: left; width: 48%; margin: 0 10px 1em 5px; } div.root-text img.right, div.message-text img.right { clear: right; width: 48%; margin: 0 5px 1em 10px; } @media only screen and (max-width:700px) { div.root-text img.left, div.root-text img.right, div.message-text img.left, div.message-text img.right { display:block; float: none; width: 100%; margin: 0 auto 1em; } } div.signature img { display: none; }
        
    </override_macro>
Overrides configuration
... in configuration.naml
9
10
11
12
13
14
<override_macro name="site_style">
        <n.overridden/>
        
            body, input, button, textarea, select { font-size: 100%; }
        
    </override_macro>
Overrides default macro
... in utilities.naml
70
71
72
73
74
<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>