mirror of
https://github.com/godotengine/godot-contributing-docs.git
synced 2025-12-31 05:48:13 +03:00
Add corporate design.
This commit is contained in:
40
_templates/breadcrumbs.html
Normal file
40
_templates/breadcrumbs.html
Normal file
@@ -0,0 +1,40 @@
|
||||
{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<li>
|
||||
<div style="font-size: 105%;font-weight: 600;">
|
||||
Godot Engine Contributions Documentation
|
||||
</div>
|
||||
<ul class="wy-breadcrumbs">
|
||||
{{ super() }}
|
||||
</ul>
|
||||
</li>
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs_aside %}
|
||||
{% if not meta or meta.get('github_url') != 'hide' %}
|
||||
<li style="float: right; text-align: right;">
|
||||
<ul>
|
||||
{{ super() }}
|
||||
</ul>
|
||||
|
||||
<style>
|
||||
.godot-edit-guidelines {
|
||||
font-size: 14px;
|
||||
float: right;
|
||||
clear: both;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.godot-edit-guidelines {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<a class="godot-edit-guidelines" href="https://docs.godotengine.org/en/">
|
||||
Visit the engine documentation!
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user