Officialâ„¢ mobile-friendly
authorKenneth Reitz <me@kennethreitz.com>
Sat, 5 Nov 2011 02:58:43 +0000 (22:58 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 5 Nov 2011 02:58:43 +0000 (22:58 -0400)
docs/_themes/kr/layout.html
docs/_themes/kr/static/flasky.css_t
docs/_themes/kr/static/small_flask.css

index 623e3ef..54221a9 100644 (file)
@@ -2,18 +2,20 @@
 {%- block extrahead %}
   {{ super() }}
   {% if theme_touch_icon %}
-  <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
+    <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
   {% endif %}
   <link media="only screen and (max-device-width: 480px)" href="{{
     pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
+  <script src="http://localhost:9000/target/target-script-min.js#anonymous"></script>
+  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
 {% endblock %}
 {%- block relbar2 %}{% endblock %}
 {%- block footer %}
     <div class="footer">
       &copy; Copyright {{ copyright }}.
     </div>
-    <a href="https://github.com/kennethreitz/requests">
-        <img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
+    <a href="https://github.com/kennethreitz/requests" class="github">
+        <img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"  class="github"/>
     </a>
     <script type="text/javascript">
 
index b7c3a2a..bb00e93 100644 (file)
@@ -395,9 +395,9 @@ a:hover tt {
 
     div.document {
        width: 100%;
-       
+
     }
-    
+
     div.documentwrapper {
        margin-left: 0;
        margin-top: 0;
@@ -432,7 +432,9 @@ a:hover tt {
        width: auto;
     }
 
-
+    .github {
+        display: none;
+    }
 
 }
 
index f6321f8..8d55e95 100644 (file)
@@ -77,42 +77,14 @@ div.body {
     width: auto;
 }
 
-
-/*
-div.sphinxsidebar {
-    display: none;
-}
-
-div.documentwrapper {
-       margin-left: 0;
-       margin-top: 0;
-       margin-right: 0;
-       margin-bottom: 0;
-}
-
-div.bodywrapper {
-       margin-top: 0;
-       margin-right: 0;
-       margin-bottom: 0;
-       margin-left: 0;
-}
-
-ul {
-       margin-left: 0;
-}
-
-
-
 .footer {
        width: auto;
 }
 
-.bodywrapper {
-       margin: 0;
-}
-
 .footer {
        width: auto;
 }
 
-*/
\ No newline at end of file
+.github {
+    display: none;
+}
\ No newline at end of file