diff --git a/_layouts/default.html b/_layouts/default.html index e386822c267af719fcf15de08e7e68dbe73430c8..e2d50489e958c7ba27e4ad7dc5deefb2ff341406 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,32 +16,34 @@ <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu"> </head> <body> - <header id="title"> - <h1> - Murukesh Mohanan - </h1> - </header> - <nav> - <ul> - {% for page in site.pages_list %} - <a href="{{ site.base-url }}/{{ page[1] }}#main"> - <li> - {{ page[0] }} - </li> + <div id="container"> + <header id="title"> + <h1> + Murukesh Mohanan + </h1> + </header> + <nav> + <ul> + {% for page in site.pages_list %} + <a href="{{ site.base-url }}/{{ page[1] }}#main"> + <li> + {{ page[0] }} + </li> + </a> + {% endfor %} + </ul> + </nav> + <div id="vim-proposal"> + <a href="http://vi.stackexchange.com"> + <img src="http://i.stack.imgur.com/LMMOe.png" alt="Vi and Vim Stack Exchange" /> </a> - {% endfor %} - </ul> - </nav> - <div id="vim-proposal"> - <a href="http://vi.stackexchange.com"> - <img src="http://i.stack.imgur.com/LMMOe.png" alt="Vi and Vim Stack Exchange" /> - </a> - </div> - <article id="main"> + </div> + <article id="main"> - {{ content }} + {{ content }} - </article> + </article> + </div> <footer> <section> <!-- Copyleft FTW! --> diff --git a/_layouts/post.html b/_layouts/post.html index 1fb586cb811268496897dff20c00ca4597def456..b9f2092fc08afe09cb026ef851ed6f1a38c39cc7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,7 +2,7 @@ layout: default pagestyle: posts --- -<!--<div id="fb-root"></div> +<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; @@ -10,7 +10,6 @@ pagestyle: posts js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> ---> <header class="section post-title"> <h1> <a href="{{ site.base-url }}{{ page.url }}"> @@ -40,13 +39,13 @@ pagestyle: posts {% endfor %} <section class="comments"> -<!-- <div class="fb-comments" data-href="{{site.myurl}}{{page.url}}" data-width="100%" data-numposts="10" - data-colorscheme="dark"></div> ---> + data-colorscheme="dark"> +</div> +<!-- <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES * * */ @@ -61,5 +60,6 @@ pagestyle: posts (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> -<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> +--> +<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript> </section> diff --git a/resources.md b/resources.md index b89a0ad0e75d9b101cf8649812f45f3bf092a557..7a3d1ac44a2b9817100eae0f2f2767e55c174d50 100644 --- a/resources.md +++ b/resources.md @@ -47,15 +47,17 @@ You might wanna update some of the plugins inside `.vim/bundle`: # Some scripts {#scripts} - [`curlwc.sh`](https://github.com/murukeshm/scripts/blob/master/curlwc.sh): -This script uses [curl(1)](http://manpages.ubuntu.com/curl.1) to download the target file in parts. Not very robust. +This script uses [curl(1)](http://manpages.ubuntu.com/curl.1) to download the +target file in parts. Not very robust. - [`mtcd.sh`](https://github.com/murukeshm/scripts/blob/master/mtcd.sh): -This script mounts all arguments in directories within `~/cdrom` (as ISO9660 images), and also handles unmounting. +This script mounts all arguments in directories within `~/cdrom` (as ISO9660 +images), and also handles unmounting. These and more can be found on my scripts repo. [Github](https://github.com/murukeshm/scripts) <!-- section --> -# CV [CSE Git](https://git.cse.iitb.ac.in/murukesh/cv) +# CV [CSE Git](https://git.cse.iitb.ac.in/murukesh/cv) {#cv} A CV template in LaTeX (modified from one obtained online, original included): - (outdated) tarball: [CV-LaTeX.tar.gz]({{ site.base-url }}/files/CV-LaTeX.tar.gz) diff --git a/styles/style.css b/styles/style.css index fcc929e40f3de6874553325a809c48080b427217..3b70eeaec77440efe05d8bf925f755641c898152 100644 --- a/styles/style.css +++ b/styles/style.css @@ -9,6 +9,10 @@ color: whitesmoke; } +#container { + min-height: 80vh; +} + /** The #main div is given a min-height so that it isn't * squished on pages with little content, or for displays * that are tall (like phones in portrait mode). @@ -17,7 +21,6 @@ */ #main { padding: 1em 2em; - min-height: 80vh; /*margin-left: 15%; float: right; display: inline-block;*/ @@ -94,6 +97,7 @@ body { background-color: #B0BEC5; /*#CCCCCC;*/ width: 100%; /* width: 60em;*/ + min-height: 100vh; } /*h1 { font-size: 2em;