Permalink
Browse files

Create gh-pages branch via GitHub

  • Loading branch information...
1 parent 6877b48 commit 1b429382302d11410eea6fa3d54bcf244d43c1ec @netatoo committed Mar 1, 2013
Showing with 342 additions and 176 deletions.
  1. BIN images/arrow-down.png
  2. BIN images/octocat-small.png
  3. +35 −30 index.html
  4. +20 −17 javascripts/scale.fix.js
  5. +1 −1 params.json
  6. +286 −128 stylesheets/styles.css
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -7,6 +7,7 @@
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
+ <script src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@@ -15,60 +16,65 @@
<body>
<div class="wrapper">
<header>
- <h1>Phoenix-theme</h1>
- <p>Dark &amp; Light custom UI themes with colors variations for Sublime Text 2</p>
-
- <p class="view"><a href="https://github.com/netatoo/phoenix-theme">View the Project on GitHub <small>netatoo/phoenix-theme</small></a></p>
-
+ <h1 class="header">Phoenix-theme</h1>
+ <p class="header">Dark &amp; Light custom UI themes with colors variations for Sublime Text 2</p>
<ul>
- <li><a href="https://github.com/netatoo/phoenix-theme/zipball/master">Download <strong>ZIP File</strong></a></li>
- <li><a href="https://github.com/netatoo/phoenix-theme/tarball/master">Download <strong>TAR Ball</strong></a></li>
- <li><a href="https://github.com/netatoo/phoenix-theme">View On <strong>GitHub</strong></a></li>
+ <li class="download"><a class="buttons" href="https://github.com/netatoo/phoenix-theme/zipball/master">Download ZIP</a></li>
+ <li class="download"><a class="buttons" href="https://github.com/netatoo/phoenix-theme/tarball/master">Download TAR</a></li>
+ <li><a class="buttons github" href="https://github.com/netatoo/phoenix-theme">View On GitHub</a></li>
</ul>
+
+ <p class="header">This project is maintained by <a class="header name" href="https://github.com/netatoo">netatoo</a></p>
+
+
</header>
<section>
- <h2>Design &amp; Colors</h2>
+ <h1>Phoenix Theme</h1>
+
+<p>Dark &amp; Light custom UI themes with colors variations for Sublime Text 2</p>
+
+<h2>Design &amp; Colors</h2>
<h3>Light Theme</h3>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Light.png?v=5" alt="Phoenix Light Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Light.png?v=5" alt="Phoenix Light Theme"></p>
<h5>Light Blue</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Light-Blue.png?v=5" alt="Phoenix Light Blue Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Light-Blue.png?v=5" alt="Phoenix Light Blue Theme"></p>
<h5>Light Dark Blue</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Light-DarkBlue.png?v=2" alt="Phoenix Light Dark Blue Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Light-DarkBlue.png?v=2" alt="Phoenix Light Dark Blue Theme"></p>
<h3>Dark Theme</h3>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark.png?v=6" alt="Phoenix Dark Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark.png?v=6" alt="Phoenix Dark Theme"></p>
<h5>Dark Green</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Green.png?v=4" alt="Phoenix Dark Green Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Green.png?v=4" alt="Phoenix Dark Green Theme"></p>
<h5>Dark Blue</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Blue.png?v=4" alt="Phoenix Dark Blue Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Blue.png?v=4" alt="Phoenix Dark Blue Theme"></p>
<h5>Dark Red</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Red.png?v=4" alt="Phoenix Dark Red Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Red.png?v=4" alt="Phoenix Dark Red Theme"></p>
<h5>Dark Pink</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Pink.png?v=4" alt="Phoenix Dark Pink Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Pink.png?v=4" alt="Phoenix Dark Pink Theme"></p>
<h5>Dark Orange</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Orange.png?v=6" alt="Phoenix Dark Orange Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Orange.png?v=6" alt="Phoenix Dark Orange Theme"></p>
<h5>Dark Yellow</h5>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Yellow.png?v=4" alt="Phoenix Dark Yellow Theme"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Yellow.png?v=4" alt="Phoenix Dark Yellow Theme"></p>
<h2>Todo's</h2>
@@ -138,7 +144,7 @@
<pre><code>"phoenix_highlight_current_tab": true
</code></pre>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Highlight-Current-Tab.png?v=2" alt="Phoenix Dark Highlight Current Tab"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Highlight-Current-Tab.png?v=2" alt="Phoenix Dark Highlight Current Tab"></p>
<h2>Eighties mode for selected tab</h2>
@@ -147,7 +153,7 @@
<pre><code>"phoenix_eighties": true
</code></pre>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dark-Eighties.png?v=1" alt="Phoenix Dark Eighties Current Tab"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dark-Eighties.png?v=1" alt="Phoenix Dark Eighties Current Tab"></p>
<h2>Solid selected tabs</h2>
@@ -156,7 +162,7 @@
<pre><code>"phoenix_solid_current_tab": true
</code></pre>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Solid-Current-Tab.png?v=2" alt="Phoenix Dark Solid Current Tab"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Solid-Current-Tab.png?v=2" alt="Phoenix Dark Solid Current Tab"></p>
<h2>Alternate dirty state for inactive tabs</h2>
@@ -170,7 +176,7 @@
<pre><code>"phoenix_dirty_bottom_bar_red": true
</code></pre>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Dirty-State.png?v=2" alt="Phoenix Dark Dirty State"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Dirty-State.png?v=2" alt="Phoenix Dark Dirty State"></p>
<h2>Adjust row's height on sidebar tree</h2>
@@ -181,7 +187,7 @@
<p>For now, five additionnal height are available : <code>xsmall</code>, <code>small</code>, <code>medium</code>, <code>large</code>, and <code>xlarge</code></p>
-<p><img src="http://netatoo.net/phoenix/Phoenix-Sidebar-Tree.png?v=1" alt="Phoenix Sidebar Tree"></p>
+<p><img src="http://ballejaune.net/phoenix/Phoenix-Sidebar-Tree.png?v=1" alt="Phoenix Sidebar Tree"></p>
<h2>Colorize opened folders on Dark Theme</h2>
@@ -221,12 +227,12 @@
<h4>Clouds Midnight</h4>
<p>Original theme : (<a href="http://fredhq.com/projects/clouds">http://fredhq.com/projects/clouds</a>)
-<img src="http://netatoo.net/phoenix/Phoenix-CloudsMidnightScheme.png?v=2" alt="Phoenix Dark Clouds Midnight"></p>
+<img src="http://ballejaune.net/phoenix/Phoenix-CloudsMidnightScheme.png?v=2" alt="Phoenix Dark Clouds Midnight"></p>
<h4>Tomorrow Night</h4>
<p>Original theme : (<a href="https://github.com/chriskempson/Tomorrow-Theme">https://github.com/chriskempson/Tomorrow-Theme</a>)
-<img src="http://netatoo.net/phoenix/Phoenix-TomorrowScheme.png?v=2" alt="Phoenix Dark Tomorrow Night"></p>
+<img src="http://ballejaune.net/phoenix/Phoenix-TomorrowScheme.png?v=2" alt="Phoenix Dark Tomorrow Night"></p>
<h3>Retina Resolution UI</h3>
@@ -241,12 +247,11 @@
<p>Based on Soda Theme by Ian Hill (<a href="http://buymeasoda.com/">http://buymeasoda.com/</a>)</p>
</section>
<footer>
- <p>This project is maintained by <a href="https://github.com/netatoo">netatoo</a></p>
- <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
+ <p><small>Hosted on <a href="https://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
</footer>
</div>
- <script src="javascripts/scale.fix.js"></script>
- <script type="text/javascript">
+ <!--[if !IE]><script>fixScale(document);</script><![endif]-->
+ <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
@@ -1,17 +1,20 @@
-var metas = document.getElementsByTagName('meta');
-var i;
-if (navigator.userAgent.match(/iPhone/i)) {
- for (i=0; i<metas.length; i++) {
- if (metas[i].name == "viewport") {
- metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
- }
- }
- document.addEventListener("gesturestart", gestureStart, false);
-}
-function gestureStart() {
- for (i=0; i<metas.length; i++) {
- if (metas[i].name == "viewport") {
- metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
- }
- }
-}
+fixScale = function(doc) {
+
+ var addEvent = 'addEventListener',
+ type = 'gesturestart',
+ qsa = 'querySelectorAll',
+ scales = [1, 1],
+ meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
+
+ function fix() {
+ meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
+ doc.removeEventListener(type, fix, true);
+ }
+
+ if ((meta = meta[meta.length - 1]) && addEvent in doc) {
+ fix();
+ scales = [.25, 1.6];
+ doc[addEvent](type, fix, true);
+ }
+
+};
Oops, something went wrong.

0 comments on commit 1b42938

Please sign in to comment.