Gloriously mobile-retina-ready docs

This commit is contained in:
Manuel Ebert 2013-10-23 07:30:57 -10:00
parent 3ee749c26c
commit 33e14d806d
6 changed files with 19 additions and 895 deletions

View file

@ -20,7 +20,7 @@
<div id="upper">
<a id="twitter" href="https://twitter.com/intent/tweet?text=Write+your+memoirs+on+the+command+line.+Like+a+boss.+%23jrnl&url=http%3A%2F%2Fmaebert.github.io%2Fjrnl&via=maebert">Tell your friends</a>
<div id="title">
<img id="logo" src="{{ pathto('_static/img/logo.png', 1) }}" title="jrnl"/>
<img id="logo" src="{{ pathto('_static/img/logo.png', 1) }}" width="90px" height="98px" title="jrnl"/>
<h1>Collect your thoughts and notes <br />without leaving the command line</h1>
</div>
<div id="prompt">
@ -77,7 +77,7 @@
</div>
<div class="footer">
Journal is made with love by {{ copyright }} and other fabulous people. If you need help, tweet to <a href="https://twitter.com/maebert" title="Follow @maebert on twitter">@maebert</a> or <a href="https://github.com/maebert/jrnl/issues/new" title="Open a new issue on Github">submit an issue</a> on Github.
{{ copyright }}
</div>
</div>

View file

@ -14,7 +14,7 @@
{%- block sidebar2 %}
<aside>
<a href="/" id="logolink" title="jrnl"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" title="jrnl"/></a>
<a href="/" id="logolink" title="jrnl"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" width="90px" height="98px" title="jrnl"/></a>
<h2>Documentation</h2>
{{ toctree() }}
{%- include "searchbox.html" %}
@ -23,7 +23,7 @@
{%- block footer %}
<div class="footer">
Journal is made with love by {{ copyright }} and other fabulous people. If you need help, tweet to <a href="https://twitter.com/maebert" title="Follow @maebert on twitter">@maebert</a> or <a href="https://github.com/maebert/jrnl/issues/new" title="Open a new issue on Github">submit an issue</a> on Github.
{{ copyright }}
</div>
{%- endblock %}
{% endif %}

File diff suppressed because one or more lines are too long

View file

@ -275,3 +275,13 @@ div.footer
}
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)
{
aside .logo, body#landing #upper #logo
{
width: 90px;
height: 98px;
content: url(../img/logo@2x.png);
}
}

View file

@ -293,6 +293,7 @@ body#landing
padding: 40px 20px;
.row3, .row4
{
margin: 0px;
width: auto;
}
.row3 .col, .row4 .col
@ -300,7 +301,8 @@ body#landing
float: none;
width: 100%;
text-align: center;
margin-bottom: 40px;
padding: 0px;
margin: 0 0 40px 0;
h3 {font-size: 1.5em;}
p {font-size: 1em;}

View file

@ -44,7 +44,7 @@ master_doc = 'index'
# General information about the project.
project = u'jrnl'
copyright = u'2013, <a href="http://www.1450.me">Manuel Ebert</a>'
copyright = u'Journal is made with love by <a href="http://www.1450.me">Manuel Ebert</a> and <a href="https://github.com/maebert/jrnl/graphs/contributors" title="Contributtors">other fabulous people</a>. If you need help, tweet to <a href="https://twitter.com/maebert" title="Follow @maebert on twitter">@maebert</a> or <a href="https://github.com/maebert/jrnl/issues/new" title="Open a new issue on Github">submit an issue</a> on Github.'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the