davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=7e4116335ae8857ba557576ce1c225467e4e8dfc

commit 7e4116335ae8857ba557576ce1c225467e4e8dfc
Author: Dave Andreoli <[email protected]>
Date:   Mon Nov 29 04:55:20 2021 +0100

    Docs: updated sphinx base html theme
---
 doc/themes/efldoc/layout.html           | 10 ++--
 doc/themes/efldoc/static/efl.css        | 85 +++++++++++++++++++++++++--------
 doc/themes/sphinx13/layout.html         | 16 +++----
 doc/themes/sphinx13/static/sphinx13.css | 81 ++++++++++++++++++++++++-------
 4 files changed, 141 insertions(+), 51 deletions(-)

diff --git a/doc/themes/efldoc/layout.html b/doc/themes/efldoc/layout.html
index 3cb6243..50ac2df 100644
--- a/doc/themes/efldoc/layout.html
+++ b/doc/themes/efldoc/layout.html
@@ -4,7 +4,7 @@
 
     Sphinx layout template for the sphinxdoc theme.
 
-    :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
+    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 #}
 {%- extends "basic/layout.html" %}
@@ -12,7 +12,7 @@
 
 
 {% block extrahead %}
-    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
+    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
           rel='stylesheet' type='text/css'>
 {{ super() }}
 
@@ -24,7 +24,7 @@
       .related { display: none; }
       {% endif %}
     </style>
-    <script type="text/javascript">
+    <script>
       // intelligent scrolling of the sidebar content
       $(window).scroll(function() {
         var sb = $('.sphinxsidebarwrapper');
@@ -58,8 +58,8 @@
 
 
 {% block rootrellink %}
-        <li><a href="{{ pathto('index') }}">Home</a>&nbsp;|</li>
-       <!-- <li><a href="{{ pathto('contents') }}">Documentation</a> 
&raquo;</li>-->
+        <li><a href="{{ pathto('index') }}">Home</a>&#160;|</li>
+       <!-- <li><a href="{{ pathto('contents') }}">Documentation</a> 
&#187;</li>-->
 {% endblock %}
 
 {% block header %}
diff --git a/doc/themes/efldoc/static/efl.css b/doc/themes/efldoc/static/efl.css
index 68d6dd3..e093314 100644
--- a/doc/themes/efldoc/static/efl.css
+++ b/doc/themes/efldoc/static/efl.css
@@ -6,13 +6,7 @@
  *
  *  Originally based on sphinx13 theme.
  *
- *  All the modification done from the s13 theme are marked with the original
- *  value in a comment, new tags are marked with an empty comment, removed tags
- *  are just commented out.
- *  This is usefull when something looks not so good as the original one to
- *  understand the reason.
- *
- * :copyright: Copyright 2013-2015 by the Python-EFL team, see AUTHORS.
+ * :copyright: Copyright 2013-2021 by the Python-EFL team, see AUTHORS.
  * :license: LGPL, see COPYING for details.
  *
  */
@@ -169,6 +163,7 @@ div.sphinxsidebar {
     float: right;
     font-size: 1em;
     text-align: left;
+    max-height: 0px;
 }
 
 div.sphinxsidebar .logo {
@@ -182,6 +177,16 @@ div.sphinxsidebar .logo img {
     vertical-align: middle;
 }
 
+div.sphinxsidebar .download a img {
+    vertical-align: middle;
+}
+
+div.subscribeformwrapper {
+    display: block;
+    overflow: auto;
+    margin-bottom: 1.2em;
+}
+
 div.sphinxsidebar input {
     border: 1px solid rgb(170,170,170);
     font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
@@ -189,6 +194,27 @@ div.sphinxsidebar input {
     font-size: 1em;
 }
 
+div.sphinxsidebar .subscribeform {
+    margin-top: 0;
+}
+
+div.sphinxsidebar .subscribeform input {
+    border: 1px solid #aaa;
+    font-size: 0.9em;
+    float: left;
+    padding: 0.25em 0.5em;
+    box-sizing: border-box;
+}
+
+div.sphinxsidebar .subscribeform input[type="text"] {
+    width: 60%;
+}
+
+div.sphinxsidebar .subscribeform input[type="submit"] {
+    width: 40%;
+    border-left: none;
+}
+
 div.sphinxsidebar h3 {
     font-size: 1.5em;
     border-top: 1px solid rgb(111,111,111); /*#0a507a;*/
@@ -315,6 +341,11 @@ a.headerlink:hover {
     color: white!important;
 }
 
+/* avoid font-size when :mod: role in headings */
+h1 code, h2 code, h3 code, h4 code {
+    font-size: inherit;
+}
+
 cite, code, tt {
     font-family: 'Consolas', 'DejaVu Sans Mono',
                  'Bitstream Vera Sans Mono', monospace;
@@ -322,12 +353,16 @@ cite, code, tt {
     letter-spacing: -0.02em;
 }
 
+table.deprecated code.literal {
+    word-break: break-all;
+}
+
 code, tt {
     background-color: rgb(51,51,51); /*#f2f2f2*/
     border: 1px solid rgb(32,32,32); /*#ddd*/
     border-radius: 3px;
     color: white; /*#333*/
-    padding: 1px;
+    padding: 1px 0.2em;
 }
 
 .descname, .descclassname, .xref {
@@ -361,7 +396,7 @@ a tt:hover, a code:hover{
 }
 
 pre {
-    font-family: 'Consolas', 'DejaVu Sans Mono',
+    font-family: 'Consolas', 'Courier New', 'DejaVu Sans Mono',
                  'Bitstream Vera Sans Mono', monospace;
     font-size: 13px;
     letter-spacing: 0.015em;
@@ -412,36 +447,38 @@ div.admonition, div.warning {
     padding: 0;
 }
 
-div.admonition p, div.warning p {
+div.admonition > p, div.warning > p {
     margin: 0.5em 1em 0.5em 1em;
     padding: 0;
 }
 
-div.admonition pre, div.warning pre {
+div.admonition > pre, div.warning > pre {
     margin: 0.4em 1em 0.4em 1em;
 }
 
-div.admonition p.admonition-title,
-div.warning p.admonition-title {
-    margin-top: 1em;
-    padding-top: 0.5em;
+div.admonition > p.admonition-title,
+div.warning > p.admonition-title {
+    margin-top: 0.5em;
     font-weight: bold;
 }
 
 div.warning {
     border-color: rgb(101,16,16); /*#940000*/
-    background-color: rgb(101,51,51); /*#FFCCCF*/
-}
-
-div.warning p.admonition-title {
+    /* background-color: rgb(101,51,51); /*#FFCCCF*/
 }
 
-div.admonition ul, div.admonition ol,
-div.warning ul, div.warning ol {
+div.admonition > ul,
+div.admonition > ol,
+div.warning > ul,
+div.warning > ol {
     margin: 0.1em 0.5em 0.5em 3em;
     padding: 0;
 }
 
+div.admonition div.highlight {
+    background: none;
+}
+
 .viewcode-back {
     font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
                  'Verdana', sans-serif;
@@ -453,6 +490,12 @@ div.viewcode-block:target {
     border-bottom: 1px solid rgb(170,204,153);
 }
 
+.contentstable {
+    margin-left: 30px;
+    margin: 0 auto;
+    table-layout: fixed;
+}
+
 dt:target, .highlighted { /* */
     background-color: rgb(251,229,78);
     background-image: url(hilight_background.png);
diff --git a/doc/themes/sphinx13/layout.html b/doc/themes/sphinx13/layout.html
index 69dd37f..b7f7c14 100644
--- a/doc/themes/sphinx13/layout.html
+++ b/doc/themes/sphinx13/layout.html
@@ -4,7 +4,7 @@
 
     Sphinx layout template for the sphinxdoc theme.
 
-    :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
+    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 #}
 {%- extends "basic/layout.html" %}
@@ -14,8 +14,8 @@
 {% block sidebar2 %}{% endblock %}
 
 {% block extrahead %}
-    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
-          rel='stylesheet' type='text/css'>
+    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
+          rel='stylesheet' type='text/css' />
 {{ super() }}
 {%- if not embedded %}
     <style type="text/css">
@@ -25,7 +25,7 @@
       .related { display: none; }
       {% endif %}
     </style>
-    <script type="text/javascript">
+    <script>
       // intelligent scrolling of the sidebar content
       $(window).scroll(function() {
         var sb = $('.sphinxsidebarwrapper');
@@ -57,17 +57,17 @@
 {% endblock %}
 
 {% block rootrellink %}
-        <li><a href="{{ pathto('index') }}">Sphinx home</a>&nbsp;|</li>
-        <li><a href="{{ pathto('contents') }}">Documentation</a> &raquo;</li>
+        <li><a href="{{ pathto('index') }}">Sphinx home</a>&#160;|</li>
+        <li><a href="{{ pathto('contents') }}">Documentation</a> &#187;</li>
 {% endblock %}
 
 {% block header %}
 <div class="pageheader">
   <ul>
     <li><a href="{{ pathto('index') }}">Home</a></li>
-    <li><a href="{{ pathto('install') }}">Get it</a></li>
+    <li><a href="{{ pathto('usage/installation') }}">Get it</a></li>
     <li><a href="{{ pathto('contents') }}">Docs</a></li>
-    <li><a href="{{ pathto('develop') }}">Extend/Develop</a></li>
+    <li><a href="{{ pathto('development/index') }}">Extend</a></li>
   </ul>
   <div>
     <a href="{{ pathto('index') }}">
diff --git a/doc/themes/sphinx13/static/sphinx13.css 
b/doc/themes/sphinx13/static/sphinx13.css
index bb81b67..c8fb2e5 100644
--- a/doc/themes/sphinx13/static/sphinx13.css
+++ b/doc/themes/sphinx13/static/sphinx13.css
@@ -4,7 +4,7 @@
  *
  * Sphinx stylesheet -- sphinx13 theme.
  *
- * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -127,6 +127,7 @@ div.sphinxsidebar {
     float: right;
     font-size: 1em;
     text-align: left;
+    max-height: 0px;
 }
 
 div.sphinxsidebar .logo {
@@ -140,11 +141,41 @@ div.sphinxsidebar .logo img {
     vertical-align: middle;
 }
 
+div.sphinxsidebar .download a img {
+    vertical-align: middle;
+}
+
+div.subscribeformwrapper {
+    display: block;
+    overflow: auto;
+    margin-bottom: 1.2em;
+}
+
 div.sphinxsidebar input {
     border: 1px solid #aaa;
     font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
                  'Verdana', sans-serif;
-    font-size: 1em;
+}
+
+div.sphinxsidebar .subscribeform {
+    margin-top: 0;
+}
+
+div.sphinxsidebar .subscribeform input {
+    border: 1px solid #aaa;
+    font-size: 0.9em;
+    float: left;
+    padding: 0.25em 0.5em;
+    box-sizing: border-box;
+}
+
+div.sphinxsidebar .subscribeform input[type="text"] {
+    width: 60%;
+}
+
+div.sphinxsidebar .subscribeform input[type="submit"] {
+    width: 40%;
+    border-left: none;
 }
 
 div.sphinxsidebar h3 {
@@ -208,7 +239,7 @@ div.footer a {
 
 /* -- body styles ----------------------------------------------------------- 
*/
 
-p {    
+p {
     margin: 0.8em 0 0.5em 0;
 }
 
@@ -269,6 +300,11 @@ a.headerlink:hover {
     color: white!important;
 }
 
+/* avoid font-size when :mod: role in headings */
+h1 code, h2 code, h3 code, h4 code {
+    font-size: inherit;
+}
+
 cite, code, tt {
     font-family: 'Consolas', 'DejaVu Sans Mono',
                  'Bitstream Vera Sans Mono', monospace;
@@ -276,12 +312,16 @@ cite, code, tt {
     letter-spacing: -0.02em;
 }
 
+table.deprecated code.literal {
+    word-break: break-all;
+}
+
 tt {
     background-color: #f2f2f2;
     border: 1px solid #ddd;
     border-radius: 2px;
     color: #333;
-    padding: 1px;
+    padding: 1px 0.2em;
 }
 
 tt.descname, tt.descclassname, tt.xref {
@@ -303,7 +343,7 @@ a tt:hover {
 }
 
 pre {
-    font-family: 'Consolas', 'DejaVu Sans Mono',
+    font-family: 'Consolas', 'Courier New', 'DejaVu Sans Mono',
                  'Bitstream Vera Sans Mono', monospace;
     font-size: 13px;
     letter-spacing: 0.015em;
@@ -354,36 +394,37 @@ div.admonition, div.warning {
     padding: 0;
 }
 
-div.admonition p, div.warning p {
+div.admonition > p, div.warning > p {
     margin: 0.5em 1em 0.5em 1em;
     padding: 0;
 }
 
-div.admonition pre, div.warning pre {
+div.admonition > pre, div.warning > pre {
     margin: 0.4em 1em 0.4em 1em;
 }
 
-div.admonition p.admonition-title,
-div.warning p.admonition-title {
-    margin-top: 1em;
-    padding-top: 0.5em;
+div.admonition > p.admonition-title,
+div.warning > p.admonition-title {
+    margin-top: 0.5em;
     font-weight: bold;
 }
 
 div.warning {
     border: 1px solid #940000;
-/*    background-color: #FFCCCF;*/
-}
-
-div.warning p.admonition-title {
 }
 
-div.admonition ul, div.admonition ol,
-div.warning ul, div.warning ol {
+div.admonition > ul,
+div.admonition > ol,
+div.warning > ul,
+div.warning > ol {
     margin: 0.1em 0.5em 0.5em 3em;
     padding: 0;
 }
 
+div.admonition div.highlight {
+    background: none;
+}
+
 .viewcode-back {
     font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
                  'Verdana', sans-serif;
@@ -394,3 +435,9 @@ div.viewcode-block:target {
     border-top: 1px solid #ac9;
     border-bottom: 1px solid #ac9;
 }
+
+.contentstable {
+    margin-left: 30px;
+    margin: 0 auto;
+    table-layout: fixed;
+}

-- 


Reply via email to