Project

General

Profile

« Previous | Next » 

Revision 8192

Added an ID and div wrapper to the docs html for more precise CSS selectors in the metacatui ExternalView.

View differences:

docs/user/metacat/source/themes/metacatui/layout.html
170 170
{%- block extrahead %} {% endblock %}
171 171
  </head>
172 172
  <body>
173
  <div class="banner">
174
      <img class="logo" src="_static/metacat-logo-white.png" />
175
      <img class="logo-right" src="_static/nceas-logo-white.png" />
176
      <p class="title">Metacat: Metadata and Data Management Server</p>
177
  </div>
173
  <div id="metacatDocs">
174
	  <div class="banner">
175
	      <img class="logo" src="_static/metacat-logo-white.png" />
176
	      <img class="logo-right" src="_static/nceas-logo-white.png" />
177
	      <p class="title">Metacat: Metadata and Data Management Server</p>
178
	  </div>
179
			
180
	{%- block header %}{% endblock %}
178 181

  
179
{%- block header %}{% endblock %}
182
	{%- block relbar1 %}{{ relbar() }}{% endblock %}
180 183

  
181
{%- block relbar1 %}{{ relbar() }}{% endblock %}
182

  
183
{# Comment out the sidebar
184
  {%- block sidebar1 %} {# possible location for sidebar  {% endblock %}
185
#}
184
	{# Comment out the sidebar
185
  		{%- block sidebar1 %} {# possible location for sidebar  {% endblock %}
186
	#}
186 187
    <div class="document">
187
{%- block document %}
188
      <div class="documentwrapper">
189
      {%- if not embedded %}{% if not theme_nosidebar|tobool %}
190
        <div class="bodywrapper">
191
      {%- endif %}{% endif %}
192
          <div class="body">
193
            {% block body %} {% endblock %}
194
          </div>
195
      {%- if not embedded %}{% if not theme_nosidebar|tobool %}
196
        </div>
197
      {%- endif %}{% endif %}
198
      </div>
199
{%- endblock %}
188
	{%- block document %}
189
     	 <div class="documentwrapper">
190
	      	{%- if not embedded %}{% if not theme_nosidebar|tobool %}
191
	        <div class="bodywrapper">
192
	     	 {%- endif %}{% endif %}
193
	          <div class="body">
194
	            {% block body %} {% endblock %}
195
	          </div>
196
	      	{%- if not embedded %}{% if not theme_nosidebar|tobool %}
197
	        </div>
198
	      {%- endif %}{% endif %}
199
      	</div>
200
	{%- endblock %}
200 201

  
201
{# {%- block sidebar2 %}{{ sidebar() }}{% endblock %} #}
202
      <div class="clearer"></div>
203
    </div>
202
	{# {%- block sidebar2 %}{{ sidebar() }}{% endblock %} #}
203
	      <div class="clearer"></div>
204
	    </div>
204 205

  
205 206

  
206
{%- block footer %}
207
    <div class="footer">
208
    	<div class="footerNav">
209
			{{ relbar() }}
210
		</div>
211
    	<div class="small-print">
212
		    {%- if hasdoc('copyright') %}
213
		      {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
214
		    {%- else %}
215
		      {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
216
		    {%- endif %}
217
		    {%- if last_updated %}
218
		      {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
219
		    {%- endif %}
220
		    {%- if show_sphinx %}
221
		      {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
222
		    {%- endif %}
223
		</div>
224
    </div>
225
{%- endblock %}
207
	{%- block footer %}
208
	    <div class="footer">
209
	    	<div class="footerNav">
210
				{{ relbar() }}
211
			</div>
212
	    	<div class="small-print">
213
			    {%- if hasdoc('copyright') %}
214
			      {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
215
			    {%- else %}
216
			      {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
217
			    {%- endif %}
218
			    {%- if last_updated %}
219
			      {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
220
			    {%- endif %}
221
			    {%- if show_sphinx %}
222
			      {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
223
			    {%- endif %}
224
			</div>
225
	    </div>
226
	{%- endblock %}
227
	</div>
226 228
  </body>
227 229
</html>
docs/user/metacat/source/themes/metacatui/static/metacatui.css
44 44

  
45 45
/* RELATED/NAVIGATION CSS
46 46
---------------------------------------------------- */
47
body > .related{
47
#metacatDocs > .related{
48 48
	width: 100%;
49 49
	position: relative;
50 50
	top: -80px;

Also available in: Unified diff