mirror of
https://github.com/balkian/balkian.github.com.git
synced 2024-11-12 22:52:29 +00:00
Minor CSS fixes and markdown2rst.
This commit is contained in:
parent
d9e3d07c14
commit
e28bd8ac94
@ -239,16 +239,6 @@ div.navbar {
|
||||
color: #c00;
|
||||
}
|
||||
|
||||
.postnav {
|
||||
height: 1em;
|
||||
width: 100%;
|
||||
padding: 15px 9px;
|
||||
margin-left: -10px;
|
||||
background-color: white;
|
||||
text-align: right;
|
||||
border: dashed 1px #AAA;
|
||||
}
|
||||
|
||||
.previouspost {
|
||||
float: left;
|
||||
}
|
||||
|
@ -240,47 +240,11 @@ a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.postnav {
|
||||
height: 1em;
|
||||
width: 100%;
|
||||
padding: 15px 9px;
|
||||
margin-left: -10px;
|
||||
background-color: white;
|
||||
text-align: right;
|
||||
border: dashed 1px #AAA;
|
||||
}
|
||||
|
||||
.previouspost {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
.pagination {
|
||||
position: relative;
|
||||
height: 1em;
|
||||
width: 50%;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
background-color: #FFF;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.pag-top{
|
||||
/*margin: -9px auto;*/
|
||||
/*margin-bottom 0;*/
|
||||
/*border-radius: 0 0 15px 15px;*/
|
||||
/*border: dashed 1px #AAA;*/
|
||||
/*border-top-width: 0;*/
|
||||
}
|
||||
|
||||
.pag-bottom {
|
||||
bottom: -10px;
|
||||
/*margin: 0 auto;*/
|
||||
/*border-radius: 15px 15px 0 0;*/
|
||||
/*border: dashed 1px #AAA;*/
|
||||
/*border-bottom-width: 0;*/
|
||||
}
|
||||
|
||||
about ul {
|
||||
position: relative;
|
||||
width: 900px;
|
||||
|
@ -110,6 +110,14 @@ footer a:hover {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.postnav {
|
||||
height: 1em;
|
||||
width: 100%;
|
||||
padding: 15px 9px;
|
||||
margin-left: -10px;
|
||||
background-color: white;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.nextpost, .nextpage {
|
||||
float: right;
|
||||
@ -119,6 +127,22 @@ footer a:hover {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pag-top{
|
||||
/*margin: -9px auto;*/
|
||||
/*margin-bottom 0;*/
|
||||
/*border-radius: 0 0 15px 15px;*/
|
||||
/*border: dashed 1px #AAA;*/
|
||||
/*border-top-width: 0;*/
|
||||
}
|
||||
|
||||
.pag-bottom {
|
||||
bottom: -10px;
|
||||
/*margin: 0 auto;*/
|
||||
/*border-radius: 15px 15px 0 0;*/
|
||||
/*border: dashed 1px #AAA;*/
|
||||
/*border-bottom-width: 0;*/
|
||||
}
|
||||
|
||||
#social {
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
@ -200,21 +224,19 @@ footer a:hover {
|
||||
text-align: center;
|
||||
background-color: #FFF;
|
||||
z-index: 0;
|
||||
text-weight: bold;
|
||||
color: #AAA;
|
||||
}
|
||||
|
||||
.pag-top{
|
||||
margin: -9px auto;
|
||||
margin-bottom: 0;
|
||||
border-radius: 0 0 15px 15px;
|
||||
border: dashed 1px #AAA;
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.pag-bottom {
|
||||
bottom: -10px;
|
||||
margin: 0 auto;
|
||||
border-radius: 15px 15px 0 0;
|
||||
border: dashed 1px #AAA;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
|
@ -41,20 +41,8 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li>
|
||||
<a href="//jfernando.es" target="_">CV</a>
|
||||
<a href="//jfernando.es" target="_blank">CV</a>
|
||||
</li>
|
||||
<!--<li class="dropdown">-->
|
||||
<!--<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>-->
|
||||
<!--<ul class="dropdown-menu">-->
|
||||
<!--<li><a href="#">Action</a></li>-->
|
||||
<!--<li><a href="#">Another action</a></li>-->
|
||||
<!--<li><a href="#">Something else here</a></li>-->
|
||||
<!--<li class="divider"></li>-->
|
||||
<!--<li class="dropdown-header">Nav header</li>-->
|
||||
<!--<li><a href="#">Separated link</a></li>-->
|
||||
<!--<li><a href="#">One more separated link</a></li>-->
|
||||
<!--</ul>-->
|
||||
<!--</li>-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -39,6 +39,9 @@ clone and deploy it easily like this:
|
||||
https://github.com/balkian/balkian.github.com cd balkian.github.com
|
||||
jekyll serve -w
|
||||
|
||||
I will keep updating this post with information about: \* Some Jekyll
|
||||
plugins that might be useful \* What CSS tricks I learnt \* The webfonts
|
||||
I used \* The badge on the left side of the page
|
||||
I will keep updating this post with information about:
|
||||
|
||||
* Some Jekyll plugins that might be useful
|
||||
* What CSS tricks I learnt
|
||||
* The webfonts I used
|
||||
* The badge on the left side of the page
|
||||
|
@ -26,11 +26,12 @@ new technologies and improve it:
|
||||
- Automatic generation of fake personal data to test the interface
|
||||
- Obfuscation of personal emails
|
||||
|
||||
The result can be `seen here <http://eurolovemap.herokuapp.com/>`_.
|
||||
|
||||
|
||||
Publishing a Python 3 app on Heroku
|
||||
-----------------------------------
|
||||
|
||||
`seen here <http://eurolovemap.herokuapp.com/>`__
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
mkvirtualenv -p /usr/bin/python3.3 eurolovemap
|
||||
|
@ -23,7 +23,7 @@ memorability over describing the functionality.
|
||||
Create a .pypirc configuration file
|
||||
-----------------------------------
|
||||
|
||||
.. code:: cfg
|
||||
.. code-block:: cfg
|
||||
|
||||
[distutils] # this tells distutils what package indexes you can push to
|
||||
index-servers =
|
||||
@ -47,6 +47,7 @@ The usernames and passwords might be different, that is up to you!
|
||||
|
||||
Prepare your package
|
||||
--------------------
|
||||
This should be the structure:
|
||||
|
||||
::
|
||||
|
||||
@ -64,7 +65,7 @@ Prepare your package
|
||||
setup.cfg
|
||||
~~~~~~~~~
|
||||
|
||||
.. code:: cfg
|
||||
.. code-block:: cfg
|
||||
|
||||
[metadata]
|
||||
description-file = README.md
|
||||
@ -75,21 +76,27 @@ also use rST (reStructuredText), the standard in the python community.
|
||||
setup.py
|
||||
~~~~~~~~
|
||||
|
||||
{% highlight python %} from distutils.core import setup setup( name =
|
||||
'mypackage', packages = ['mypackage'], # this must be the same as the
|
||||
name above version = '{ version }', description = '{ description }',
|
||||
author = '{ name }', author\_email = '{ email }', url =
|
||||
'https://github.com/{user}/{package}', # URL to the github repo
|
||||
download\_url = 'https://github.com/{user}/{repo}/tarball/{version}',
|
||||
keywords = ['websockets', 'display', 'd3'], # list of keywords that
|
||||
represent your package classifiers = [], ) {% endhighlight %}
|
||||
.. code-block:: python
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
setup(name = 'mypackage',
|
||||
packages = ['mypackage'], # this must be the same as the name above
|
||||
version = '{ version }',
|
||||
description = '{ description }',
|
||||
author = '{ name }',
|
||||
email = '{ email }',
|
||||
url = 'https://github.com/{user}/{package}', # URL to the github repo
|
||||
download\_url = 'https://github.com/{user}/{repo}/tarball/{version}',
|
||||
keywords = ['websockets', 'display', 'd3'], # list of keywords that represent your package
|
||||
classifiers = [], )
|
||||
|
||||
You might notice that the download\_url points to a Github URL. We could
|
||||
host our package anywhere, but Github is a convenient option. To create
|
||||
the tarball and the zip packages, you only need to tag a tag in your
|
||||
repository and push it to github:
|
||||
|
||||
::
|
||||
.. code-block:: bash
|
||||
|
||||
git tag {version} -m "{ Description of this tag/version}"
|
||||
git push --tags origin master
|
||||
|
Loading…
Reference in New Issue
Block a user