File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -107,3 +107,9 @@ table
107107 border-spacing : 1px ;
108108 background-color : # fafafa ;
109109}
110+
111+ a .headerlink {
112+ font-size : 0.8em ;
113+ margin-left : 0.3em ;
114+ color : # c99 ;
115+ }
Original file line number Diff line number Diff line change 1+ {#
2+ _templates/layout.html
3+ ~~~~~~~~~~~~~~~~~~~~~~
4+
5+ Custom layout template for Roundup.
6+
7+ #}
8+ {%- block doctype -%}
19<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
210 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
11+ {%- endblock %}
412{%- macro relbar(class) %}
513 < div class ="related {{ class }} ">
614 < ul >
@@ -65,6 +73,15 @@ <h3>{{ _('Quick search') }}</h3>
6573 {%- endblock %}
6674{%- endmacro %}
6775
76+ {%- macro css() %}
77+ < link rel ="stylesheet " href ="{{ pathto('_static/basic.css', 1) }} " type ="text/css " />
78+ < link rel ="stylesheet " href ="{{ pathto('_static/' + style, 1) }} " type ="text/css " />
79+ < link rel ="stylesheet " href ="{{ pathto('_static/pygments.css', 1) }} " type ="text/css " />
80+ {%- for cssfile in css_files %}
81+ < link rel ="stylesheet " href ="{{ pathto(cssfile, 1) }} " type ="text/css " />
82+ {%- endfor %}
83+ {%- endmacro %}
84+
6885< html xmlns ="http://www.w3.org/1999/xhtml ">
6986 < head >
7087 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
@@ -80,8 +97,7 @@ <h3>{{ _('Quick search') }}</h3>
8097 < link rel ="alternate " type ="{{ type|e(true) }} " title ="{{ title|e(true) }} " href ="{{ link|e(true) }} " />
8198 {%- endfor %}
8299 {%- else %}
83- < link rel ="stylesheet " href ="{{ pathto('_static/style.css', 1) }} " type ="text/css " />
84- < link rel ="stylesheet " href ="{{ pathto('_static/pygments.css', 1) }} " type ="text/css " />
100+ {{ css() }}
85101 {%- endif %}
86102 {%- if builder != 'htmlhelp' %}
87103 < script type ="text/javascript ">
Original file line number Diff line number Diff line change 126126# The style sheet to use for HTML and HTML Help pages. A file of that name
127127# must exist either in Sphinx' static/ path, or in one of the custom paths
128128# given in html_static_path.
129- html_style = 'default .css'
129+ html_style = 'style .css'
130130
131131#-- Sphinx 1.3
132132# The theme to use for HTML and HTML Help pages. See the documentation for
You can’t perform that action at this time.
0 commit comments