1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-14 15:42:28 +00:00

Minor CSS fixes and markdown2rst.

This commit is contained in:
J. Fernando Sánchez 2015-12-08 01:40:08 +01:00
parent d9e3d07c14
commit e28bd8ac94
7 changed files with 54 additions and 79 deletions

View File

@ -239,16 +239,6 @@ div.navbar {
color: #c00; color: #c00;
} }
.postnav {
height: 1em;
width: 100%;
padding: 15px 9px;
margin-left: -10px;
background-color: white;
text-align: right;
border: dashed 1px #AAA;
}
.previouspost { .previouspost {
float: left; float: left;
} }

View File

@ -240,47 +240,11 @@ a {
text-decoration: none; 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 { .previouspost {
float: left; 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 { about ul {
position: relative; position: relative;
width: 900px; width: 900px;

View File

@ -110,6 +110,14 @@ footer a:hover {
padding-left: 0.5em; padding-left: 0.5em;
} }
.postnav {
height: 1em;
width: 100%;
padding: 15px 9px;
margin-left: -10px;
background-color: white;
text-align: right;
}
.nextpost, .nextpage { .nextpost, .nextpage {
float: right; float: right;
@ -119,6 +127,22 @@ footer a:hover {
float: left; 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 { #social {
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
@ -200,21 +224,19 @@ footer a:hover {
text-align: center; text-align: center;
background-color: #FFF; background-color: #FFF;
z-index: 0; z-index: 0;
text-weight: bold;
color: #AAA;
} }
.pag-top{ .pag-top{
margin: -9px auto; margin: -9px auto;
margin-bottom: 0; margin-bottom: 0;
border-radius: 0 0 15px 15px;
border: dashed 1px #AAA;
border-top-width: 0; border-top-width: 0;
} }
.pag-bottom { .pag-bottom {
bottom: -10px; bottom: -10px;
margin: 0 auto; margin: 0 auto;
border-radius: 15px 15px 0 0;
border: dashed 1px #AAA;
border-bottom-width: 0; border-bottom-width: 0;
} }

View File

@ -41,20 +41,8 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<li> <li>
<a href="//jfernando.es" target="_">CV</a> <a href="//jfernando.es" target="_blank">CV</a>
</li> </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> </ul>
</div> </div>
</div> </div>

View File

@ -39,6 +39,9 @@ clone and deploy it easily like this:
https://github.com/balkian/balkian.github.com cd balkian.github.com https://github.com/balkian/balkian.github.com cd balkian.github.com
jekyll serve -w jekyll serve -w
I will keep updating this post with information about: \* Some Jekyll I will keep updating this post with information about:
plugins that might be useful \* What CSS tricks I learnt \* The webfonts
I used \* The badge on the left side of the page * 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

View File

@ -26,11 +26,12 @@ new technologies and improve it:
- Automatic generation of fake personal data to test the interface - Automatic generation of fake personal data to test the interface
- Obfuscation of personal emails - Obfuscation of personal emails
The result can be `seen here <http://eurolovemap.herokuapp.com/>`_.
Publishing a Python 3 app on Heroku Publishing a Python 3 app on Heroku
----------------------------------- -----------------------------------
`seen here <http://eurolovemap.herokuapp.com/>`__
.. code-block:: bash .. code-block:: bash
mkvirtualenv -p /usr/bin/python3.3 eurolovemap mkvirtualenv -p /usr/bin/python3.3 eurolovemap

View File

@ -23,7 +23,7 @@ memorability over describing the functionality.
Create a .pypirc configuration file Create a .pypirc configuration file
----------------------------------- -----------------------------------
.. code:: cfg .. code-block:: cfg
[distutils] # this tells distutils what package indexes you can push to [distutils] # this tells distutils what package indexes you can push to
index-servers = index-servers =
@ -47,6 +47,7 @@ The usernames and passwords might be different, that is up to you!
Prepare your package Prepare your package
-------------------- --------------------
This should be the structure:
:: ::
@ -64,7 +65,7 @@ Prepare your package
setup.cfg setup.cfg
~~~~~~~~~ ~~~~~~~~~
.. code:: cfg .. code-block:: cfg
[metadata] [metadata]
description-file = README.md description-file = README.md
@ -75,21 +76,27 @@ also use rST (reStructuredText), the standard in the python community.
setup.py setup.py
~~~~~~~~ ~~~~~~~~
{% highlight python %} from distutils.core import setup setup( name = .. code-block:: python
'mypackage', packages = ['mypackage'], # this must be the same as the
name above version = '{ version }', description = '{ description }', from distutils.core import setup
author = '{ name }', author\_email = '{ email }', url =
'https://github.com/{user}/{package}', # URL to the github repo 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}', download\_url = 'https://github.com/{user}/{repo}/tarball/{version}',
keywords = ['websockets', 'display', 'd3'], # list of keywords that keywords = ['websockets', 'display', 'd3'], # list of keywords that represent your package
represent your package classifiers = [], ) {% endhighlight %} classifiers = [], )
You might notice that the download\_url points to a Github URL. We could 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 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 the tarball and the zip packages, you only need to tag a tag in your
repository and push it to github: repository and push it to github:
:: .. code-block:: bash
git tag {version} -m "{ Description of this tag/version}" git tag {version} -m "{ Description of this tag/version}"
git push --tags origin master git push --tags origin master