aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/themes
diff options
context:
space:
mode:
authorAditi <aditi.iitr@gmail.com>2013-06-21 23:09:22 +0530
committerAditi <aditi.iitr@gmail.com>2013-06-21 23:09:22 +0530
commit2719d546a57c2332e36cc056ac80ec5d79672c1a (patch)
tree1f62ab8f761026d4faa5442032df133fc90d47f2 /docs/source/themes
parent1a6f065419290b3f4234ce4a89bb2c46b13e8a12 (diff)
parent92b22e7deac547835f69168f97012b52e87b6de4 (diff)
downloadmediagoblin-2719d546a57c2332e36cc056ac80ec5d79672c1a.tar.lz
mediagoblin-2719d546a57c2332e36cc056ac80ec5d79672c1a.tar.xz
mediagoblin-2719d546a57c2332e36cc056ac80ec5d79672c1a.zip
Merge remote-tracking branch 'cweb/master'
Diffstat (limited to 'docs/source/themes')
-rw-r--r--docs/source/themes/mg/layout.html29
l---------docs/source/themes/mg/static/fonts/Lato-Bold.ttf1
l---------docs/source/themes/mg/static/fonts/Lato-BoldItalic.ttf1
l---------docs/source/themes/mg/static/fonts/Lato-Italic.ttf1
l---------docs/source/themes/mg/static/fonts/Lato-Regular.ttf1
l---------docs/source/themes/mg/static/fonts/OFL_1.1.txt1
-rw-r--r--docs/source/themes/mg/static/logo_docs.pngbin0 -> 6626 bytes
-rw-r--r--docs/source/themes/mg/static/mg.css161
-rw-r--r--docs/source/themes/mg/theme.conf5
9 files changed, 200 insertions, 0 deletions
diff --git a/docs/source/themes/mg/layout.html b/docs/source/themes/mg/layout.html
new file mode 100644
index 00000000..891ed64c
--- /dev/null
+++ b/docs/source/themes/mg/layout.html
@@ -0,0 +1,29 @@
+{#
+ default/layout.html
+ ~~~~~~~~~~~~~~~~~~~
+
+ Sphinx layout template for the default theme.
+
+ :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+{% extends "basic/layout.html" %}
+
+{% if theme_collapsiblesidebar|tobool %}
+{% set script_files = script_files + ['_static/sidebar.js'] %}
+{% endif %}
+
+{%- block footer %}
+ <div class="footer">
+ <div>
+
+MediaGoblin documentation released into the public domain via <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0</a>.
+
+ {%- if last_updated %}
+ {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
+ {%- endif %}
+
+ {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
+ </div>
+ </div>
+{%- endblock %}
diff --git a/docs/source/themes/mg/static/fonts/Lato-Bold.ttf b/docs/source/themes/mg/static/fonts/Lato-Bold.ttf
new file mode 120000
index 00000000..4e08d84d
--- /dev/null
+++ b/docs/source/themes/mg/static/fonts/Lato-Bold.ttf
@@ -0,0 +1 @@
+../../../../../../extlib/lato/Lato-Bold.ttf \ No newline at end of file
diff --git a/docs/source/themes/mg/static/fonts/Lato-BoldItalic.ttf b/docs/source/themes/mg/static/fonts/Lato-BoldItalic.ttf
new file mode 120000
index 00000000..0b99eef8
--- /dev/null
+++ b/docs/source/themes/mg/static/fonts/Lato-BoldItalic.ttf
@@ -0,0 +1 @@
+../../../../../../extlib/lato/Lato-BoldItalic.ttf \ No newline at end of file
diff --git a/docs/source/themes/mg/static/fonts/Lato-Italic.ttf b/docs/source/themes/mg/static/fonts/Lato-Italic.ttf
new file mode 120000
index 00000000..2dccfc82
--- /dev/null
+++ b/docs/source/themes/mg/static/fonts/Lato-Italic.ttf
@@ -0,0 +1 @@
+../../../../../../extlib/lato/Lato-Italic.ttf \ No newline at end of file
diff --git a/docs/source/themes/mg/static/fonts/Lato-Regular.ttf b/docs/source/themes/mg/static/fonts/Lato-Regular.ttf
new file mode 120000
index 00000000..7b1bb468
--- /dev/null
+++ b/docs/source/themes/mg/static/fonts/Lato-Regular.ttf
@@ -0,0 +1 @@
+../../../../../../extlib/lato/Lato-Regular.ttf \ No newline at end of file
diff --git a/docs/source/themes/mg/static/fonts/OFL_1.1.txt b/docs/source/themes/mg/static/fonts/OFL_1.1.txt
new file mode 120000
index 00000000..e71d0721
--- /dev/null
+++ b/docs/source/themes/mg/static/fonts/OFL_1.1.txt
@@ -0,0 +1 @@
+../../../../../../extlib/lato/OFL_1.1.txt \ No newline at end of file
diff --git a/docs/source/themes/mg/static/logo_docs.png b/docs/source/themes/mg/static/logo_docs.png
new file mode 100644
index 00000000..99f04cc7
--- /dev/null
+++ b/docs/source/themes/mg/static/logo_docs.png
Binary files differ
diff --git a/docs/source/themes/mg/static/mg.css b/docs/source/themes/mg/static/mg.css
new file mode 100644
index 00000000..96344df4
--- /dev/null
+++ b/docs/source/themes/mg/static/mg.css
@@ -0,0 +1,161 @@
+/*
+
+MediaGoblin theme - MediaGoblin-style Sphinx documentation theme
+
+Written in 2012 by Jef van Schendel <mail@jefvanschendel.nl>
+
+To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
+
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+*/
+
+@import url("basic.css");
+
+/* text fonts and styles */
+
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Lato Bold'), local('Lato-Bold'), url('fonts/Lato-Bold.ttf') format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: local('Lato Italic'), local('Lato-Italic'), url('fonts/Lato-Italic.ttf') format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('fonts/Lato-BoldItalic.ttf') format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Lato Regular'), local('Lato-Regular'), url('fonts/Lato-Regular.ttf') format('truetype');
+}
+
+body {
+ font: 16px 'Lato',Helvetica,Arial,sans-serif;
+ background-color: #FCFCFC;
+ color: #3C3C3C;
+ margin: 0;
+ padding: 0;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ border-bottom: 1px solid #CCCCCC;
+ background: none;
+ color: black;
+ font-weight: bold;
+ padding-bottom: 0.17em;
+ padding-top: 0.5em;
+}
+
+h1 {
+ font-size: 1.875em;
+}
+
+h2 {
+ font-size: 1.375em;
+}
+
+h3, h4, h5, h6 {
+ font-size: 1.125em;
+}
+
+p {
+ font-weight: normal;
+ margin: 0.4em 0 0.5em;
+}
+
+a {
+ color: #499776;
+}
+
+a:visited {
+ color: #2A5744;
+}
+
+a:active {
+ color: #65D1A3;
+}
+
+h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+ text-decoration: none;
+}
+
+div.topic, pre {
+ background-color: #F1F1F1;
+ border: 1px dashed #ccc;
+ color: black;
+ line-height: 1.1em;
+ padding: 1em;
+}
+
+code, tt {
+ font: 14px monospace,"Courier New";
+ background-color: #FFFFDD;
+ border: thin solid #bbb;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+pre {
+ font: 14px monospace,"Courier New";
+}
+
+div.related a, div.related a:visited, div.related a:active {
+ color: #86D4B1;
+}
+
+/* layout */
+
+div.documentwrapper {
+ float: left;
+ width: 100%;
+}
+
+div.bodywrapper {
+ margin: 0 0 0 270px;
+}
+
+div.body {
+ padding: 0 20px 30px 20px;
+}
+
+div.footer {
+ width: 100%;
+ padding: 9px 0 9px 0;
+ text-align: center;
+ font-size: 75%;
+}
+
+div.sphinxsidebar {
+ width: 240px;
+}
+
+div.sphinxsidebarwrapper {
+ padding: 10px 5px 0 30px;
+}
+
+div.sphinxsidebar ul {
+ margin: 10px 10px 10px 0;
+ padding: 0;
+}
+
+div.related {
+ line-height: 30px;
+ font-size: 90%;
+ width: 100%;
+ background-color: #161616;
+ color: #C3C3C3;
+}
+
+p.logo {
+ margin-top: 30px;
+}
diff --git a/docs/source/themes/mg/theme.conf b/docs/source/themes/mg/theme.conf
new file mode 100644
index 00000000..dd58038a
--- /dev/null
+++ b/docs/source/themes/mg/theme.conf
@@ -0,0 +1,5 @@
+[theme]
+inherit = basic
+stylesheet = mg.css
+pygments_style = sphinx
+