diff --git a/balkiantheme/static/css/main-desktop.css b/balkiantheme/static/css/main-desktop.css index 348b99e..8189e66 100755 --- a/balkiantheme/static/css/main-desktop.css +++ b/balkiantheme/static/css/main-desktop.css @@ -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; } diff --git a/balkiantheme/static/css/main-medium.css b/balkiantheme/static/css/main-medium.css index 503b0c6..055ba3f 100644 --- a/balkiantheme/static/css/main-medium.css +++ b/balkiantheme/static/css/main-medium.css @@ -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; diff --git a/balkiantheme/static/css/main.css b/balkiantheme/static/css/main.css index 1ae62c1..030430b 100755 --- a/balkiantheme/static/css/main.css +++ b/balkiantheme/static/css/main.css @@ -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; } diff --git a/balkiantheme/templates/base.html b/balkiantheme/templates/base.html index ae0bd86..387692b 100644 --- a/balkiantheme/templates/base.html +++ b/balkiantheme/templates/base.html @@ -41,20 +41,8 @@ {% endif %} {% endfor %}
  • - CV + CV
  • - - - - - - - - - - - - diff --git a/content/2013-08-17-creating-my-web.rst b/content/2013-08-17-creating-my-web.rst index 9c01661..ad04040 100644 --- a/content/2013-08-17-creating-my-web.rst +++ b/content/2013-08-17-creating-my-web.rst @@ -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 diff --git a/content/2014-03-27-updating-eurolovemap.rst b/content/2014-03-27-updating-eurolovemap.rst index a750bb3..9458f45 100644 --- a/content/2014-03-27-updating-eurolovemap.rst +++ b/content/2014-03-27-updating-eurolovemap.rst @@ -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 `_. + + Publishing a Python 3 app on Heroku ----------------------------------- -`seen here `__ - .. code-block:: bash mkvirtualenv -p /usr/bin/python3.3 eurolovemap diff --git a/content/2014-09-23-publishing-in-pypi.rst b/content/2014-09-23-publishing-in-pypi.rst index accdeea..7a37ecf 100644 --- a/content/2014-09-23-publishing-in-pypi.rst +++ b/content/2014-09-23-publishing-in-pypi.rst @@ -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